You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when trying to build the project, on a CentOS platform, by making "./build-all" at the root, I got several error in import.
See below.
Do you have any idea, how to solve it?
Thanks
Francois
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-airquality/src/main/scala/com/prismtech/edison/grove/sensor/AirQuality.scala:16: not found: object upm_gas
[error] import upm_gas.TP401
[error] ^
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-airquality/src/main/scala/com/prismtech/edison/grove/sensor/AirQuality.scala:19: not found: object upm_grove
[error] import upm_grove.GroveLight
[error] ^
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-airquality/src/main/scala/com/prismtech/edison/grove/sensor/AirQuality.scala:26: not found: type TP401
[error] var airQualitySensor: Option[TP401] = None
[error] ^
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-airquality/src/main/scala/com/prismtech/edison/grove/sensor/AirQuality.scala:43: not found: type TP401
[error] airQualitySensor = sid.map(new TP401(_))
[error] ^
[error] four errors found
[error] (compile:compile) Compilation failed
[error] Total time: 5 s, completed 23 févr. 2016 15:24:43
[info] Loading project definition from /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-luminosity/project
[info] Set current project to edison-grove-luminosity (in build file:/export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-luminosity/)
[info] Compiling 1 Scala source to /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-luminosity/target/scala-2.11/classes...
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-luminosity/src/main/scala/com/prismtech/edison/grove/sensor/Luminosity.scala:18: not found: object upm_grove
[error] import upm_grove.GroveLight
[error] ^
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-luminosity/src/main/scala/com/prismtech/edison/grove/sensor/Luminosity.scala:26: not found: type GroveLight
[error] var lumSensor: Option[GroveLight] = None
[error] ^
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-luminosity/src/main/scala/com/prismtech/edison/grove/sensor/Luminosity.scala:42: not found: type GroveLight
[error] lumSensor = sid.map(new GroveLight(_))
[error] ^
[error] three errors found
[error] (compile:compile) Compilation failed
[error] Total time: 6 s, completed 23 févr. 2016 15:24:55
[info] Loading project definition from /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-temperature/project
[info] Set current project to edison-grove-temperature (in build file:/export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-temperature/)
[info] Compiling 1 Scala source to /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-temperature/target/scala-2.11/classes...
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-temperature/src/main/scala/com/prismtech/edison/grove/sensor/Temperature.scala:18: not found: object upm_grove
[error] import upm_grove.GroveTemp
[error] ^
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-temperature/src/main/scala/com/prismtech/edison/grove/sensor/Temperature.scala:25: not found: type GroveTemp
[error] var tempSensor: Option[GroveTemp] = None
[error] ^
[error] /export/home/flefevre/gitPeps/agentv-edison-microsvcs/edison-grove-temperature/src/main/scala/com/prismtech/edison/grove/sensor/Temperature.scala:41: not found: type GroveTemp
[error] tempSensor = sid.map(new GroveTemp(_))
[error] ^
[error] three errors found
[error] (compile:compile) Compilation failed
[error] Total time: 6 s, completed 23 févr. 2016 15:25:12
The text was updated successfully, but these errors were encountered:
It seems to me that a dependency is missing for upm_gas.TP401.
I found it in http://iotdk.intel.com/sdk/upm-update/
Use the last one: win-upm-0.4.1.21.zip
Inside there are many jars and upm_gas.TP401 is inside upm_gas.jar
I managed to make the code compile by adding unmanagedBase := baseDirectory.value / "custom_lib" in the sbt file
and the missing libraries in custom_lib
Probably, the correct way to solve it should be to know where the libs are deployed and add a dependency with libraryDependencies
Dear PrismTech/Agentv-edison-microsvcs
when trying to build the project, on a CentOS platform, by making "./build-all" at the root, I got several error in import.
See below.
Do you have any idea, how to solve it?
Thanks
Francois
The text was updated successfully, but these errors were encountered: