KoKuToru / koku-xinput-wine

Adds xinput support to wine, without changing the source of wine.
BSD 2-Clause "Simplified" License
69 stars 21 forks source link

Unable to compile on 17.10 #33

Closed dreaddymck closed 6 years ago

dreaddymck commented 6 years ago

Good day all.

Compile instructions fail on Ubuntu 17.10. Can anyone help?

`cmake . -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'sdl2' -- Found sdl2, version 2.0.6 -- Found wine headers: /opt/wine-staging/include/wine/windows CMake Warning at CMakeLists.txt:84 (message): No 32-bit cross-compiler; skipping 32-bit tests

CMake Warning at CMakeLists.txt:97 (message): No 64-bit cross-compiler; skipping 64-bit tests

-- Configuring done -- Generating done -- Build files have been written to: /home/dreaddy/Projects/git/koku-xinput-wine ` make

Scanning dependencies of target koku-xinput-wine [ 12%] Building CXX object CMakeFiles/koku-xinput-wine.dir/main.cpp.o [ 25%] Building CXX object CMakeFiles/koku-xinput-wine.dir/xinput.cpp.o [ 37%] Building CXX object CMakeFiles/koku-xinput-wine.dir/device.cpp.o [ 50%] 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

dreaddymck commented 6 years ago

Closed, unresolved. Following https://github.com/KoKuToru/koku-xinput-wine/issues/34