Codeblocks OpenGL configuration process
Configuring blog recommendations
There are many online configuration tutorial, I think this blog is better: https://blog.csdn.net/qq_41594445/article/details/102965475
because there are codeblocks & amp; OpenGL configuration file download address, and are free!
I made a lot of pit steps in configuring Codeblock + OpenGL, so note it here to prevent others from falling into the pit.
Pit to step on: Codeblock version issues
Don’t go to the website to download the latest Codeblock! .
Because we usually download codeblocks -XX. XX (version number)mingw-setup version of the codeblocks program, it comes with mingw! So if you download the latest version of Codeblocks, the MinGW version will also be the latest.
This affects the later “can not find-lglut32 “spooky error that occurs when a GLUT item is created in Codeblocks. The “can not find-lxxxx “problem is caused by missing lib files. The “can not find” error can not find the “can not find” error in the “can not find” error in the “can not find” error.
I have looked for many tutorials on Baidu and Google, but there is no solution to this problem.
then, I carefully looked at the codeblocks error message when build the GLUT project, found codeblocks build log output in the process of looking for “glut32. Lib”, in which there is a display compiler has reached glut32..lib file location, but ignored the file, shown as “skipping” incompatible XXX, checked the found that this is because the library file version and platform version without corresponding problems!
Then, I uninstalled the latest version of Codeblocks, installed the old version of Codeblocks, followed the tutorial above, and it worked!
lesson
- >
- >
- >
- >
- >
- >
- > It’s hard at first, hold on a little longer (I’m too bad, I’ve been doing it all afternoon.) If not, just switch platforms. VS seems easy to configure (but it takes up a lot of space).
Hope everyone can install smoothly ~
Read More:
- OpenGL configuration under CodeBlocks in Ubuntu
- Configuration of OpenGL under CodeBlocks and solutions to problems encountered
- Configure OpenGL in CodeBlocks
- CodeBlocks configuring OpenGL
- Configuring OpenGL with win 10 + CodeBlocks
- CodeBlocks configuring OpenGL environment
- Installation and use of OpenGL based on CodeBlocks
- Summary of problems encountered by CodeBlocks + OpenGL
- How to configure OpenGL on CodeBlocks
- Configure glut in Ubuntu and implement basic OpenGL experiment on CodeBlocks platform
- Ubuntu: CodeBlocks compile OpenGL super Dictionary (5th Edition) instance
- Solving CodeBlocks OpenGL glew undefined reference to`_ imp__ Glewinit ‘error
- How to configure OpenGL with CodeBlocks in Ubuntu
- Vs configuration of OpenGL development environment: configuration of glfw library and glad Library
- Some configuration problems of OpenGL in VS2008
- Construction of vs2015 OpenGL configuration environment
- (64 bit) OpenGL configuration + vs2017 + glew + glfw
- Vs2015 + OpenGL configuration method
- OpenGL class library and environment configuration under win10 and vs2015
- The reason of OpenGL configuration error in VS