View Single Post
  #1   Spotlight this post!  
Unread 23-01-2007, 21:55
tmbg37 tmbg37 is offline
Registered User
AKA: Ted Kaplan
FRC #0694 (Stuypulse)
Team Role: Leadership
 
Join Date: Aug 2005
Rookie Year: 2005
Location: New York
Posts: 4
tmbg37 is an unknown quantity at this point
WPILib problems under linux

I'm having some trouble compiling code with WPILib under Linux. I'm using the Wine mcc-wrappers and the IFI Makefile/configure script (modified to link against wpilib).

In general, compiling with the 2005 libraries works fine. However, when I complied against the 2006 libraries, the linker complained that there were multiple definitions of Set_Number_of_Analog_Channels. Sure enough, I inspected the libraries with a hex editor, that function was defined in each. However, I "fixed" it by changing the name of the function in WPILib2k6.lib. Yes, I know that's terrible, but my code would compile after that.

Now, when I try to use CMUcam functions, like InitializeCamera, the linker complains that the symbol numberOfCameraInitBlocks cannot be found in CMUCam2.o.

Does anyone here (Brad Miller in particular) know what's going on?