-
Notifications
You must be signed in to change notification settings - Fork 21
Cmake does not find SDL2 #10
Comments
you will need to install |
At least on Fedora, I also had to set PKG_CONFIG_PATH to contain the 32bit version of the headers. |
I am running debian jessie and ran into this problem too. The 64 and 32 bit versions of SDL2 conflict; installing one will uninstall the other. I use multiple applications that depend on the 64 bit libsdl2 package. Fortunately, I could work around this by downloading the source and compiling it. Unfortunately, SDL2 documentation is completely worthless in regards to having any form of instruction compiling for 32 bit. There are at least a dozen wrong ways to do it, here is what worked for me:
The last step ( Afterwards I was able to build koku-xinput-wine following the readme. I hope this helps solve your problem and that it saves others time/effort trying to figure it out. @KoKuToru this utility is awesome! Thank you so much for creating and sharing it. |
@cdelorme I am trying your fix but am a total n00b to all this. Where does one get the source for the 32 bit package? I keep finding pre-compiled versions. Also, do you have to put the source file anywhere in particular? |
@YalithKBK it's the same source code, you are simply instructing the compiler to compile for a 32 bit platform as opposed to 64 bit. **This is done by adding The I am also somewhat of a noob when it comes to the linker, but I believe |
Even though it's installed as libsdl2-2.0-0 on my system (Mint 17.3)
ANything I can do about that?
The text was updated successfully, but these errors were encountered: