compile failure in NXCDefs.h

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
carpe68
Posts: 1
Joined: 12 Feb 2012, 17:29

compile failure in NXCDefs.h

Post by carpe68 »

Hello!

When I try to compile any program, I get an error message: compile failure.
The error codes are:
line 19272, file "NXCDefs.h": Error: number expected
line 19273, file "NXCDefs.h": Error: number expected

I use Bricxcc Version 3.3.8.9 under a german installation. The compiler setting is NXC, the NXCDefs.h is version 92, NXTDefs.h is version 75.

When I check NXCDefs.h under preferences/API, there is no line 19272, it ends with line 15859.

Any ideas?

Thanks a lot.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: compile failure in NXCDefs.h

Post by HaWe »

hi,
you should first of all upgrade to the latest Bricxcc version (3.3.8.9. + test-release => 3.3.8.10)
nxcdefs.h is currently not needed to be included any more.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: compile failure in NXCDefs.h

Post by afanofosc »

Could you post a screenshot of your Compiler|NBC/NXC tab in the Preferences dialog and a simple program (as small as possible) that demonstrates the error you are getting? I assume that even a trivial program (i.e., task main() {}) will result in this error?

As Doc recommended I would also try the very latest test release to see if this problem has been fixed in a more recent build. See http://bricxcc.sourceforge.net/test_releases/

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests