darkdave wrote: |
---|
I run a Win64bit OS in windows11. |
I second Ganado's suggestion of getting a newer (and free) compiler, if your current setup can support it.
Visual Studio is a complete Integrated Development Environment (IDE). Edit, compile, run and debug in one package.
VS has free Community editions available, all you need to do to activate is supply a valid email address. Get a free live/hotmail account and you're golden.
VS 2019 was the last IDE that could run on a 32-bit platform, VS 2022 requires 64-bit.
Since you are running x64 Win11 get VS 2022.
If you get VS there's a 3rd party package manager that makes integrating libraries easy, vcpkg.
https://vcpkg.io/en/index.html
It can be used in non-VS setups as long as you use CMake.
One of the biggest advantages for using vcpkg with VS is it integrates 3rd party libraries so they are seen by VS as MS native libraries. The IDE automatically knows hows to find and link the libraries when properly integrated. Adding, removing and updating installed libraries is almost pain-free. A couple of console commands and vcpkg does all the hard work for you.
FYI, freeglut is one vcpkg available library, 3.2.2. While 3.2.2 isn't the most up-to-date version available, 3.4.0 would be, it isn't completely outdated. Both are from 2022.
https://freeglut.sourceforge.net/index.php#download
Again, if you can use it get either VS 2022 or VS 2019 in the Community Edition. Both are C++20 100% compliant, if that matters to you.
https://visualstudio.microsoft.com/downloads/
https://visualstudio.microsoft.com/vs/older-downloads/
M'ok, VS 2019 Community now is available from the MS Store, the 2019 download above is for the Enterprise edition.
https://apps.microsoft.com/store/detail/visual-studio-community-2019/XP8CDJNZKFM06W
Do NOT consider downloading Visual Studio Code!