1) File -> New -> Project...
2) Under Visual C++, choose General -> Empty Project
3) Type a name under Name: for this project.
4) On the menu, choose Project -> Add New Item...
5) Under Visual C++, choose "C++ File (.cpp)", in the future, you might create a "Header File (.h)".
6) Type a name under Name: for this file.
Search This Blog
Showing posts with label compile. Show all posts
Showing posts with label compile. Show all posts
Thursday, December 27, 2007
Thursday, September 20, 2007
Compile GLUT in Linux
Make sure the header has,
/ GL/glut.h \
\ /
Compile with,
gcc simple.c -o simple -I/usr/X11R6/include/ -L/usr/X11R6/lib -lX11 -lXi -lXmu -lglut -lGL -lGLU
/ GL/glut.h \
\ /
Compile with,
gcc simple.c -o simple -I/usr/X11R6/include/ -L/usr/X11R6/lib -lX11 -lXi -lXmu -lglut -lGL -lGLU
Subscribe to:
Posts (Atom)