Hi all,
There seems to be some cmake/opengl issue with manta on my oh-so- cool new macbook - at least when using the intel compiler. With gcc, everything runs through smoothly (so gl libs etc are all correctly installed, and the cmakefile specifies the right link dependencies), but when using icc (icc 10.0.something), I get the following error messages:Linking CXX shared library ../lib/libManta_Core_XUtils.dylib
cd /Users/ingowald/Projects/manta/icc/Core && /opt/local/bin/cmake -P CMakeFiles/Manta_Core_XUtils.dir/cmake_clean_target.cmake
cd /Users/ingowald/Projects/manta/icc/Core && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/Manta_Core_XUtils.dir/link.txt -- verbose=1
/opt/intel/cce/10.0.016/bin/icpc -Wall -DSCI_NOPERSISTENT -O3 -DNDEBUG -g -restrict -dynamiclib -headerpad_max_install_names - o ../lib/libManta_Core_XUtils.dylib -install_name /Users/ingowald/ Projects/manta/icc/lib/libManta_Core_XUtils.dylib "CMakeFiles/ Manta_Core_XUtils.dir/XUtils/XHelper.o" -L/Users/ingowald/Projects/ manta/icc/lib -L/usr/X11R6/lib -lManta_Core -lSCIRun_Core -lGLU - lGL -lX11 -lXext -lpthread
ipo: warning #11021: file format not recognized for /usr/X11R6/lib/ libGLU.dylib
ipo: warning #11021: file format not recognized for /usr/X11R6/lib/ libGL.dylib
ipo: warning #11021: file format not recognized for /usr/X11R6/lib/ libX11.dylib
ipo: warning #11021: file format not recognized for /usr/X11R6/lib/ libXext.dylib
xilibtool: executing 'libtool'
Undefined symbols:
_glGenLists, referenced from:
__ZN5Manta7XHelper9getGLFontEP11XFontStruct in XHelper.o
_glCallLists, referenced from:
__ZN5Manta7XHelper11printStringEjddPKcRKNS_8RGBColorE in XHelper.o
_glRasterPos2d, referenced from:
__ZN5Manta7XHelper11printStringEjddPKcRKNS_8RGBColorE in XHelper.o
_XTextExtents, referenced from:
__ZN5Manta7XHelper10calc_widthEP11XFontStructPKc in XHelper.o
_glColor3f, referenced from:
__ZN5Manta7XHelper11printStringEjddPKcRKNS_8RGBColorE in XHelper.o
_glPopAttrib, referenced from:
__ZN5Manta7XHelper11printStringEjddPKcRKNS_8RGBColorE in XHelper.o
_XLoadQueryFont, referenced from:
__ZN5Manta7XHelper10getX11FontEP9_XDisplayPKc in XHelper.o
_glPushAttrib, referenced from:
__ZN5Manta7XHelper11printStringEjddPKcRKNS_8RGBColorE in XHelper.o
_glListBase, referenced from:
__ZN5Manta7XHelper11printStringEjddPKcRKNS_8RGBColorE in XHelper.o
_glXUseXFont, referenced from:
__ZN5Manta7XHelper9getGLFontEP11XFontStruct in XHelper.o
ld64-62.1 failed: symbol(s) not found
libtool: internal link edit command failed
make[2]: *** [lib/libManta_Core_XUtils.dylib] Error 1
make[1]: *** [Core/CMakeFiles/Manta_Core_XUtils.dir/all] Error 2
make: *** [all] Error 2
Any ideas ?
Cheers,
Ingo
Archive powered by MHonArc 2.6.16.