Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Issue attempting to compile on Ubuntu 16.04 #19
Comments
MegaS0ra
commented
Sep 11, 2017
|
I am getting the same errors on Linux Mint 18.2 (Ubuntu 16.04) |
Kidlike
commented
Sep 16, 2017
|
I don't know why I didn't see this before, but I opened a duplicate of this, and resolved myself... lol check #20 essentially you need |
MegaS0ra
commented
Sep 17, 2017
|
Great ! I managed to compile it with your instructions, thank you ! |
MaxPerl
commented
Oct 23, 2017
|
I have the same problem but with Mageia Linux. Here I cannot install cpp version 6. Would it be possible to make koku-xinput-wine compatible with cpp version 5.x? |
TiZ-EX1
commented
Nov 25, 2017
|
After some updates you made, I decided to try again. Now ld complains that it can't find -lSDL2. This only happens when I'm compiling the 32-bit version. 64-bit version compiles fine, but I can't build the 32-bit one. I have the 32-bit version of libsdl2-2.0-0 installed. |
MegaS0ra
commented
Nov 27, 2017
•
|
Yes, same problem here right now. But the current readme does not tell how to compile 32-bit or 64-bit specific version, so I don't know which one it is trying to compile. Edit : I am using Linux Mint 18.2 (Based on Ubuntu 16.04) and can't have both libsdl2-dev and libsdl2-dev:i386 packages (at least apt-get or aptitude won't let me install both) So here are the steps I have done to compile both koku-xinput-wine.so and koku-xinput-wine64.so
Here, cmake gives error "No package 'sdl2' found"
No error this time :
Here, make succeeds to compile koku-xinput-wine.so, but not koku-xinput-wine64.so
Here, make succeeds to compile koku-xinput-wine64.so |
TiZ-EX1
commented
Nov 27, 2017
|
It tries to compile both, because both versions are useful. It tries to do the 32-bit version first. You can do |
MegaS0ra
commented
Nov 27, 2017
|
I have edited my post just before I saw yours. I did not managed to only make the 64-bit version, but I managed to made both, just not in one time. |
TiZ-EX1
commented
Nov 27, 2017
|
That's a substantial edit. That process doesn't work on my system because installing |
MegaS0ra
commented
Nov 27, 2017
|
I see why you get this problem, I might have not been clear enough in my previous post (sorry English is not my mother tongue). You seem to currently have the 64-bit version of libsdl2-dev installed, with its dependencies. Therefore, you need to remove it (if not already done) and use "apt-get autoremove" to remove all the dependencies automatically installed (libgles2-mesa-dev libgel1-mesa-dev... and some more). Once these dependencies are removed, you should be able to install libsdl2-dev:i386, and apt will ask you to install the same dependencies as before but with the :i386 suffix. Unless you installed the dependencies manually, you should be able to remove it with autoremove. I hope it will be okay for you |
TiZ-EX1
commented
Nov 27, 2017
|
I ran a script when I first installed Xubuntu 16.04 that installs -dev and -doc versions of every package on the system. So all the -dev packages are manually installed. I had no idea it would cause such a fracas. Is debian structured in such a way that you're not supposed to have 64- and 32- bit development packages at the same time? That seems silly to me... |
MegaS0ra
commented
Nov 28, 2017
|
It should, I think I have some other packages that are installed in both 64- and 32-bit, without any problem, but can't install these both, and can't tell why, don't know much about package conflicts. |
TiZ-EX1 commentedSep 6, 2017
I installed CMake 3.7.2 from PPSSPP's PPA to try to compile this, and received the following huge list of errors: