g++ and Volumizer

New Message Reply Date view Thread view Subject view Author view

Sean Spicer (spicer@bme.stanford.edu)
Fri, 24 Mar 2000 14:09:55 -0800


Okay...so I'm kinda answering my own question. Grin.

I should have recognized this earlier, but one cannot build Volumizer apps
with g++. Why? Well, it has to do with a nifty little feature of C++
called name mangling.

In a nutshell, even if the Volumizer headers in 1.2 were g++ complient
(which they are not in the current release), any code you might build
would not be able to link to the appropriate symbole in libvo.so. This is
because libvo.so was compiled (and had it's names mangled by) a MipsPro
compiler. Your code compiled under g++ would have names mangled using the
g++ style. Unfortunately the MipsPro and GNU styles are not
compatible. So this is not going to work unless SGI provides a GNU built
version of libvo.so.

So my other question is moot.

I hope this helps everyone. grin.

sean

___________________________________________________________________________
Sean Spicer Stanford University Medical Center
Biomechanical Engineering Division of Vascular Surgery, Suite H3642
Cardiovascular Biomechanics Lab Stanford CA, 94305
                                  Telephone...650.723.1695
                                  Fax.........650.723.8762

             http://solvedeath.stanford.edu/~spicer
  


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Mar 24 2000 - 15:55:59 PST