View Single Post
  #2   Spotlight this post!  
Unread 25-01-2015, 15:23
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: Eclipse C++ undefined reference to main

Make sure you have the line:

START_ROBOT_CLASS(Robot);

in the file where you are implementing the RobotInit, DisabledInit ... methods. The name in the parens should match the class name you use for inheriting from IterativeRobot.
__________________
Michael Andrews
Team #281 Programming Mentor
Reply With Quote