ryanseys / opengl-molecules

Render molecules using OpenGL
MIT License
7 stars 5 forks source link

Error Regarding -framework and OpenGL, GLUT folders #16

Open ishangote opened 6 years ago

ishangote commented 6 years ago

Initially, the source for the SOIL library was broken. Hence I installed SOIL from a different source.

Furthermore, now when I run the Makefile, here are the errors thrown:

make g++ -I/opt/local/include/SOIL -L/usr/local/include/ -w main.cpp ryan_camera.cpp Shader.cpp SkyBox.cpp pugixml.cpp -o mol.out -lSOIL -framework OpenGL -framework glut && ./mol.out g++: error: OpenGL: No such file or directory g++: error: glut: No such file or directory g++: error: unrecognized command line option ‘-framework’ g++: error: unrecognized command line option ‘-framework’ Makefile:2: recipe for target 'all' failed make: *** [all] Error 1

Please help me with the same ASAP.

Thanks, Ishan

sanliturk commented 5 years ago

A "Makefile" for Fedora 28 Linux , x86_64 . Rename Makefile.txt to Makefile . There are "Segmentation fault" points ...

Mehmet Erol Sanliturk Makefile.txt