Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Linux版での使用手順 #1

Description

@YASAI03

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.hpp
  • SivHTTPClient.cpp
  • Main.cpp(任意)
    をApp/にコピーする。
    32行目"./Main.cpp"の下に "./SivHTTPClient.cpp"
    38行目target_link_libraries(内に-lcurlと書き込む。
    その後、
cmake
make
./Siv3D_App

により通常通りビルドすれば実行できる。
参考としてCMakeLists.txtを添付する。


動作確認環境

  • ManjaroLinux(Xcfe) 20.0

Activity

  1. YASAI03 commented on May 31, 2020

    @YASAI03
    MemberAuthor

    動作が確認できた環境があればお知らせ頂けるとありがたいです

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions