How to install the freeglut library in dev c ++?

-1

Can anyone help me? How do I install the freeglut library in devc ++? Next semester will have computer graphics in college and I can not install the freeglut library to help me in game development.

What I have so far is a folder called freeglut within it has

A folder called Bin, another Include, and Another Lib call

Inside the bin folder has the file freeglut.dll Inside the include folder is the files freeglut.h glut.h freeglut_std.h freeglud_ext.h Inside the lib folder there are two libfreeglut.a and libfreeglut_static.a files

Can anyone help me? I have no idea how to install and every time I try the wrong one.

    
asked by anonymous 24.06.2018 / 20:20

1 answer

1

Response removed from a discussion of the Dev-C ++ page:

  

1) Click on Projects - > "Project Options" - > "Parameters"

     

2) in "Linker" where it says "Add library or object", click   on this button,

     

3) Scan the list until you find the library you want to link, (**   if your_library.a is not in the default / lib / folder, select the folder   correct), double click on it, which will place libcurl. in the list of   linkers, repeat the process for more libraries,

     

4) Click the OK button to close the window, 5) Under FILE, click   "Save All", 6) Under Execute, click "Rebuild All"

Advice

Personally I would recommend SDL2 for this type of project, because it is possible to create the window and from it already implement OpenGL, DirectX and Vulkan , that is, it makes it a lot easier if you at some point make your game / application support multiple Graphic APIs.

You mentioned game development, so I would recommend Unreal Engine 4 for her future projects, she has support for different platforms (including televisions) and graphic apis, she has games on her street fighter resume and the remake of the final fantasy VII being in production.

    
24.06.2018 / 21:12