GRIP icon indicating copy to clipboard operation
GRIP copied to clipboard

Error setting up build tools

Open ajbt200128 opened this issue 8 years ago • 5 comments
trafficstars

When setting up build tools there are 2 problems I run into.

  1. maven says there are unindexed remote maven repositiries found, and when I try to update them(http://first.wpi.edu/FRC/roborio/maven/development and http://first.wpi.edu/FRC/roborio/maven/release) it gives an error saying "nexus-maven-repository-index.properties does not exist".
  2. When I try to build it gives errors saying packages "edu.wpi.grip.generated.opencv_core.enumeration.CmpTypesEnum" and others of the same type do not exist

ajbt200128 avatar Apr 14 '17 00:04 ajbt200128

Is this in intellij?

  1. The unindexed remote maven repositories problem is not really a problem just a warning. It can be safely ignored.
  2. Try running a ./gradlew generateCodeFromSource will generate that package so that intellij can find it.

JLLeitschuh avatar Apr 14 '17 16:04 JLLeitschuh

The error still persists even after running ./gradlew generateCodeFromSource. This is in intellij, also in the gradle projects window there are errors which say "unable to resolve ..." for NetworkTables, OpenCV, rosjava, and grip_msgs. Could me being on windows have anything to do with it?

ajbt200128 avatar Apr 15 '17 01:04 ajbt200128

@SamCarlberg Have you seen this before??

JLLeitschuh avatar Apr 18 '17 18:04 JLLeitschuh

I haven't seen this before. Just running ./gradlew :ui:run (or gradlew.bat :ui:run in this case) from a fresh clone should work as long as you have an internet connection

SamCarlberg avatar Apr 18 '17 18:04 SamCarlberg

I can build the gradle project but the problem is if I try to edit any code it will tell me that there are unresolved symbols with the openv library imports, and in the gradle window under :ui/Source Sets/main/Dependencies it says those libraries cannot be resolved

ajbt200128 avatar Apr 24 '17 21:04 ajbt200128