I need to link my program with the freeglut libraries (that is freeglut.h which in turn links to freeglut_ext and freeglut_std) I have done this on Raspbian successfully and on Ubuntu:
How I did it in Raspbian and Ubuntu 16.04:
simply by downloading freeglut-3.0.0 and utting all of the .h's in the /usr/include section, inside a GL folder. I then put in additional options -lglut -lGLU -lGL.
On Windows 10:
Tried exactly the same, but put the files in the CodeBlocks/Include/GL folder. Put the -l's in the additional options. All I get is FGAPI does not name a type for freeglut_ext.h. I have tried various other things.
My system is 64 bit but codeblocks was installed in program files (x86). Should I place it in Program files? I do not know what to do.