View Single Post
  #8   Spotlight this post!  
Unread 26-01-2009, 21:06
mtndurbin mtndurbin is offline
Programming Mentor
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Colorado Springs, CO
Posts: 8
mtndurbin is an unknown quantity at this point
Re: multiple definition Problem

The problem is that you have the following line in your RoboDefs.h

START_ROBOT_CLASS(Main);

This is a macro defined in RobotBase.h (for reference).

This macro should only be in your Main.cpp file, and at the bottom works.

Peter Rivera
Mentor, Team 662.
Reply With Quote