simit icon indicating copy to clipboard operation
simit copied to clipboard

Could not find OpenGL or GLUT so simviz will not be built, but both are in place.

Open ignatenkobrain opened this issue 8 years ago • 7 comments

-- Found OpenGL: /usr/lib64/libGL.so  
-- Found GLUT: /usr/lib64/libglut.so  
Could not find OpenGL or GLUT so simviz will not be built

No idea why.

ignatenkobrain avatar Aug 14 '16 11:08 ignatenkobrain

I had the same issue. Turns out that the compiler needs GLUT Xi and GLUT Xmu in addition to openGL and GLUT. Installing these fixed it for me. On linux ubuntu this is done by typing

sudo apt-get install libxmu-dev libxi-dev

Edit: I would suggest a more detailed error message when this happens before closing this bug.

VikingScientist avatar Aug 15 '16 12:08 VikingScientist

@VikingScientist did the visualizer work for you? As far as I know it hasn't been used for a long time so I wasn't sure whether it had rotted.

fredrikbk avatar Aug 18 '16 17:08 fredrikbk

@VikingScientist +1 Thanks, it worked for me!

gsileno avatar Aug 19 '16 12:08 gsileno

You need more packages probably:

Try installing these:

sudo apt-get install freeglut3 freeglut3-dev binutils-gold libeigen3-dev libeigen3-doc libxmu-dev libxi-dev

and then "cmake .." again your " build" (you'll probably need to erase the folder and remake it again)

fulviofarina avatar Aug 23 '16 19:08 fulviofarina

@fredrikbk Sorry, I haven't gotten around to testing the visualizer yet. I just managed to get it compiling.

VikingScientist avatar Aug 24 '16 07:08 VikingScientist

@VikingScientist +1 Worked for me too.

Lugatod avatar Sep 19 '16 13:09 Lugatod

I don't believe anyone uses the visualizer (?) and I believe it's bit rotted. It also uses glut which seems to be problematic on new macOS.

Unless anyone uses the current visualizer I will delete it from the repo. We have plans for making a new one and hope to get someone working on it soon.

fredrikbk avatar Sep 23 '16 21:09 fredrikbk