-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I checked out grip2 and tried to install it on my workstation (Ubuntu 12.04, 64 bits).
INSTALLATION ISSUES :
ISSUE 1:
CMake was not able to find QGLWidget:
/usr/local/include/osgQt/GraphicsWindowQt:24:21: fatal error: QGLWidget: No such file or directory
PROPOSED FIX 1:
Line 35 of grip2/CMakeLists.txt: Add QtOpenGL as a required module:
find_package(Qt4 COMPONENTS QtCore QtGui Qt3Support QtXml QtOpenGL REQUIRED)
ISSUE 2:
Linking error (probably due to my 64-bit machine)
Linking CXX executable grip [ 95%] Building CXX object CMakeFiles/grip-core.dir/qtWidgets/src/TreeView.cpp.o /home/ana/Software/grip2/include/gripTime.h:86: error: undefined reference to 'clock_gettime'
PROPOSED FIX 2:
Add rt in the library linking on grip2/CMakeLists.txt, line 86
target_link_libraries(mainWindow ${project_libs} ${DART_LIBRARIES} rt )
EXECUTION ERROR
I was able then to compile and install. However, when I try to run grip, I get this ugly core dumped error:
`ObjectWrapperManager::addCompressor(): 'null' already exists.
ObjectWrapperManager::addCompressor(): 'zlib' already exists.
Threading model: 4 -- CullThreadPerCameraDrawThreadPerContext
grip: malloc.c:3801: _int_malloc: Assertion (unsigned long)(size) >= (unsigned long)(nb)' failed. Aborted (core dumped)
Any idea about how to fix it would be greatly appreciated.