Skip to content

[LINK error] cannot find -lboost_log-mt #12

@LMerCy

Description

@LMerCy

I have installed boost 1.70 x64, and i add this to CMakeList.txt:
set(Boost_ARCHITECTURE "-x64")

After excute ../cmake i got this:

Found boost_log 1.70.0 at /usr/local/lib/cmake/boost_log-1.70.0
libboost_log-mt-d-x64.a
libboost_log-mt-x64.a

But link error still happened:
/usr/bin/ld: cannot find -lboost_log-mt
Could you tell me how to solve this problem?

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