Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How do we add WPILib files in prog??? (http://www.chiefdelphi.com/forums/showthread.php?t=54608)

ambie_o7 19-02-2007 22:54

How do we add WPILib files in prog???
 
Our team needs help... we dont know how to get the WPILib files to compile with the FRC code? we've added it into the source files and yet we still are having compiling probs... assistance is requested FAST... we want to pack it up tonite.... thanx guys!

MattD 19-02-2007 23:11

Re: How do we add WPILib files in prog???
 
Could you please describe the errors that it is showing? Also, make sure to set the link order so that WPILib is first, then the FRC library. This document describes how to check that on pages 7 and 8.

ambie_o7 19-02-2007 23:17

Re: How do we add WPILib files in prog???
 
errors include could not find UserAPI.h

we did put the WPILib files before...

thanxxxxxxxxxxxxxxxxxxxxxx!!!!!!!!!!!!!!!

MattD 20-02-2007 00:28

Re: How do we add WPILib files in prog???
 
Ah, I think that it is actually named API.h in the distribution - try replacing any #include "UserAPI.h" lines with #include "API.h" instead, or you could just rename the API.h file to be UserAPI.h.

ambie_o7 20-02-2007 01:05

Re: How do we add WPILib files in prog???
 
already tried that... that doesnt work either... thanxx n e way!!!

BradAMiller 20-02-2007 01:35

Re: How do we add WPILib files in prog???
 
It is correct that the UserAPI.h file is no longer used. I haven't had time to update the documentation.

Are there other errors that you are seeing?

Brad


All times are GMT -5. The time now is 04:46.

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