Thanks for reading this.
I have the followign directory structure:
In my src directory I got all my source files. In the build directory I got the MPLAB workspace, project etc. When try to build the project I get an error telling me that it can't find the first compilation unit in the src directory, error.c [yes I do get the irony ], I have tried adding the files to the project both by relative path and absolute path, it makes no difference. If I put all the source files and the project/workspace files in one flat directory everything works.
Here is the output from the build tab:
Clean: Deleting intermediary and output files.
Executing: "C:\Program Files (x86)\SourceBoost\boostc_pic18.exe" error.c -O1 -W1 -t 18F2550 -dBUILD_PIC
BoostC Optimizing C Compiler Version 7.04 (for PIC18 architecture)
Copyright© 2004-2011 Pavel Baranov
Copyright© 2004-2011 David Hobday
Licensed to xxx xxxx under Single user Full License for 1 node(s)
Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited, Non commercial use only
FATAL: Unable to open input file: error.c
BUILD FAILED: Wed Jan 11 10:33:14 2012
- Is there a verbose mode in the IDE to see exactly how the compiler is getting called? The reason for asking this is that I have tried calling the compiler with the absolute path to the source file and it works from the command line, I have also tried relative paths from the command line and it still works.
- Has anyone else come accross this one and perhaps would be kind enough to share some thoughts?