sony / easyhttpcpp

A cross-platform HTTP client library with a focus on usability and speed
MIT License
163 stars 29 forks source link

cmake error #7

Closed dry11orange closed 5 years ago

dry11orange commented 5 years ago

Brief overview

Expected behavior

Could you support windows build

Actual behavior

Steps to reproduce

Specifications like the version of the project, operating system, or hardware etc.

shekharhimanshu commented 5 years ago

Hi @dry11orange

Thank you for your interest in EasyHttp.

Could you please share with us the cmake error and your cmake build steps? Also could you tell us what version of Windows, Visual Studio you are using?

We are working on supporting Windows build in the coming months. (ETA is not yet decided)

dry11orange commented 5 years ago

when build easehttp, cmake show error message : need file "PocoConfig.cmake" This file is from Poco

When I build poco with vs2015 sln, this file(PocoConfig.cmake) will not be generated with cmake, this file will be generated. But with cmake , I can't build poco correctly....

this is better example for using poco with cmake https://github.com/RangelReale/pcacheproxy

shekharhimanshu commented 5 years ago

Yes, you will have to build (& install) Poco in order to use EasyHttp. You can pass information about the installed Poco libraries by setting the CMAKE_PREFIX_PATH with your cmake command.

Your cmake option should look like below (change the Poco install dir to actual value)

-DCMAKE_PREFIX_PATH=path/to/Poco/install/dir

See Wiki, https://github.com/sony/easyhttpcpp/wiki/Installing-EasyHttp#build-easyhttp

When I build poco with vs2015 sln, this file(PocoConfig.cmake) will not be generated

Where are you looking for config files? How are you building Poco? config files will generally be installed inside the CMAKE_INSTALLED_PATH.

dry11orange commented 5 years ago

ok Thank you