Talk:OpenGL:Tutorials:Windows Setup

From GPWiki
Jump to: navigation, search

In VC you can use #pragma to include libs.

#include <GL\gl.h>
#include <GL\glu.h>
#include <GL\glaux.h>

#pragma comment (lib , "opengl32.lib")
#pragma comment (lib , "glu32.lib")
#pragma comment (lib , "glaux.lib")

Not sure about other compliers though. Codehead 12:44, 19 Nov 2004 (EST)

Not that I know anything about VC++, but it's probably better to have a properly set up environment. Odds are the progma directives don't work with any other compilers, since the pragma directive is for compiler-specific instructions. - sik0fewl 12:50, 19 Nov 2004 (EST)

Yeah, I've seen that before I just always forget the exact syntax so I end up just using the linker options directly. Anyone know how to make the lists continue after a <pre> tag? Observe:
* foo
** bar
blah blah
** bar2


  • foo
    • bar
blah blah
    • bar2

-Doug Sheets 13:33 19 Nov 2004 (EST)

Hm... I'm not sure how you could do that. It seems that once you interrupt the list, it has to be started again :( A colon ALMOST works:

  • test1
    • test2


  • test3

Ryan Clark 14:55, 19 Nov 2004 (EST)

HTML doesn't allow any tags other than LI in lists (UL/OL), so no, there's probably no way to do it. - sik0fewl 02:07, 21 Nov 2004 (EST)