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!

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.

errors include could not find UserAPI.h

we did put the WPILib files before…

thanxxxxxxxxxxxxxxxxxxxxxx!!!

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.

already tried that… that doesnt work either… thanxx n e way!!!

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