I try to get the temboo library to work in the cloud IDE. However, I noticed that .c code is not picked up from the git repository and properly imported into the Cloud IDE. Do I miss something?
I don’t think it should be trying to pull in any files from temboo-arduino-library-1.2 at the moment, since it doesn’t know about that directory. The library importer only knows to look in the firmware directory for your spark library files. I don’t see the .c file there though. @jgoggins might be able to help shed light on how you might be able to add files through the spark.json file in the future, but do you really want to add the files from the arduino library area you have in your repo?
Ok, I was pointing to a wrong directory that is used for local compile. You are right that the firmware folder contains all the files for the cloud library. I was able to fix the problem by changing the file suffix from .c to .cpp. Everything work now. Pretty cool.
Ahh, I was looking at your files after you made that change… so I didn’t see the .c file when doing a quick scan. Glad you got it sorted out. .c files should probably be supported though.
You are right .c should be picked up as part or the import or at least a warning should be given. Anyway not a major issue as the file renaming does the trick.