mrtazz / restclient-cpp

C++ client for making HTTP/REST requests
http://code.mrtazz.com/restclient-cpp/
MIT License
1.57k stars 377 forks source link

how to build restclient-cpp on windows platforms ? #101

Closed how0723 closed 6 years ago

how0723 commented 6 years ago

how to build restclient-cpp on windows platforms ? such as win10

ghabxph commented 6 years ago

same question I was going to raise.

Does this work with windows?

Thanks for the answer!! :]

how0723 commented 6 years ago

@ghabxph yes. it can work on windows platforms. i have build it successfully.

mrtazz commented 6 years ago

thanks for confirming! It's an autotools build so as long as you have that environment up, it should work.

muhaye commented 6 years ago

@mrtazz I'm having some trouble cross-compiling ./configure --host=x86_64-w64-mingw32

1) was expecting to get some librestclient_cpp.dll.a, but just librestclient-cpp.a librestclient-cpp.la -> ../librestclient-cpp.la librestclient-cpp.lai

I get these error:

librestclient-cpp.a(librestclient_cpp_la-restclient.o):restclient.cc:(.text+0x10): undefined reference to `__imp_curl_global_init' ...

Any help willl be appreciate

tyler-chang commented 5 years ago

@how0723 Can you share how to build that on windows? Thank you.