Open J-H-Freedman opened 2 months ago
forgot
sudo make install
I feel stupid lol.
jumped the gun :(
a@pop-os:~$ sudo make install
[ 9%] Building CXX object CMakeFiles/joycond.dir/src/main.cpp.o
[ 18%] Building CXX object CMakeFiles/joycond.dir/src/phys_ctlr.cpp.o
[ 27%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr.cpp.o
[ 36%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_passthrough.cpp.o
[ 45%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_combined.cpp.o
[ 54%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_pro.cpp.o
[ 63%] Building CXX object CMakeFiles/joycond.dir/src/epoll_mgr.cpp.o
[ 72%] Building CXX object CMakeFiles/joycond.dir/src/epoll_subscriber.cpp.o
[ 81%] Building CXX object CMakeFiles/joycond.dir/src/ctlr_detector_udev.cpp.o
[ 90%] Building CXX object CMakeFiles/joycond.dir/src/ctlr_mgr.cpp.o
[100%] Linking CXX executable joycond
/usr/bin/ld: cannot open output file joycond: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/joycond.dir/build.make:241: joycond] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/joycond.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
a@pop-os:~$ sudo systemctl enable --now joycond
Failed to enable unit: Unit file joycond.service does not exist.
jumped the gun :(
a@pop-os:~$ sudo make install [ 9%] Building CXX object CMakeFiles/joycond.dir/src/main.cpp.o [ 18%] Building CXX object CMakeFiles/joycond.dir/src/phys_ctlr.cpp.o [ 27%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr.cpp.o [ 36%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_passthrough.cpp.o [ 45%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_combined.cpp.o [ 54%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_pro.cpp.o [ 63%] Building CXX object CMakeFiles/joycond.dir/src/epoll_mgr.cpp.o [ 72%] Building CXX object CMakeFiles/joycond.dir/src/epoll_subscriber.cpp.o [ 81%] Building CXX object CMakeFiles/joycond.dir/src/ctlr_detector_udev.cpp.o [ 90%] Building CXX object CMakeFiles/joycond.dir/src/ctlr_mgr.cpp.o [100%] Linking CXX executable joycond /usr/bin/ld: cannot open output file joycond: Is a directory collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/joycond.dir/build.make:241: joycond] Error 1 make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/joycond.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 a@pop-os:~$ sudo systemctl enable --now joycond Failed to enable unit: Unit file joycond.service does not exist.
I'm getting this issue too Did you manage to figure out howto fix it?
jumped the gun :(
a@pop-os:~$ sudo make install [ 9%] Building CXX object CMakeFiles/joycond.dir/src/main.cpp.o [ 18%] Building CXX object CMakeFiles/joycond.dir/src/phys_ctlr.cpp.o [ 27%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr.cpp.o [ 36%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_passthrough.cpp.o [ 45%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_combined.cpp.o [ 54%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_pro.cpp.o [ 63%] Building CXX object CMakeFiles/joycond.dir/src/epoll_mgr.cpp.o [ 72%] Building CXX object CMakeFiles/joycond.dir/src/epoll_subscriber.cpp.o [ 81%] Building CXX object CMakeFiles/joycond.dir/src/ctlr_detector_udev.cpp.o [ 90%] Building CXX object CMakeFiles/joycond.dir/src/ctlr_mgr.cpp.o [100%] Linking CXX executable joycond /usr/bin/ld: cannot open output file joycond: Is a directory collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/joycond.dir/build.make:241: joycond] Error 1 make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/joycond.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 a@pop-os:~$ sudo systemctl enable --now joycond Failed to enable unit: Unit file joycond.service does not exist.
I'm getting this issue too Did you manage to figure out howto fix it?
I did not :'(
Off a fresh install, it does not produce joycond.service
What should I do to fix that?