Wednesday, December 9, 2009

Eclipse C / OpenGL tips

Importing existing C Makefile projects
Create New Project > C Project > Makefile project

To Debug using eclipse add to CFLAGS in Makefile
-g -O0

OpenGL and Eclipse Debug(gdb?) works
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-cpp-galileo-SR1-linux-gtk.tar.gz&url=http://download.eclipse.org/technology/epp/downloads/release/galileo/SR1/eclipse-cpp-galileo-SR1-linux-gtk.tar.gz&mirror_id=1

OpenGL Superbible (3edn) and code
http://proquest.safaribooksonline.com/0672326019/ch01?reader=html#X2ludGVybmFsX0ZsYXNoUmVhZGVyP3htbGlkPTA2NzIzMjYwMTkvY2gxNWxldjJzZWMxMiZpbWFnZXBhZ2U9

No comments: