Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   .o isnt working right... (http://www.chiefdelphi.com/forums/showthread.php?t=55966)

Xenosthebest 20-03-2007 17:55

.o isnt working right...
 
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

Re: .o isnt working right...
 
Quote:

Originally Posted by Xenosthebest (Post 601848)
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?
Code:

//prototype
void DoDrive(void);

//function code
void DoDrive(void){

pwm01 = 127;

}


Stvn 21-03-2007 00:24

Re: .o isnt working right...
 
Quote:

Originally Posted by Xenosthebest (Post 601848)
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?


All times are GMT -5. The time now is 12:01.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi