Comments (6)
Yes - that fixed it - thank you
from iotz.
Could you try below?
‘’’
rm -rf ~/.iotz
iotz init
‘’’
from iotz.
Unfortunately no joy:
az2tf:mxchip_advanced AndyT$ rm -rf ~/.iotz
az2tf:mxchip_advanced AndyT$ iotz init
building arduino extension container (it may take some time)
AZ3166:stm32f4:MXCHIP_AZ3166 is selected
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /Users/AndyT/Library/Mobile/Dockerfile: no such file or directory
error: docker couldn't create an image for this path
from iotz.
Possibly your user doesn’t have a write access. Can you try ‘init’ under ‘~/Desktop/mxchip_advanced’ ?
from iotz.
Hi - Yes - Moved forward:
cd ~/Desktop/mxchip_advanced
az2tf:mxchip_advanced AndyT$ rm -rf ~/.iotz
az2tf:mxchip_advanced AndyT$ iotz init
‘’’ - building arduino extension container (it may take some time)
AZ3166:stm32f4:MXCHIP_AZ3166 is selected
az2tf:mxchip_advanced AndyT$ iotz compile
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Initializing packages...
Preparing boards..
Verifying...
In file included from sketch/src/../inc/AzureIOTClient.h:9:0,
from sketch/src/../inc/telemetry.h:9,
from sketch/src/AzureIOTClient.cpp:7:
/root/.arduino15/packages/AZ3166/hardware/stm32f4/1.6.0/libraries/AzureIoT/src/AzureIotHub.h:6:27: fatal error: iothub_client.h: No such file or directory
#include "iothub_client.h"
I can see that file in : /Users/AndyT/Library/Arduino15/packages/AZ3166/hardware/stm32f4/1.6.0/cores/arduino/azure-iot-sdk-c/iothub_client/inc/iothub_client.h
How do we get in included in the search path for iotz ?
^
from iotz.
Apparently mxchip firmware folks did couple of breaking changes and broke the include path compile directives. I did mend those on iotz build definitions and I will contact mxchip firmware folks separately.
First of all, thanks for reporting this. Second; I did release 0.4.1
that you can update to now and use it.
npm i -g iotz
iotz update
and under the new mxchip_advanced
folder
iotz init
finally
iotz compile
from iotz.
Related Issues (20)
- iotc config file is needed HOT 2
- Arduino force -Os HOT 1
- update demo gif on README HOT 1
- self bring the deps HOT 1
- implement mbed:create (iotz create url?) HOT 1
- implement raspberry:create HOT 1
- config: additional properties
- arduino: add libs support
- mbed: enable tracing / debug from iotz.json config?
- esp8266 extension HOT 1
- separate extension containers HOT 1
- BeagleBone extension?
- Banana Pi extension
- raspberry-test: Azure IOT SDK test for raspberry extension
- iotz.json: dev should be able to define local container extensions
- `-a` argument for clean command
- Can not install iotz properly HOT 2
- install fails on Ubuntu 18.04 HOT 9
- iotz init fail saying "Please ensure you have shared the current drive on Docker for Windows“ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotz.