Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build instructions for EasyHttp Release 2.x.x? #13

Description

@serg06

Brief overview

I tried to build EasyHttp on Windows using the wiki guide. It worked for EasyHttp 1.0.0, but not for 2.0.0 or 2.1.0.

First I was getting this error:

CMake Error at C:/repo/poco/NetSSL_Win/cmake/PocoNetSSLWinConfig.cmake:5 (include):
  include could not find load file:

    C:/repo/poco/NetSSL_Win/cmake/PocoNetSSLWinTargets.cmake

I fixed it by changing my Poco CMake command to this:

cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_NETSSL_WIN=ON ../

But now I have a new issue when I try to build:

C:\repo\easyhttpcpp\_build>cmake -DCMAKE_PREFIX_PATH="C:/repo/poco/_build" ..
-- Configuring done
CMake Warning:
  Value of CMAKE_CXX_FLAGS_DEBUG contained a newline; truncating


CMake Warning:
  Value of CMAKE_CXX_FLAGS_MINSIZEREL contained a newline; truncating


CMake Warning:
  Value of CMAKE_CXX_FLAGS_RELEASE contained a newline; truncating


CMake Warning:
  Value of CMAKE_CXX_FLAGS_RELWITHDEBINFO contained a newline; truncating


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::NetSSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::NetSSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::NetSSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::NetSSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::NetSSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "Poco::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:105 (add_library):
  Target "easyhttp" links to target "OpenSSL::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

C:\repo\easyhttpcpp\_build>

What am I doing wrong?

Steps to reproduce

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

EasyHttp Release 2.1.0.

Poco 1.7.9.

Windows 10 x64 on a Dell G3 laptop.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions