glenndehaan / ikea-tradfri-coap-docs

How can you communicate to your ikea tradfri gateway/hub through coap-client
MIT License
189 stars 21 forks source link

lib-coap error on install on WIndows #27

Closed Georg-code closed 3 years ago

Georg-code commented 3 years ago

Hey, I'm trying to install libcoap on Windows right now. I have VisualStudio 2019 and OpenSSL installed. Unfortunately, I always get the error that the following file is missing.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5):

Probably the error is on my side. Can someone help me with this? Thanks a lot

glenndehaan commented 3 years ago

@Garrcomm Do you have any idea?

Garrcomm commented 3 years ago

I can reproduce the issue, and I'm going to make a fix tonight. To explain what happens;

on line 2 of the script, it'll defines the download URL which is the latest master copy. With the latest master copy I get, indeed, the same error. But I still had the download on my PC, the develop branch of the 18th of April, which builds successfully.

So first I'm going to look into a fix to work with the latest develop, if I can't find a fix, I modify the URL to a specific commit hash.

To be continued!

Garrcomm commented 3 years ago

This merge request (https://github.com/glenndehaan/ikea-tradfri-coap-docs/pull/28) should resolve this issue.

Delete the downloaded files first though; it won't download again when the files are present.

glenndehaan commented 3 years ago

The pull request has been merged in

Georg-code commented 3 years ago

Guys! Thanks a lot for the fix - you helped me alot!