Error in example ex_acosd.nxc

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
robotsoftware
Posts: 6
Joined: 18 Dec 2011, 11:16

Error in example ex_acosd.nxc

Post by robotsoftware »

Hello,

When I run the program example (9.20) ex_acosd.nxc I get the error : Undefined Inditifier acosd.
Should I set a special switch to compile this example correct? :?

Thanks in advance.

Jan Kromhout
Hellevoetsluis-NL
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: Error in example ex_acosd.nxc

Post by afanofosc »

All these functions require the enhanced NBC/NXC firmware so you need to have it installed on your brick and you have to tell the compiler to target the enhanced firmware. That is via -EF on the command line or by checking the "Enhanced Firmware" checkbox on the NBC/NXC tab of the Compiler page in the Preferences dialog.

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

Who is online

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