Coder Social home page Coder Social logo

build issue with I2cTestTool/ about samples HOT 6 OPEN

rajnishc8 avatar rajnishc8 commented on August 26, 2024
build issue with I2cTestTool/

from samples.

Comments (6)

paulmon avatar paulmon commented on August 26, 2024 1

If you have the current code in github it shouldn't be using the 14393 version of the SDK, it should be using 15063. It should also be using the v141 compiler settings rather v140. Those are the the supported settings to use with VS 2017

from samples.

IoTGirl avatar IoTGirl commented on August 26, 2024

Hi @rajnishc8,

The message 'wrl\client.h' says you are missing the "wrl" or Windows Runtime Library files. Are you sure you have installed all the required tools to use the IoT Core samples?

Sincerely,
IoTGirl

from samples.

rajnishc8 avatar rajnishc8 commented on August 26, 2024

Hi @IoTGirl,
I have vs2015, vs2017, EWDK installed.

To get it to build successfully in VS2017, I had to set
Additional Include Directories to:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared;C:\EWDK\Program Files\Windows Kits\10\Include\10.0.14393.0\winrt
and
Additional Dependencies to:
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.14393.0\um\x64\onecoreuap.lib;$(AdditionalDependencies)

Thanks,
--Rajnish

from samples.

IoTGirl avatar IoTGirl commented on August 26, 2024

Thanks for the update Rajnish!

from samples.

rajnishc8 avatar rajnishc8 commented on August 26, 2024

Please refer to screen shot given below
SDK version is : 10.0.15063.0 .
i2ctesttoolerror

It can be seen in the screen capture that it does not build with vs2017 and sdk 10.0.15063.0 .

Thanks,
--Rajnish

from samples.

IoTGirl avatar IoTGirl commented on August 26, 2024

Hi @rajnishc8,
Do you have VS 2015 also installed on this machine? The packages seem to only attribute to one or the other not both versions of VS so if you have VS2015 installed, it may be that the packages are actually attached to that prior version of VS rather than VS 2017.
Sincerely,
Justine

from samples.

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.