I'm not sure if this is code that needs to be fixed, my computer that needs some updates, or some issue with cmake (I've never used cmake before), but when compiling using
CMAKE_BACKWARDS_COMPATIBILITY 2.0
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX /usr/local
SCENE_0 ON
SCENE_BARTREADER OFF
SCENE_PRIMTEST OFF
I get the following error when compiling with gcc 3.2.2:
Building object file Display/OpenGLDisplay.o...
c++ -o Display/OpenGLDisplay.o -DManta_Engine_EXPORTS -fPIC -I/home/sci/thiago/work/manta/trunk -I/home/sci/thiago/work/manta/trunk/SCIRun -I/home/sci/thiago/work/manta/trunk/SCIRun/include -DSCI_NOPERSISTENT -DSCI_NOTYPEDESCRIPTION -c /home/sci/thiago/work/manta/trunk/Engine/Display/OpenGLDisplay.cc
/home/sci/thiago/work/manta/trunk/Engine/Display/OpenGLDisplay.cc: In member
function `virtual void Manta::OpenGLDisplay::displayImage(const
Manta::DisplayContext&, const Manta::Image*)':
/home/sci/thiago/work/manta/trunk/Engine/Display/OpenGLDisplay.cc:205: use of `
Time' is ambiguous
/usr/include/X11/X.h:82: first declared as `typedef long unsigned int Time'
here
/home/sci/thiago/work/manta/trunk/SCIRun/Core/Thread/Time.h:61: also declared
as `class SCIRun::Time' here
/home/sci/thiago/work/manta/trunk/Engine/Display/OpenGLDisplay.cc:205: `Time'
denotes an ambiguous type
/home/sci/thiago/work/manta/trunk/Engine/Display/OpenGLDisplay.cc:205: confused by earlier errors, bailing out
make[3]: *** [Display/OpenGLDisplay.o] Error 1
make[3]: Leaving directory `/home/sci/thiago/work/manta/trunk/build/Engine'
make[2]: *** [default_target] Error 2
make[2]: Leaving directory `/home/sci/thiago/work/manta/trunk/build/Engine'
make[1]: *** [default_target_Engine] Error 2
make[1]: Leaving directory `/home/sci/thiago/work/manta/trunk/build'
make: *** [default_target] Error 2
If it's a computer thing, you might be able to recreate it by logging into maruti@sci and compiling it yourself...
Any suggestions for what to do? I don't want to just jump into the code and start hacking away if the code is fine...
Thanks,
Thiago
Archive powered by MHonArc 2.6.16.