Closed CarloWoolsey closed 1 year ago
I suspect you need to add implementation project(':apriltag')
to the wpilibjExamples build.gradle
Yep, that's the issue --I think.
Adding implementation project(':apriltag')
and lib project: ':apriltag', library: 'apriltag', linkage: 'shared'
resolved the error.
can this issue be closed?
Not yet. The examples should be able to use the apriltag library, and that's not the case on main.
The build system is unable to find the apriltag package located at
edu.wpi.first.apriltag
.I'm currently writing a wpilibj example which requires the edu.wpi.first.apriltag package. Running
./gradlew wpilibjExamples:build
from the allwpilib root folder returns returns the following error:~/allwpilib/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/differentialdriveposeestimator/Drivetrain.java:38: error: package edu.wpi.first.apriltag does not exist
Desktop (please complete the following information):