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
Error while creating/making new project. #240
Comments
Where are those files located? |
Try it with these changes: https://github.com/purduesigbots/pros/pull/233/files |
I got another error. How can I change it so it uses the updated file when I create a new project? |
What error @Geometrically? |
When I create a new project, I get the very first error. How can I make it use the new common.mk file when creating the new project? |
Wait until pros releases the next version with the patch. Or just fix every project you make |
I can give you a template, or we can push an update. You mentioned another error @Geometrically. Was it the first one you mentioned then? |
Here is the new error:
Could you push an update? |
And that's with the changes from https://github.com/purduesigbots/pros/pull/233/files? Can you double check?
I mean, first we'd want to make sure this actually fixes the issues you're having. |
A thought: the root cause here is because you don't have newlib. You don't need to link against it, but you will need the headers. |
if you're on arch linux you should be able to install arm-none-eabi-newlib |
It worked! Thank you so much. |
Expected Behavior:
The project is made and I can upload it to my robot.
Actual Behavior:
The command spits out this error:
prosv5 make Creating cold package with libc libm libpros okapilib, [ERRORS] arm-none-eabi-g++: error: unrecognized command-line option '--whole-archive'; did you mean '--whole-file'? make: *** [common.mk:230: bin/cold.package.elf] Error 1 arm-none-eabi-g++: error: unrecognized command-line option '--no-whole-archive,'; did you mean '--no-whole-file'? arm-none-eabi-g++: error: unrecognized command-line option '--gc-sections'; did you mean '--data-sections'? Error: Failed to build arm-none-eabi-g++: error: unrecognized command-line option '--start-group' arm-none-eabi-g++: error: unrecognized command-line option '--end-group'
Steps to reproduce:
Download PROS CLI and
arm-none-eabi-g++
on Archlinux.Create a new project/make an existing one
System information:
Platform: V5
PROS Kernel Version: 3.2.1
Additional Information
I am on arch linux KDE
Screenshots/Output Dumps/Stack Traces
The text was updated successfully, but these errors were encountered: