|
Re: WPILib and Eclipse
New issues: I've now been trying to convert code from Vex to FIRST. Even just having the just API.h, and BuiltIns.h, by having the project in the /WPILib/2k6/ folder. However, any time I try to call on any of the FIRST functions (Tank2, GetOIAInput, StartEncoder, etc.), I'm getting an error that says:
**** Build of configuration FRC 18f8722 WPILib Robot for project 2k6 ****
mingw32-make all
'Building file: ../main.c'
'Invoking: C18 Compiler'
mcc18 -D_FRC_BOARD -I=C:\mcc18\h -p=18F8722 -w=2 -nw=2066 -fo="main.o" "../main.c"
C:\WPILib\2k6\main.c:51:Error [1204] too many arguments in function call
mingw32-make: *** [main.o] Error 3
Any idea why this is happening? I've tried to mess around with pretty much every idea I had, and the only thing that seemed to relate is calling any of the WPILib functions.
|