GithubHelp home page GithubHelp logo

Comments (5)

sunnsurf avatar sunnsurf commented on July 17, 2024

Note: Restoring to 1.0.28 without IoT libraries and the compile issues remain.

I'm using the uamqp library.

from azure-c-shared-utility.

sunnsurf avatar sunnsurf commented on July 17, 2024

If I install Microsoft.Azure.IoTHub.AmqpTransport 1.1.8 and Microsoft.Azure.IoTHub.IoTHubClient 1.1.8 then it compiles ok again.

from azure-c-shared-utility.

mhshami01 avatar mhshami01 commented on July 17, 2024

Hello @pj1980,

Thank you for submitting this issue. To help us diagnose and fix the problem, it would be great if you can provide us with the following:

  • sample code to reproduce the issue
  • Windows version
  • Visual Studio version

Sincerely,
-- Haitham

from azure-c-shared-utility.

tameraw avatar tameraw commented on July 17, 2024

@pj1980 - Closing issue. Please let us know if you're still having issues and if you can provide us the information above.

from azure-c-shared-utility.

sunnsurf avatar sunnsurf commented on July 17, 2024

Apologies for slow response. I hope the below assists, note it could totally be a case of PEBKAC...

Visual Studio 2017 on Windows 10 compiling using SDK 10.0.14393.0
NuGet packages:

  • Microsoft.Azure.C.SharedUtility (v1.0.30) <- original report had 1.0.29
  • Microsoft.Azure.uamqp (v1.0.30) <- original report had 1.0.29

As of today, issues are:

  1. Cannot open include file: 'azure_uamqp_c/amqpalloc.h': No such file or directory

  2. Commenting out calls to methods in #1 above results in linker errors
    1>aziotsharedutil.lib(x509_schannel.obj) : error LNK2019: unresolved external symbol __imp__CryptDecodeObjectEx@32 referenced in function _x509_schannel_create
    1>aziotsharedutil.lib(x509_schannel.obj) : error LNK2019: unresolved external symbol __imp__CertCreateCertificateContext@12 referenced in function _x509_schannel_create
    1>aziotsharedutil.lib(x509_schannel.obj) : error LNK2019: unresolved external symbol __imp__CertFreeCertificateContext@4 referenced in function _x509_schannel_create
    1>aziotsharedutil.lib(x509_schannel.obj) : error LNK2019: unresolved external symbol __imp__CertSetCertificateContextProperty@16 referenced in function _x509_schannel_create
    1>aziotsharedutil.lib(x509_schannel.obj) : error LNK2019: unresolved external symbol __imp__CryptStringToBinaryA@28 referenced in function _x509_schannel_create

  3. Noticing that it's looking for "aziot..." library I NuGet Microsoft.Azure.IoTHub.IoTHubClient (v1.1.10) and the compile now succeeds. And previously observed ReleaseSemaphore error is no longer experienced.

... I guess it was PEBKAC.

from azure-c-shared-utility.

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.