Skip to content

Unable to locate Boost lib #6

@athenasyarifa

Description

@athenasyarifa

Hi!

Thank you for developing the tool! I am interested in using Recomb-Mix, but I am currently having problems installing it. I do have the C++ Boost and OpenMP Libraries installed, though I am using gcc v13.2.0. It seems the gcc is having problems locating the Boost lib and include path.

I tried running the following:

g++ -I$BOOST_ROOT/include/boost-1_84 -L$BOOST_ROOT/lib -std=c++17 -fopenmp RecombMix.cpp -l boost_iostreams -o RecombMix_v0.7 -Os

But this still does not work and outputs the following:

/usr/bin/ld: cannot find -lboost_iostreams: No such file or directory
collect2: error: ld returned 1 exit status

I was wondering how I can redirect the LD_LIBRARY_PATH and CMAKE_PREFIX_PATH to the Boost library. I would really appreciate any suggestions regarding this. Thank you in advance for your help!

Best,
Rifa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions