View Single Post
  #23   Spotlight this post!  
Unread 17-11-2007, 18:28
Guy Davidson Guy Davidson is offline
Registered User
AKA: formerly sumadin
FRC #0008 (Paly Robotics)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Ra'anana, Israel
Posts: 660
Guy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to behold
Send a message via ICQ to Guy Davidson Send a message via AIM to Guy Davidson Send a message via MSN to Guy Davidson
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.