c++ - Using freeglut without an IDE -


I tried to use freelugs with codeblocks and Microsoft Visual Studio 2010. I tried but still I could not use it successfully. So I tried straight straight out, like the freelog file (by copying it to the folder of my C ++ files):

  #include "freeglut.h"   

And then I tried to compile with the GCC compiler through the terminal. It threw a ton of different errors. How can I use freewolt without the IDE? If I can not do that you have any shoe / link that I can install and use?

Note Windows 7 32 bit use

You are not telling GCC that linking your program to freelit.lib. Compile your program with flag -lglut



Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -