-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake doesn't find SDL2 #1
Comments
Hi, Mathieu.
I'll check what can be a problem there. The project is in a very early
stage though, so do not expect everything to be working. Even though if
you'll build code then you'll need specially converted data which is not on
github yet.
2017-04-23 1:22 GMT+03:00 Mathieu Comandon <[email protected]>:
… I get the following error when building the project:
CMake Error at GameOS/gameos/CMakeLists.txt:30 (find_package):
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files. If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
libsdl2-dev is installed and sdl2-config.cmake is available here:
/usr/lib/x86_64-linux-gnu/cmake/SDL2/sdl2-config.cmake.
The build script I use is here: https://github.com/lutris/
buildbot/blob/master/games/mechcommander-2/build.sh
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACJXQRxJxTLZvmzC9d5j5VOShU451xuMks5ryn2SgaJpZM4NFO9A>
.
--
Шукай в телефонi мiй слiд...
|
try with latest code, I've changed CMakeLists.txt |
nice! the project now builds! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the following error when building the project:
libsdl2-dev is installed and sdl2-config.cmake is available here:
/usr/lib/x86_64-linux-gnu/cmake/SDL2/sdl2-config.cmake
.The build script I use is here: https://github.com/lutris/buildbot/blob/master/games/mechcommander-2/build.sh
The text was updated successfully, but these errors were encountered: