Unable to use #include

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
forgottenromeo
Posts: 5
Joined: 04 Oct 2010, 15:25

Unable to use #include

Post by forgottenromeo »

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.
forgottenromeo
Posts: 5
Joined: 04 Oct 2010, 15:25

Re: Unable to use #include

Post by forgottenromeo »

Deleting the .bak files fixed the problem
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 3 guests