Skip to content

build fail(centos 7) #126

@pettershao-ragilenetworks

Description

help check, build fail(centos 7), where i have successfully build fboss, thanks:

-- Boost version: 1.69.0
-- Found the following Boost libraries:
--   date_time
--   program_options
-- boost: /opt/facebook/boost-v1ljJCCsMd3KjqvvmQ03sjKRlmfxOqak5Ni6Car4-g0/lib
-- Configuring done
CMake Error at example/CMakeLists.txt:30 (add_executable):
  Target "calendar" links to target "Boost::date_time" 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 example/CMakeLists.txt:30 (add_executable):
  Target "calendar" 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?


-- Generating done
-- Build files have been written to: /tmp/fbcode_builder_getdeps-ZrootZcodeZopenrZbuildZfbcode_builder-root/build/range-v3-n6JDMcYiMu3uFiboCRZjO2iIgZ8m0omTPbbX4vGQf2o
Command '['/usr/local/bin/cmake', '/tmp/fbcode_builder_getdeps-ZrootZcodeZopenrZbuildZfbcode_builder-root/extracted/range-v3-0.11.0.tar.gz/range-v3-0.11.0', '-DCMAKE_INSTALL_PREFIX=/opt/facebook/range-v3-n6JDMcYiMu3uFiboCRZjO2iIgZ8m0omTPbbX4vGQf2o', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBOOST_INCLUDEDIR=/usr/include/boost169', '-DBOOST_LIBRARYDIR=/usr/lib64/boost169', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-G', 'Ninja']' returned non-zero exit status 1.
!! Failed
[ERROR]: Failed to build openr

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions