|
Re: Compiler Help Needed
Slow down and look at what you are doing.
You defined axelWidth in userutilities.h and then included userutilities.h in userutilities.c... This means that axelWidth is defined as a float.
Now you redefine axelWidth as an external variable in userutilities.c meaning that some OTHER module has defined axelWidth. This is a double declaration and is only the tip of the iceberg... I see a bunch. i.e. you include bool.h multiple times...
Also, take a few minutes and see various threads about float variables and implicit initializations... You are going down a very dangerous road.
Regards,
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|