I'm having a problem with building my project. Have the following error code
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
Right click near the menu bars and enable the "Build Configuration/Toolchain".
Let us know if this helps.
If you upload the project, we can test if there is any specific issue causing this error.
did you get any error or warning on the output section while building the project? You can upload the project for people here to check.
This error-message is, afaik, the last message in a row, saying that the compilation was aborted due to one or more compilation error(s). Check messages before (above) this one.
Hope it helps
I did not get any other error from teh screen after the build. I only obtained the
Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.
let me upload the zipped program and check it for me on your side and i'll give a bried xplanation of what im trying to read out
Please use "Minimal Archive" to archive the project.
Following is the procedure:
1) Right click on the Workspace and select "Archive Workspace/Project"
2) In the Archiver window, select "Minimal".
In this method, the Creator generated files will not archived thereby reducing the file size.
I'd suggest that DASG or someone gives me their email and i send it to them and tehy can upload the the project because i have been trying to do this for about 4hours and i'm failing. Is that ok
Bob or DASG could you send me an email on email@example.com then i can send it through to you because i'm still failing to upload the file. I have reduced it to 600Kb but still failing to upload. Then you can upload it from your side.
when I compile your project (Creator 2.0), I get
9 Warnings and
On the very bottom line (maybe hidden by the task-list at your desktop?) on the right-hand corner are the counts listed for errors, warning and notes. When you click at one of them, the window changes from "output" to "Notice" and you can see all your errors.
You may click as well to one of the tabs of the notice-window to hide or show the errors, notes or warnings. Since you did not see any of those (only in the output-window the error-message of the failed compile) I suppose that it is hidden from your sight by the task-bar or something similar.
Search for the bottom-line of the >Creator-Window.
Yes DASg, teh error was due to the initialisation of the 'extern' keyword. And teh error comes as
'arm-none-eabi-gcc.exe' failed with exit code '1'.
with no reference. That is what was making it dificult but i had to go through the whole program and initialied the extern kewyword in main.c instead of the RGBSensor.c file. Much appreciated.
You can view the errors, notes and warnings by selecting the "Notice List" tab.
It gives a list of all the errors and warnings. The snapshot below shows the notice list of the project uploaded.
I'm strugling also with this error.... Let me tell you what I did:
- I import and changed the Graphic LCD module as described in the PSoC-Today video.
- Saved it in the Default/MyComponents/ catalog and build the module. No problems.
- I archived the module for using it in my project
- I opened a new test project and via the Components tab, I imported the archived module
- In the Source tab I added the component in TopDesign using the component from the Default/MyComponents catalog
- Added I/O pins to the component in TopDesign and assigned pins to the pins I had allocated for this in my hardware
- Build the project and solved some minor errors
- Build again and the only error what was leftt was the one in the Title.
I did this job with other modified modules and no problem when I used them in my projects.... But this one cost me days of searching before I make this help message....
I hope anyone can give me the right hint!
I added the test project.
when I remove calls to the module from main.c (e.g. TFTIntf_1_Start();)
the problem is over....
Maybe it has somthing to do with linking of the module source?
It HAS to do with the linker. When you look at the "output" tab you see an errormessage from "ld" which indeed is the linker. But I cannot say more. Better you create a "MyCase". (At top of this page: Support&Community -> Technical Support)
thanks for reply! I had made an other approach which solved the problem….
In my first setup I modified the component to my own requirements and build and save it. After importing the module in my project and building it, I had that specific error.
Now I first have made a new ‘my_component’ based on the component from the Cy catalog without any mods, built it and imported it in my project. Building the project and NO errors!
Next step was to add step by step my new API’s in this component and every time I did a new build of the project and still no errors (beside some typing errors ;-).
Conclusion: there was something wrong with my first modified component but don’t know what….
But problem solved!
Next step is to get some lines and color on my TFT display, and that is not the case at this moment. So I have still something to figure out. Maybe I have to check the signals with my scope.
I receive error on my project.
"Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'."
No more error or warnings.
For fix bug - was install
"gcc-arm-none-eabi-4_9-2015q2-20150609-win32.exe" and add to PSoC Creator 3.2 to "Tools->Options-> ARM Toolchar"
All this - unsuccessful.
How can I fix problem ?
Welcome to the forum.
When no other error is mentioned this will probably be a link error. Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
There are two files not within the pjoject path: debug.c and ans.c although the ans.h is in the correct place. Please correct that.
When the error remains, re-post the corrected workspace bundle.
I combined 4 programs in a single program for my project. That's why i need both C file. If i'll remove any the error will remains same. I tried this also.C file
I did not suggest to remove the files, I suggested to move the files to the project path and adjust the references. I cannot compile because the files are missing.
There is an error message "undefined reference to `UART_PutCRLF". Open datasheet of your UART and look for the correct name (must be something like UART_UartPutCrLf or so).
Get rid (correct code) of all warnings!!!
Right click on your UART component, select "Open Datasheet". In the PDF search for "putcrlf" then you'll find the correct name.
Double click on each warning and correct it. Mostly type-casting will help.
I checked in data sheet UART_UartPutString(). Error
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'remains same.
... And it will stay the same until you correct all errors. At the bottom of creator all the errors and warnings are shown. When you switch to "Output" tab you will see any linker errors at the end. Exit code 1 just is the capitulation of GCC since there are some errors remaining.
I am sorry, but I cannot correct your elaborate, you will have to do that yourself.