View Single Post
  #26   Spotlight this post!  
Unread 26-11-2007, 16:59
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

I managed to replicate the error by calling StartEncoder(1) (although any number does it). Same thing happens with calling any WPILib function, such as InitGyro, or any WPILib function I tried. Any idea why this happens? Here's the error message:

**** 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"
'Finished building: ../main.c'
' '
'Building target: 2k6.hex'
'Invoking: MPLINK Linker'
mplink "..\18F8722.lkr" /a INHX32 /w /m FRCMapfile.map /o"2k6.hex" ./controls.o ./main.o ./motors.o /l"C:\mcc18\lib" ..\FRC2k6_library.lib ..\WPILib2k6.lib
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - symbol 'Set_Number_of_Analog_Channels' has multiple definitions.
Errors : 1

mingw32-make: *** [2k6.hex] Error 1