-
Notifications
You must be signed in to change notification settings - Fork 38
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
Compiling on windows leads to GLIBCXX error not found on ev3 #37
Comments
No, Is there a way to copy libsdc++? I am new to building my own executables with cmake and am fairly confused. I tried reflashing the ev3 to maybe update its software, but now I am running into more issues. Thanks for pointing me to those helpful explanations though. |
I am sorry, I have no experiance with cross-compiling under windows, but it was reported that compilation with docker works. |
Docker complains that I need windows pro or server edition to install. How did #17 issue that you provided solve her issue? I am trying to figure out how to copy the right libsdc++ version onto the ev3. Is there any way of doing that? |
My guess is there should be a |
Wait. Is it possible to build the c++ files on the ev3 itself? Then what ever compiler it had would just compile! |
It is possible, but may be quite frustrating. Depending on your program size, the compilation could take from very long time to forever. You can try it with a command like
assuming you have |
I believe that one work-around for this issue is to make sure that you have completed step 7:
Append the following lines to the end of the file:
Save and exit. Afterwards, run sudo apt-get update, which will update the packages searched for. Now do:
This should fix the issue. However, if you are running ROS on the ev3, then installing build-essential from the unofficial unstable release will create new issues since ROS will depend on older versions of GLIBC. I don't know how to fix that yet. My current solution is to go back to the jessie branch and using docker to cross-compile. |
I am recently trying to code my ev3 in c++, I installed ev3dev onto an sd card, I followed the instructions, but lo and behold, the ev3 complains it cannot find the Glibcxx 3.4.1 something so that it cannot run the program. I followed the step by step instructions here and made sure all packages were up to date on my windows bash, but nothing seems to work.
The text was updated successfully, but these errors were encountered: