tum-vision/fastfusion

Run Error

Opened this issue · 8 comments

Hi I successfully completed all the process. When I try to run the program I got this error

"*** Error in `./bin/onlinefusion': realloc(): invalid pointer: 0x00007f541ff83840 ***
Aborted (core dumped)"

@Fahimkh

I'm also seeing this issue, have you made any progress on this?

For anyone else that runs into this issue, it is caused by conflicts between Qt5 and Qt4. This is what I did to get it to run on Ubuntu 16.04

  • completely remove Qt5 (obviously not ideal, but until I figure out a workaround this was my only option)
  • install Qt4 via Synaptic or apt or whatever you prefer
  • Download qglviewer from: (http://www.libqglviewer.com/src/libQGLViewer-2.6.3.tar.gz)
    • Untar and cd into extracted folder
    • Run make and then sudo make install
    • Setup sym links so that ld can find and link qglviewer:
      • sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libQGLViewer.so
      • sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libQGLViewer-qt4.so
      • sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libqglviewer-qt4.so
  • Proceed to follow fastfusion build instructions as normal

For anyone else that runs into this issue, it is caused by conflicts between Qt5 and Qt4. This is what I did to get it to run on Ubuntu 16.04

* completely remove Qt5 (obviously not ideal, but until I figure out a workaround this was my only option)

* install Qt4 via Synaptic or apt or whatever you prefer

* Download qglviewer from: (http://www.libqglviewer.com/src/libQGLViewer-2.6.3.tar.gz)
  
  * Untar and cd into extracted folder
  * Run make and then sudo make install
  * Setup sym links so that ld can find and link qglviewer:
    
    * sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libQGLViewer.so
    * sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libQGLViewer-qt4.so
    * sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libqglviewer-qt4.so

* Proceed to follow fastfusion build instructions as nor

Thanks for suggestion. How you removed QT5 completely, I am still getting same error

For anyone else that runs into this issue, it is caused by conflicts between Qt5 and Qt4. This is what I did to get it to run on Ubuntu 16.04

* completely remove Qt5 (obviously not ideal, but until I figure out a workaround this was my only option)

* install Qt4 via Synaptic or apt or whatever you prefer

* Download qglviewer from: (http://www.libqglviewer.com/src/libQGLViewer-2.6.3.tar.gz)
  
  * Untar and cd into extracted folder
  * Run make and then sudo make install
  * Setup sym links so that ld can find and link qglviewer:
    
    * sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libQGLViewer.so
    * sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libQGLViewer-qt4.so
    * sudo ln -s /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so.2.6.3 /usr/lib/libqglviewer-qt4.so

* Proceed to follow fastfusion build instructions as nor

Thanks for suggestion. How you removed QT5 completely, I am still getting same error

do sudo apt-get purge --auto-remove qt5-default

I have the same problem, but the 3 steps unfortunately did not solve the problem for me...

@Regine1 have you sloved the problems, I meet the same problems with you after I try the 3 steps .

@tftangming I have solved this problem, you need to thoroughly uninstall Qt5.

is there any other solution ?? I dont wanna uninstall the qt5