simit-lang / simit

A language for computing on sparse systems
http://simit-lang.org
Other
454 stars 52 forks source link

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

Open ignatenkobrain opened 8 years ago

ignatenkobrain commented 8 years ago
-- 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.

VikingScientist commented 8 years ago

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.

fredrikbk commented 8 years ago

@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.

gsileno commented 8 years ago

@VikingScientist +1 Thanks, it worked for me!

fulviofarina commented 8 years ago

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)

VikingScientist commented 8 years ago

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

Lugatod commented 8 years ago

@VikingScientist +1 Worked for me too.

fredrikbk commented 8 years ago

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.