nightmareci / HeborisCE

Cross-platform Expansion (C.E.) and continuation of Heboris U.E. using modern technology and development approach
36 stars 5 forks source link

Error when running "cmake -B build -DCMAKE_BUILD_TYPE=Release" #1

Closed ghost closed 3 years ago

ghost commented 3 years ago

When i run cmake -B build -DCMAKE_BUILD_TYPE=Release I get an error.

This is my console:

-- Found PkgConfig: C:/mingw64/bin/pkg-config.exe (found version "0.26") -- Checking for module 'sdl2' -- No package 'sdl2' found

nightmareci commented 3 years ago

Try the following to install the dependencies in your MSYS2 environment:

pacman -Syu mingw-w64-SDL2 mingw-w64-SDL2_mixer mingw-w64-SDL2_image mingw-w64-physfs

In general, it's best to fully delete a failed/broken CMake build, before retrying:

rm -r build

Then you can try again.

ghost commented 3 years ago

Im on windows

ghost commented 3 years ago

Oh wait nvm ok ill try when im on my computer

nightmareci commented 3 years ago

@Derpez I updated the readme with MSYS2 instructions I've fully tested as working, the comment I posted previously here was incorrect and won't work.