You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2021. It is now read-only.
libcurlのbuild
git clone https://github.com/curl/curl.git cd curl ./buildconf ./configure --disable-shared --enable-static --with-ssl make make installこれでlibcurl+opensslのstaticlibがビルドされ
/usr/lib/など既定の位置にインストールされるはず。CMakeLists.txtの変更
このリポジトリの
HTTPClient.hppSivHTTPClient.cppMain.cpp(任意)を
App/にコピーする。32行目
"./Main.cpp"の下に"./SivHTTPClient.cpp"38行目
target_link_libraries(内に-lcurlと書き込む。その後、
により通常通りビルドすれば実行できる。
参考としてCMakeLists.txtを添付する。
動作確認環境