Giter Club home page Giter Club logo

Comments (6)

andyt530 avatar andyt530 commented on August 28, 2024 1

Yes - that fixed it - thank you

from iotz.

obastemur avatar obastemur commented on August 28, 2024

Could you try below?

‘’’
rm -rf ~/.iotz
iotz init
‘’’

from iotz.

andyt530 avatar andyt530 commented on August 28, 2024

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.

obastemur avatar obastemur commented on August 28, 2024

Possibly your user doesn’t have a write access. Can you try ‘init’ under ‘~/Desktop/mxchip_advanced’ ?

from iotz.

andyt530 avatar andyt530 commented on August 28, 2024

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.

obastemur avatar obastemur commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.