Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small fix for compile.py #3

Open
tuxcell opened this issue Mar 1, 2014 · 0 comments
Open

small fix for compile.py #3

tuxcell opened this issue Mar 1, 2014 · 0 comments

Comments

@tuxcell
Copy link

tuxcell commented Mar 1, 2014

Hi,
Good job with stlviewer, thank you for sharing it!
Just a small fix needed:
It creates a string like this for example:
gcc -Wall -o stlviewer -D_OPENGL_ -D_Linux_ -lglut -lGL -lGLU -lm trackball.c stl.c stl_viewer.c

However, the switches must be at the end:
gcc -Wall -o stlviewer trackball.c stl.c stl_viewer.c -D_OPENGL_ -D_Linux_ -lGL -lGLU -lglut -lm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant