|
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?
|