Hi Martin,

Looks like an interesting project and I'd like to try it out. However, I am having a small linker issue. I'm compiling with the following cmake options:

BUILD_CEGUI_WRAPPER              OFF
 BUILD_ENET_INTEGRATION           OFF
 BUILD_EXAMPLES                   ON
 BUILD_JAVASCRIPT_WRAPPERS        OFF
 BUILD_LIBROCKET                  OFF
 BUILD_PHYSX                      OFF
 BUILD_QT                         ON
 BUILD_TESTS                      OFF
 BUILD_WITH_DELTA3D               OFF
 BUILD_XERCES                     OFF
 CMAKE_BUILD_TYPE                 Release
 CMAKE_INSTALL_PREFIX             /usr/local
 OPENTHREADS_INCLUDE_DIR          /usr/local/include
 OSG_BUILD_DIR
 OSG_INCLUDE_DIRS                 /usr/local/include
OSG_LIBRARIES /usr/local/lib64/libOpenThreads.so;/usr/local/lib64/libosg.so;/usr/local/lib64/libosgAnimation.so;/usr/local/lib64/libosgDB.so;...
 OSG_ROOT_DIR
 QT_QMAKE_EXECUTABLE              /usr/local/qt4/bin/qmake
 USE_BOOST_POOL                   OFF
 UUID_INCLUDE_DIR                 /usr/include
 UUID_LIBRARY                     /usr/lib64/libuuid.so


The compile output is as follows:

% make
Linking CXX shared library ../../libdtEntity.so
[ 33%] Built target dtEntity
Linking CXX shared library ../../libdtEntitySimulation.so
[ 36%] Built target dtEntitySimulation
Linking CXX executable ../../bin/testDebugDrawManager
[ 37%] Built target testDebugDrawManager
Linking CXX executable ../../bin/testEntity
[ 38%] Built target testEntity
Linking CXX executable ../../bin/testWheels
[ 40%] Built target testWheels
Linking CXX shared library ../../libtestEntitySystemPlugin.so
[ 42%] Built target testEntitySystemPlugin
Linking CXX shared library ../../libdtEntityQtWidgets.so
[ 92%] Built target dtEntityQtWidgets
[ 93%] Generating __/__/include/dtEntityEditor/moc_editormainwindow.cxx
[ 94%] Generating __/__/include/dtEntityEditor/moc_editorapplication.cxx
Scanning dependencies of target dtEntityEditor
[ 95%] Building CXX object source/dtEntityEditor/CMakeFiles/dtEntityEditor.dir/editorapplication.cpp.o [ 96%] Building CXX object source/dtEntityEditor/CMakeFiles/dtEntityEditor.dir/editormainwindow.cpp.o [ 97%] Building CXX object source/dtEntityEditor/CMakeFiles/dtEntityEditor.dir/main.cpp.o [ 98%] Building CXX object source/dtEntityEditor/CMakeFiles/dtEntityEditor.dir/__/__/include/dtEntityEditor/moc_editorapplication.cxx.o [100%] Building CXX object source/dtEntityEditor/CMakeFiles/dtEntityEditor.dir/__/__/include/dtEntityEditor/moc_editormainwindow.cxx.o
Linking CXX executable ../../bin/dtEntityEditor
/usr/bin/ld: cannot find -ldtEntityWrappers
collect2: ld returned 1 exit status

Does this mean that I have to enable BUILD_CEGUI_WRAPPER and/or BUILD_JAVASCRIPT_WRAPPERS ? Or is there something else missing?

Build system:
CentOS 6.0
gcc 4.4.4

Best regards,
John

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to