Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6245457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:30:33+00:00 2026-05-24T12:30:33+00:00

I successfully switched to Linux, and I really start to love it. Except that

  • 0

I successfully switched to Linux, and I really start to love it. Except that I can’t link code against Boost libraries that are non-header only.

Steps that I have taken:

  1. Run sudo apt-get install libboost.*-dev in terminal to install the Boost libraries
  2. Let CMake generate my make-files and locate the Boost libraries as I have done it on Windows.
  3. Run make to compile.

The same code compiles and link fine under Windows with Microsoft Visual C++.

Further information

  • Console Output
  • Source

What else do I need to do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:30:34+00:00Added an answer on May 24, 2026 at 12:30 pm

    From your output and your CMakeFiles it doesn’t look like you are linking your code to the Boost filesystem library.

    That is,

    target_link_libraries(RCMeta ${Boost_FILESYSTEM_LIBRARY} ${Boost_REGEX_LIBRARY})
    

    Note: I may have the variable name wrong for that library you may have to double check it.

    You can also use the generic ${Boost_LIBRARIES} variable,

    target_link_libraries(RCMeta ${Boost_LIBRARIES})
    

    for your RCMeta library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have successfully switched my project from odbc.datareader to mysql.datareader. The problem is that
after successfully building my application the start fails because it relies on config files
Has someone successfully overridden the scoring of documents in a query so that the
Has anyone successfully implemented a Java based solution that uses Microsoft SQL Server 2005
The following code does not work correctly on Windows (but does on Linux): sock
i don't get it. i can plot one point successfully with the BalloonItemizedOverlay, however,
I'm trying to send a keystroke to another application. I can successfully find the
I successfully with webapp2 can authenticate and login/logout users and I have a decorator
I have an iPad app that I submitted to Apple successfully using my personal
As I can't post code I'm asking this as a theoretical question, but giving

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.