Thanks to visit codestin.com
Credit goes to github.com

Skip to content

small fix for compile.py #3

@tuxcell

Description

@tuxcell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions