Illation / ETEngine

Realtime 3D Game-Engine with a focus on space sim. Written in C++ 14
MIT License
775 stars 58 forks source link

Can someone explain how to build with Visual Studio 2022 ? #48

Open Infinitusvoid opened 1 year ago

Infinitusvoid commented 1 year ago

Changing this :

git clone https://github.com/Illation/ETEngine
cd ETEngine/Projects/Demo
cmake -G "Visual Studio 15 2017 Win64" -S . -B build
cmake --build build --target all --config Develop
cmake --build build --target install
cmake --build build --target cook-installed-resources-EtEngineDemo

Into this :

git clone https://github.com/Illation/ETEngine
cd ETEngine/Projects/Demo
cmake -G "Visual Studio 17.4.3 2022 Win64" -S . -B build
cmake --build build --target all --config Develop
cmake --build build --target install
cmake --build build --target cook-installed-resources-EtEngineDemo

Does not seems to be enought

Illation commented 1 year ago

I doubt it will currently compile on VS 2022 due to some dependencies, but for 2019 at least the commandline is cmake -G "Visual Studio 16 2019" -A x64 -S . -B Build

So try replacing Win64 with -A x64

Infinitusvoid commented 1 year ago

Thanks @Illation