wpilibsuite / WPILibPi

WPILib Raspberry Pi images designed for FRC (formerly FRCVision)
Other
89 stars 41 forks source link

WPILib build uses different OpenCV than local build #11

Closed PeterJohnson closed 5 years ago

PeterJohnson commented 5 years ago

Because of robotpy-cscore, and the need to build both python and java versions of opencv, we build our own opencv for the image. However, since we use gradle to build allwpilib instead of cmake, the wpilib opencv build is used instead when compiling/linking. This should not be an issue with identical versions, but poses a risk for upgrades. The easiest solution is probably to switch to the cmake build of allwpilib.

ThadHouse commented 5 years ago

For sure. At that point, you could then use cmakes find_packafe utilities as a user to build if you wanted to.