Open abdo96 opened 6 years ago
Install wine-staging-dev. The '-dev' package contains required headers.
Thank you very much
after write command make
[12%] Linking CXX shared library koku-xinput-wine.so /usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libSDL2.so when searching for -lSDL2 /usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libSDL2.a when searching for -lSDL2 /usr/bin/ld: cannot find -lSDL2 collect2: error: ld returned 1 exit status CMakeFiles/koku-xinput-wine.dir/build.make:146: recipe for target 'koku-xinput-wine.so' failed make[2]: [koku-xinput-wine.so] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/koku-xinput-wine.dir/all' failed make[1]: [CMakeFiles/koku-xinput-wine.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
This is where I am stuck right now. https://github.com/KoKuToru/koku-xinput-wine/issues/33
I will close my issue and follow this as it includes a solution for the missing headers.
Is possible to compile 64bit version.
make koku-xinput-wine64
Edit: OMG...and it works with DS2: Scholars Of the First Sin.
Thank you very much
@dreaddymck but There is problem when I loaded koku-xinput-wine64.so
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/wine/koku-xinput-wine64.so' from LD_PRELOAD cannot >be preloaded (wrong ELF class: ELFCLASS64): ignored. I tried to choose right path but the problem still existing
Not having this problem. Not an expert on all things Wine.
That said: can only assume the target wine application is running the 32bit wine prefix.
The following is an example bash script used to load a Steam game on Wine:
#!/bin/bash
export LD_PRELOAD=/home/dreaddymck/Projects/git/koku-xinput-wine/koku-xinput-wine64.so
env WINEPREFIX="/home/dreaddymck/.wine"
nice -10 wine C:\\\\windows\\\\command\\\\start.exe steam://rungameid/335300
after write the command (cmake .)