-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when building on linux #159
Comments
Use https://github.com/Electronicks/JoyShockMapper/. This repository hasn't been updated for months. |
|
@linusrg1 This page only started saying that JSM works on Linux when a Linux user got involved and got it working on Linux. It has since stopped working since the main devs don't use Linux and that contributor stopped being involved, but @TauAkiou has gotten involved on the up-to-date project and so it should work on Linux again. Not this project, to be clear. The one @TauAkiou linked, which is where to go for all future updates. |
@linusrg1 The Linux version currently has one maintainer (me) and I'm not always around to provide changes. I had to submit a small fix that is still awaiting merging at: Electronicks#19. Additionally, JoyShockLibrary building is currently broken under Linux, and I recommend against using JSL anyway. Use the command:
to build in SDL mode. Note that you will need development headers for libusb and hidapi. I have pushed some additional information to README.md in the file for Linux on Electronick's branch as well. |
cmake .. -DCMAKE_CXX_COMPILER=clang++ && cmake --build .
-- Checking for one of the modules 'appindicator3-0.1'
CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:707 (message):
None of the required 'appindicator3-0.1' found
Call Stack (most recent call first):
cmake/LinuxConfig.cmake:7 (pkg_search_module)
CMakeLists.txt:8 (include)
-- JSM version is vGIT-NOTFOUND.GIT-NOTFOUND.GIT-NOTFOUND
-- CPM: adding package [email protected] (v2.1.0)
CMake Error at /usr/share/cmake-3.16/Modules/ExternalProject.cmake:2421 (message):
error: could not find git for clone of joyshocklibrary-populate
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/ExternalProject.cmake:3236 (_ep_add_download_command)
CMakeLists.txt:13 (ExternalProject_Add)
-- Configuring incomplete, errors occurred!
See also "/home/linus/Downloads/JoyShockMapper-master/build/_deps/joyshocklibrary-subbuild/CMakeFiles/CMakeOutput.log".
CMake Error at /usr/share/cmake-3.16/Modules/FetchContent.cmake:903 (message):
CMake step for joyshocklibrary failed: 1
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FetchContent.cmake:1006 (__FetchContent_directPopulate)
cmake/CPM.cmake:454 (FetchContent_Populate)
cmake/CPM.cmake:483 (FetchContent_MakeAvailable)
cmake/CPM.cmake:345 (cpm_fetch_package)
JoyShockMapper/CMakeLists.txt:159 (CPMAddPackage)
-- Configuring incomplete, errors occurred!
See also "/home/linus/Downloads/JoyShockMapper-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/linus/Downloads/JoyShockMapper-master/build/CMakeFiles/CMakeError.log".
I installed libappindicator.
I am on Ubuntu 21.04
The text was updated successfully, but these errors were encountered: