You are not logged in.
Pages: 1
Hello all,
I have install Slitaz with freeglut, freeglut-dev, mesa, and mesa-dev. Whenever I compile a program using g++ main.cpp -lglut it segfauts when I run it , I attached my code. I have tested the code on other machines succesfully. Any insight is appreciated.
thanks,
Christian
Offline
Could you provide a copy of one of of these errors? It might help track down the problem.
Btw, do you have slitaz-toolchain and slitaz-dev-pkgs (provides the X.org dev packages) installed?
Offline
g++ main.cpp -lglut
./a.out
Segmentation fault
I now have both slitaz-toolchain and slitaz-dev-pkgs installed
Offline
anyone have an idea why this does not work? I am using the latest cooking
Offline
Well, you could try installing libegl-mesa, libglu-mesa, libglw-mesa, ftgl, glew, glew-dev, gtkglext, libQtOpenGL and mesa-demos to get everything OpenGL and mesa related. You might also want to install mesa-dri and the mesa-dri- closest to your card (mine is mesa-dri-sis).
Yep, this is a stab in the dark. Might be code related too.
Offline
YAY it works thank you so much Trixar_za!
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]