t-crest / patmos-simulator

Host the Patmos ISA simulator
2 stars 2 forks source link

Build error on a plain Linux target #24

Closed schoeberl closed 2 months ago

schoeberl commented 1 year ago

Tried to build the simulator on a DTU Linux machine (after installing described dependencies) I got:

CMake Error at /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake:141 (find_package):
  Could not find a configuration file for package "boost_program_options"
  that exactly matches requested version "1.76.0".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/boost_program_options-1.71.0/boost_program_options-config.cmake, version: 1.71.0
    /lib/x86_64-linux-gnu/cmake/boost_program_options-1.71.0/boost_program_options-config.cmake, version: 1.71.0

Call Stack (most recent call first):
  /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake:258 (boost_find_component)
  /usr/local/share/cmake-3.14/Modules/FindBoost.cmake:266 (find_package)
  CMakeLists.txt:54 (find_package)
Emoun commented 1 year ago

What cmake version is that machine running?

Emoun commented 1 year ago

I might have found the problem: https://github.com/boostorg/boost_install/issues/12#issuecomment-508527237

Could you try and apply that comment's suggestion and see if it solves the problem?

Emoun commented 2 months ago

I'm assuming this issue is no longer relevant. Closing