particle-iot / ElectronAssetTracker

Library for the Electron Asset Tracker!
Apache License 2.0
53 stars 84 forks source link

error: AssetTracker.h: No such file or directory #28

Open lmans12 opened 7 years ago

lmans12 commented 7 years ago

I am trying to implement the 1_GPS_Features example of the Asset Tracker Library onto my electron asset tracker. However, when I try to compile the given code (in the Particle Web IDE), I get an error message saying-

1_gps_features.cpp:10:26: fatal error: AssetTracker.h: No such file or directory

The AssetTracker.h file is clearly in the library that the code is implementing so I do not understand why this error is occurring. Any suggestions?

auriga-dev commented 7 years ago

same here any help would be appreciated

auriga-dev commented 7 years ago

I fixed it with changing version of the electron device

repcsi commented 6 years ago

Hey lmans12,

There is a bookmark like button on the sidebar: "Browse and manage Particle libraries" and there you can search for AssetTracker and click use, be careful because by default particle will create a "src" dir in your project and it will search for your source files there. You will have a project.properties file that's where the magic happens.