Skip to content

CMake compiling error and core dumped #35

@ana-GT

Description

@ana-GT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions