Log in

View Full Version : .o isnt working right...


Xenosthebest
20-03-2007, 17:55
Im making this code for mecanum driving, but everytime i go to build and compile, it gives me an error saying that this piece of code isnt defined in it's .o file. So my question is: How do i fix it!?

Tom Bottiglieri
20-03-2007, 17:57
Im making this code for mecanum driving, but everytime i go to build and compile, it gives me an error saying that this piece of code isnt defined in it's .o file. So my question is: How do i fix it!?
Do you have your functions prototyped?

//prototype
void DoDrive(void);

//function code
void DoDrive(void){

pwm01 = 127;

}

Stvn
21-03-2007, 00:24
Im making this code for mecanum driving, but everytime i go to build and compile, it gives me an error saying that this piece of code isnt defined in it's .o file. So my question is: How do i fix it!?

What piece of code?