[CMake] problem creating a library on mac
Mike Jackson
imikejackson at gmail.com
Thu Sep 27 19:30:16 EDT 2007
Are there actual implementations for the undefined functions? If
there are implementations, are they being skipped because of some
#define? Just some simple mistakes that I have made in the past.
also, is there an actual libskinmesh.a in the following location:
/Users/program/qtskinmesh/build/skinmesh
or
/Users/program/qtskinmesh/build/bin
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Sep 27, 2007, at 6:52 PM, Marie-Christine Vallet wrote:
> Linking CXX executable ../bin/mdi
> cd /Users/program/qtskinmesh/build/mdi && /usr/local/bin/cmake -P
> CMakeFiles/mdi.dir/cmake_clean_target.cmake
> cd /Users/program/qtskinmesh/build/mdi &&
> /opt/intel/cc/10.0.016/bin/icpc -O3 -mp1 -Kc++ -Dintel
> -headerpad_max_install_names -bind_at_load "CMakeFiles/mdi.dir/
> main.o"
> "CMakeFiles/mdi.dir/csbdmainwindow.o" "CMakeFiles/mdi.dir/
> csbdmdichild.o"
> "CMakeFiles/mdi.dir/moc_csbdmainwindow.o"
> "CMakeFiles/mdi.dir/moc_csbdmdichild.o"
> "CMakeFiles/mdi.dir/qrc_qt4skinmesh.o" -o ../bin/mdi -L/Users/
> program/qtskinmesh/build/skinmesh
> -L/Users/program/qtskinmesh/build/bin -L/usr/local/lib
> -L/usr/X11R6/lib -L/opt/intel/fc/10.0.016/lib -F/Library/Frameworks
> -framework QtGui -framework Carbon -framework QuickTime -framework
> QtXml
> -framework QtCore -lz -framework ApplicationServices -framework
> QtOpenGL
> -lQGLViewer -lgmp -lm -lGL -lGLU -lirc -limf -lifcore -lskinmesh -
> lgmp -lm
> -lGL -lGLU -lirc -limf -lifcore ld: warning multiple definitions of
> symbol _modf
> /opt/intel/cc/10.0.016/lib/libimf.a(modf_stub.o) definition of
> _modf in
> section (__TEXT,__text)
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libm.dylib
> (xmm_floor.o)
> definition of _modf
> ld: Undefined symbols:
> _tetra_zone_copy_
> _xyz_vertex_copy_
>
>
> and my Undefined symbols are all part of my newly created library
> skinmesh. What suprrisses me the most is that all that works on
> fedora core 6....
More information about the CMake
mailing list