Skip to content
This repository was archived by the owner on Jun 4, 2022. It is now read-only.

Conversation

@martynas-gryb
Copy link

When compiling open/R on ubuntu 20.04 compilation fails with warnings:

    -- Configuring done
    CMake Error at fbzmq/CMakeLists.txt:232 (add_executable):
      Target "zmq_client_example" links to target "Boost::filesystem" 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 fbzmq/CMakeLists.txt:232 (add_executable):
      Target "zmq_client_example" links to target "Boost::program_options" 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 fbzmq/CMakeLists.txt:232 (add_executable):
      Target "zmq_client_example" links to target "Boost::regex" but the target
      was not found.  Perhaps a find_package() call is missing for an IMPORTED
      target, or an ALIAS target is missing?

    ...

Solution: add explicitly missing dependancies

Without these dependancies boost compilation fails
on ubuntu 20.04:
    -- Configuring done
    CMake Error at fbzmq/CMakeLists.txt:232 (add_executable):
      Target "zmq_client_example" links to target "Boost::filesystem" 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 fbzmq/CMakeLists.txt:232 (add_executable):
      Target "zmq_client_example" links to target "Boost::program_options" 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 fbzmq/CMakeLists.txt:232 (add_executable):
      Target "zmq_client_example" links to target "Boost::regex" but the target
      was not found.  Perhaps a find_package() call is missing for an IMPORTED
      target, or an ALIAS target is missing?

    ...
@facebook-github-bot
Copy link

@cooperlees has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link

@cooperlees merged this pull request in 2b31566.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants