-
Notifications
You must be signed in to change notification settings - Fork 56
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
Ho Do You make This Under Linux #22
Comments
Are you in the correct directory?
|
Wow... that was odd. I had extracted the file from the original SkyReader to ~/downloads/SkyReader-master using Nemo. I changed to that in a terminal and when I couldn't figure out how to compile that, I removed that directory with Nemo and extracted the fork, again with Nemo. I didn't change directories in terminal, so it still thought the same file list was active. Changing to .. and then back worked, sort of. Now I get this: hid.c:25:36: fatal error: IOKit/hid/IOHIDManager.h: No such file or directory Is there something else that I need to install first? I know the readme gives a link to hidapi, but the comment on the linux fork says that "hid_libusb is already included" |
Looks like the Makefile is linked to the OSX make file. delete it and link it to the linux Makefile |
It looked like it was linked correctly, but I deleted the Makefile and re-linked it. Now I get a different error. g++ -I/usr/include/libusb-1.0 -g -pthread -m32 -std=c++11 -c toynames.cpp This is what's in my directory: -rw-rw-r-- 1 derek derek 8768 Jan 22 2017 checksum.cpp |
This appears to be a Ubuntu issue. the solution is apparently in this post. I can't test it however. |
After installing libc6-dev-i386, I was getting new errors. Deleting the entire directory and starting over fresh from a newly extracted copy worked. Thank you so much! |
Umm
The only regular Makefile is the Mac OSX one. Where's this supposed Linux Makefile? |
Check the OP question, he's talking about the @capull0 fork, he's posting here because there is no issue tab in that fork. I've deleted the linux Makefile and re-added it just incase.
|
@silicontrip Ahh thanks. I thought I had tried that fork but just tried again and it compiled. As a small unrelated side note: I don't have any actual Skylanders to mess with but have been playing with the LED. I see the message format is C then the 3 byte RGB value. I've been struggling to recreate this in Python + PyUSB. I'm essentially just trying to make a small program to only control the LED (maybe pass it the RGB values). Any ideas on where to proceed? I've tried the out interrupt but cannot for the life of me figure out the correct stuff to pass it. https://gist.github.com/parkerlreed/ad9bdb42d66a1489330e666bd6125d7f The actual command being sent I'm aware isn't long enough. I'm just not sure if I'm even going about it the right way. |
https://github.com/Ph4n70mh4x0r/SkyReader just run make when cloned |
Depack this and run it with sudo |
I'm not sure what you've done wrong;
I can't run this because I'm on OSX and not linux, but I see nothing wrong with the archive. |
How do you compile this under linux? I tried the @capull0 fork and I tried running the link command ahead of running make, but that one won't install either. For that one, for which I cannot find an [issue] tab, I get this when running make:
make: Makefile: No such file or directory
make: *** No rule to make target 'Makefile'. Stop.
The text was updated successfully, but these errors were encountered: