afwbkbc / glsmac

Unofficial open-source OpenGL/SDL2 reimplementation of Sid Meier's Alpha Centauri ( + Alien Crossfire )
GNU Affero General Public License v3.0
425 stars 12 forks source link

not create GLSMAC.exe VS22 Windows11 #28

Closed Komatozzz closed 9 months ago

Komatozzz commented 10 months ago

Hi On steps "Once that is done you should clone the git, then open the folder. Press the top button Project->Configure, then the output should open. Wait for it to say "CMake generation finished.". Once that is done select the build target GLSMAC.exe and press the debug button." After "CMake generation finished.", image I try build exe image but in process, i have a many errors (attached output) output_build.txt

Then i have window image and open json image

So, what i do wrong?

Thx

afwbkbc commented 9 months ago

Compiling with MSVC (default VS compiler) is not supported and won't be supported. You need to install Clang component in Visual Studio installation and make sure it is used for building. Check 'Visual Studio' section in compilation instructions in README. I'll focus more on windows builds after v0.4, meaning better documentation and maybe some scripts, also gitlab ci that will build windows binaries so most people won't have to do it manually.