Hi guys
i downloaded SDL2 a while ago but i can't find lib folder in SDL2-2.0.3 :/
sorry if that's a stupid question
Hi guys
i downloaded SDL2 a while ago but i can't find lib folder in SDL2-2.0.3 :/
sorry if that's a stupid question
Unless you downloaded a prebuilt version for your specific compiler and configuration you are expected to build the libraries yourself from the source. Since there is a CMakeLists.txt included that should be reasonably simple to get going with any build system.
I tried to build it with CMake but i got an error "Error in configuration process, project files may be invalid"
What operational system are you using?
If you're using linux, issue the following console command inside the SDL folder:
./autogen.sh && ./configure && make
and that's all it takes.
I tried to build it with CMake but i got an error "Error in configuration process, project files may be invalid"
What operational system are you using?
If you're using linux, issue the following console command inside the SDL folder:./autogen.sh && ./configure && make
and that's all it takes.
I use Windows 8.1 and VS2013
I tried to build it with CMake but i got an error "Error in configuration process, project files may be invalid"
That is usually the result of missing dependencies, especially on Windows where no general automatic library detection exists. Look at the output lines before that and see what exactly is failing. It's also possible you can just deactivate dependencies you do not need by setting the right options in CMake.
here its the error
The C compiler identification is MSVC 18.0.30501.0
Check for working C compiler using: Visual Studio 12
Check for working C compiler using: Visual Studio 12 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
0.2.1 :: 2 :: 1 :: 2 :: 2.0
Performing Test HAVE_WIN32_CC
Performing Test HAVE_WIN32_CC - Success
CMake Error at cmake/macros.cmake:28 (message):
*** ERROR: DIRECTX requires the $DXSDK_DIR environment variable to be set
Call Stack (most recent call first):
CMakeLists.txt:798 (message_error)
Configuring incomplete, errors occurred