Closed ansidev closed 10 years ago
Hi, it seems you haven't installed SDL libraries:
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find SDL (missing: SDL_LIBRARIES)
Opps! Thank you! How to fix this error on ArchLinux?
I have no experience in ArchLinux, but here you have the documentation of its package manager (isntallation section): https://wiki.archlinux.org/index.php/pacman#Installing_packages
You need to install sdl develoment package. In Debian, at least, is libsdl-dev but in your case you have to search in your packages.
Thank you for your support!
Maybe there is no alternative package for libsdl-dev for ArchLinux or I don't know package name!
This is the 32 bits package: https://www.archlinux.org/packages/extra/i686/sdl/
In the right side of the page you have the link to 64 bits package.
This packages are just: sdl
What I don't know is if this package installs the header files. Try and be lucky :)
I tried to install sdl and sdl2 package, but nothing changed!
Are you executing the BuildLinux.sh script or are you doing it manually?
I use the first way.
Try doing from the root Polycode folder: cd Build/Release cmake ../.. and see if it gives any error. But installing the package sdl should be enough at least for that dependency
Nothing changed!
No POLYCODE_RELEASE_DIR specified, to /home/ansidev/build/polycode/Release/Linux
-- Found Libarchive: debug;/home/ansidev/build/polycode/Release/Linux/Framework/Tools/Dependencies/lib/libarchived.a;optimized;/home/ansidev/build/polycode/Release/Linux/Framework/Tools/Dependencies/lib/libarchive.a
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find SDL (missing: SDL_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
CMake/FindSDL.cmake:27 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/PolycodeIncludes.cmake:27 (FIND_PACKAGE)
Core/Contents/CMakeLists.txt:2 (INCLUDE)
-- Configuring incomplete, errors occurred!
See also "/home/ansidev/build/polycode/Build/Release/CMakeFiles/CMakeOutput.log".
Well... I have made one mistake. We should change this thread to the forum: http://polycode.org/wiki/index.php?n=Main.TroubleShootingBuildProblems
Please, open a thread in the forum and close this issue, we will continue there
Error detail: