tum-vision / fastfusion

Volumetric 3D Mapping in Real-Time on a CPU
GNU General Public License v2.0
559 stars 173 forks source link

Run Error #9

Open Fahimkh opened 9 years ago

Fahimkh commented 9 years ago

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)"

kentsommer commented 8 years ago

@Fahimkh

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

kentsommer commented 8 years ago

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

tanajikamble13 commented 4 years ago

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

greatwallet commented 4 years ago

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

reginehartwig commented 4 years ago

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

tftangming commented 4 years ago

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

tanajikamble13 commented 4 years ago

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

IsabellaIveygrenn commented 2 years ago

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