-
Notifications
You must be signed in to change notification settings - Fork 79
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
Compiled version? (or how to compile) #9
Comments
Try amiitool uses a static version of mbedtls which is included as a submodule. |
EDIT: nevermind, I'm a total linux noob and I didnt realize the make install command isn't necessary. Thanks for the quick reply, but I still get the same error.
|
Hm, it seems that your version of Make is not defining the Can you tell me which OS are you using, and also the Make version ( |
As workaround, you should be able to compile it with: git clone https://github.com/socram8888/amiitool.git
cd amiitool
git submodule update --init --recursive
make PWD=$(pwd) && sudo make install PWD=$(pwd) |
lubuntu 15.10 / GNU Make 4.2 And it worked now with that workaround. Thanks! |
Hello,
I also tried this without success:
Thanks a lot for your help ! |
Mmm right now this isn't really useable as a library, since it's missing all the library compilation (ie compiling the library independently of the main executable) If you're willing to change to Python, there's already a proper library written by a third party on PyPI (https://pypi.python.org/pypi/pyamiibo/) For |
I have already started coding a GUI in c. But under windows, and integrating it to a GUI Thank you for listening! |
git clone https://github.com/socram8888/amiitool/
cd amiitool
mingw32-make gitversion.h That should do the job. |
not working: compilation:
|
Seems to be missing yet again the "pwd" bit which is available somehow in my system. Try |
As last resource, try creating a
|
Hmmm have you included nfc3d folder in the compilation path? I am not sure which IDE are you using, if any, but usually you'd give a directive such as: Note that's a dash followed by capital i. At any rate, as is this can't be really used as a shared or static library, due to missing all the library compilation. |
Hi, thanks for your help, the changes you made in the MakeFile allowed me to go ahead;) |
Hello! I'm a total noob to compiling so therefore I have been searching the web for several days, but always comes to dead ends. Everything that should work just doesn't, so this is my last option, to write here. I'm just trying to compile and make an executable file, so I can start decrypting/encrypting etc, but nothing works. In Windows 7 I've tried Cygwin and Mingw. The best result is an executable file that won't run (gets an error 0x00000013-ish). I think it has something to do with 32/64-bit? In Ubuntu 18.04, gcc 7.3.0 was already installed, but it quits with an error that it can't find the include-file <nfc3d/amiibo.h>... I doesn't matter where I put that file, gcc just can't find it... When I go with all the tricks you have written in this thread, it also fails. Writing that "make && sudo make install", it ends with that "no rule..."-error and the "git submodule --init --recursive" doesn't help... I have no experience with compiling c-scripts, so I really don't know how to solve this. Can you try to help me? |
I have just tried again under Ubuntu Bionic (18.04.2) and it's working fine for me. All I did was: git clone https://github.com/socram8888/amiitool/
cd amiitool
git submodule update --init --recursive
make Could you paste the exact output for the failed compilation? |
I actually got it working on Ubuntu. Why it didn't work there was because of a 'space' in the folder name, so the compiler didn't find the files. Quite embarrassing... But... I would really like to get it to compile on Windows, since I'm only emulating Ubuntu on VirtualBox, so it would help to get everything more smooth. Right now I don't have any compiler installed under Windows 7, because they were all failing so I uninstalled them. Any recommendations of which to use? Cygwin? mingw? Something else...? |
I have successfully used MinGW64 under Ubuntu and Windows 10 WSL as explained above. |
I have followed all your steps above and the only error I am receiving is this: make[1]: Entering directory 'C:/Users/REDACTED/amiitool/mbedtls' EDIT: I am now getting: |
According to the "CreateProcess" line, it looks like problem is that your system is missing the cc.exe compiler. |
Would it be possible to provided a compiled version? I found one but it's old and it doesn't have the copy AppData functionality.
I got a VM with lubuntu and I have no clue what I'm doing:
git clone https://github.com/socram8888/amiitool.git
cd amiitool
git clone https://github.com/ARMmbed/mbedtls.git
make && sudo make install
I get an error:
Thanks.
The text was updated successfully, but these errors were encountered: