Unable to use #include
Posted: 09 Dec 2010, 10:11
I've been using #include in nxc for some time, and its been working so far; however, recently it has stopped working, with the compiler being unable to find the file.
I have gone through the normal checklist;
* I am using the correct syntax for include: #include "filename.nxc"
* the file has the same name as the name of the file being included, letter for letter, including the extension.
* the file being included is in the same folder as the file being compiled
* I have read access to that folder
* the individual files compile properly (with exception to lacking a task main)
This was working for a while and then broke; this leads me to believe that a setting in brickxcc has changed somehow.
I have gone through the normal checklist;
* I am using the correct syntax for include: #include "filename.nxc"
* the file has the same name as the name of the file being included, letter for letter, including the extension.
* the file being included is in the same folder as the file being compiled
* I have read access to that folder
* the individual files compile properly (with exception to lacking a task main)
This was working for a while and then broke; this leads me to believe that a setting in brickxcc has changed somehow.