Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Unable to compile on 17.10 #33

Closed
dreaddymck opened this issue Jan 25, 2018 · 1 comment
Closed

Unable to compile on 17.10 #33

dreaddymck opened this issue Jan 25, 2018 · 1 comment

Comments

@dreaddymck
Copy link

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
Copy link
Author

Closed, unresolved. Following #34

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant