-
Notifications
You must be signed in to change notification settings - Fork 22
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
Upload from eclipse #14
Comments
The eclipse plugin should upload a *.rbf file as well. This rbf file is what's displayed by the LEGO menu. Under the hood it just executes the .elf file. |
Yes, eclipse generates two files .rbf and .elf. |
At monday i can buy sd card :) |
The project creation wizard has a USB option, but I don't think I ever used it. Sorry, no idea. |
I've tried but it didn't work. |
Hello, i've tried with sd card and now i can see Hello world program on ev3 but now I have new problem. |
The Hello World Example on Eclipse? What compiler do you use? Do you compile as C or C++? |
I am using Cross ARM C++ Compiler. After that I run Build Project and then Upload and run. This is log 20:19:42 Build Finished (took 2s.869ms)` |
That's the problem... Sorry about that, I didn't find a precompiled Windows toolchain that's old enough to work on the EV3, but recent enough to support libstdc++ is the C++ standard library, which doesn't exist on the EV3. The easiest way around that is to statically link it into every application with I will look into building a more recent toolchain. Till then you could either use C or use the toolchain for macOS or Linux (both are a bit more recent and support |
Thanks for your answer, I will try with linux. |
I will leave the issue open for a while, while I look into building a newer toolchain. |
Hi, I've tried to build a musl toolchain for EV3 using crosstool-ng some time ago, but I had some problems with uploading the generated ELFs. I don't know if the binaries work either. statically-linked toolchain config A manually-built toolchain using glibc is probably going to be better, though. Regards, Jakub Vaněk |
I've built x86-{macOS, Linux, Windows} → EV3 Toolchains, but they are in need of testing. A user in the Gitter channel was kind enough to verify the macOS one works, but it would be nice if the others can be tested as well. If you have issue using them, please open bug reports at https://github.com/c4ev3/toolchain/issues. I am closing this issue. @JakubVanek I tried crosstool-ng as well, but the recent version doesn't support Linux v2.6.*, so I did the build steps manually. Thanks for the configs though, might be useful to others.
ev3duder issues? If so, could you open a bug report over there? |
I have question about compiled file.
When i compile file on ev3 exists .elf file, but ev3 can't start that file and I see that file only when connect ev3 with computer.
Does anyone know how to solve this problem?
The text was updated successfully, but these errors were encountered: