Search This Blog

Showing posts with label compile. Show all posts
Showing posts with label compile. Show all posts

Thursday, December 27, 2007

To create a new C++ application in Visual C++ 2008 Express

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.

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