I tried to #include <GL/glut.h> but when I compile, I get a [link error] at WinMain@16 or Win@16 (I forgot).
I don't exactly know why and I don't know what to do either.
Can somebody help please?
Do you need that header file? (To fix it?)
Thanks in advanced.

Recommended Answers

All 2 Replies

You will not find the source of a linker error anywhere in the code. It means you are not linking to the opengl libraries properly. Please send the actual error output. It would also help if you could make and send us the shortest program that you can that gives you this error.

Oops, nevermind. It was just me being a restard; I tried to compile something that only had an include statement....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.