PDA

View Full Version : Installing WPILib libraries in Vex 2.0


kentmdavis
11-05-2007, 02:12 PM
Hi, I've spent most of my time to-date building the hardware on a Vex project.
I'd like to get started using EasyC 2.0 (update 2.9.0.2) and I would like to use the WPILib libraries.
The .cmd script in the WPILib2007012201.zip archive attempts to extract the WPILibVex.lib file to: "c:\Program Files\Intelitek\easyc Pro\#Tools\vex\18F8520\WPILib.lib", but I don't have the Pro version.

How can I install the libraries into EasyC 2.0?

I've attempted the "Import Library" item under the Options menu, unsuccessfully.
I also tried just extracting the archive to c:\WPILib directory, but that doesn't appear to work either.


Once I have it correctly installed, will the appropriate Function Blocks appear for the WPILib functions, or will I have to create those manually with the "User Code" function block?

Thanks for your help,
Kent

kentmdavis
11-14-2007, 01:24 PM
Can anyone answer this question?
I got part of the drive function to partially work, by using the import library function.
However, the "drive" function appears in the Function blocks, when using it and giving it values to turn, it simply goes in a straight line.

None of the other WPILib functions appear available to import.

Can anyone provide some insight?

Thanks.