- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I moved source files in my projects to folders to clean/make project more clear.
After this, few files are not being compiled, I am geting error:
arm-none-eabi-gcc.exe: error: .\CortexM0\ARM_GCC_493\Debug\sample_file.o: No such file or directory
It happens after Clean and built. When I compile those .c filest manualy from list (right mouse -> Compile_file) then .o files are generated.
But again, cleaning deletes them.
What happened?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to set the path to your source files in project settings, include directories.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to set the path to your source files in project settings, include directories.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How? I cannot find this. I have folder path in include.
What is more, not all files get this error. Only few.
SOLVED:
Changing project name helped, seems that there is some bug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Again, with different file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you post the project here?
Thanks
JOBIN GT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I can not.
I found other fix, seems that when you move files on HDD and then remove and add them again in PSoC Creator not all file path entries in LUXWIN_CPRL.cyprj.(your name) file are updated. I fixed them by hand and now everything seems to be ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perfect, got the same problem. I just deleted the <project_name>.cyprj.<your_name>, it will be recreated when you build the project.