View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002202 | CMake | CMake | public | 2005-09-01 11:58 | 2005-09-08 09:59 | ||||
Reporter | Mathieu Malaterre | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002202: CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS are not passed anymore | ||||||||
Description | Bug affect both 2.2 branch and CVS. In VTK to build dynamic library we overide the default to: SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} -Wl,-flat_namespace,-U,_environ") when build ftgl library here is the command line: Linking CXX shared library bin/libvtkftgl.dylib /Users/kitware/Dashboards/My\ Tests/CMake-gcc/bin/cmake -E remove -f bin/libvtkftgl.a bin/libvtkftgl.dylib.4.5.0 bin/libvtkftgl.dylib.4.5 bin/libvtkftgl.dylib c++ -dynamiclib -o bin/libvtkftgl.dylib.4.5.0 -install_name "`cd \`dirname bin/libvtkftgl.dylib.4.5.0\`;pwd`/libvtkftgl.dylib.4.5" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTCharmap.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTFace.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTFont.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGLBitmapFont.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGLBitmapFontRenderOpenGL.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGLPixmapFont.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGLPixmapFontRenderOpenGL.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGlyph.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGlyphContainer.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTLibrary.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTPixmapGlyph.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTPixmapGlyphRenderOpenGL.o" "Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTSize.o" -L/Users/kitware/Dashboards/My\ Tests/VTK-X11-gcc/bin -L/usr/X11R6/lib -lGL -lvtkfreetype -framework AppKit -lgcc -lgcc ld: Undefined symbols: _glBitmap _glDisable _glPixelStorei _glPopAttrib _glPopClientAttrib _glPushAttrib _glPushClientAttrib _glBlendFunc _glEnable _glDrawPixels _glGetFloatv /usr/bin/libtool: internal link edit command failed The CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS flag is obviously missing. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0002991) Bill Hoffman (manager) 2005-09-08 09:59 |
Fixed in CVS, and will be fixed in 2.2.1 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |