ifm / ifm3d

Library and Utilities for working with ifm pmd-based 3D ToF Cameras
https://api.ifm3d.com
Apache License 2.0
110 stars 69 forks source link

ifm3d\xmlrpc-c\lib\curl_transport\curltransaction.c(19,10): fatal error C1083: Unable to open include file: “curl/curl.h”: No such file or directory #337

Closed zwenjiang closed 2 years ago

zwenjiang commented 2 years ago

Hi, When I follow the steps by Doc /windows.md#running-ifm3d-tool-on-windows , I got an error compiling xmlrpc-c using VS2019, Prompt not found ifm3d\xmlrpc-c\lib\curl_transport\curltransaction.c(19,10): fatal error C1083: Unable to open include file: “curl/curl.h”: No such file or directory. What should I do about it? tks

inbangsa commented 2 years ago

@zwenjiang it seems curl installation is missing on the system. from the information provided I understand that you are trying to build ifm3d from source with these instruction. To build and install curl please follow these instructions. and after this you should be able to build xmlrpc-c with these instructions

you might need to additionally pass -DBUILD_SHARED_LIBS=ON to cmake configure command of xmlrpc-c. We will update this in documentation in our next release.

zwenjiang commented 2 years ago

thanks for your replyment. I can compile it now.