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 698177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:14:47+00:00 2026-05-14T03:14:47+00:00

I’m trying to get the Boost library working in my C++ projects in Eclipse.

  • 0

I’m trying to get the Boost library working in my C++ projects in Eclipse. I can successfully build when using header-only libraries in Boost such as the example simple program in the “Getting Started” guide using the lambda header.

I cannot get my project to successfully link to the regex Boost library as shown later in the guide. Under my project properties -> c/c++ build -> settings -> tool settings tab -> libraries, I have added “libboost_regex” to the Libraries box, and “C:\Program Files\boost\boost_1_42_0\bin.v2\libs” to the Library search path box since this is where all the .lib files are. I’ve even tried adding “libboost_regex-mgw34-mt-d-1_42.lib” to the libraries box instead of “libboost_regex” since that is the exact file name, but this did not work either.

I keep getting an error that says “cannot find -llibboost_regex” when I try to build my project. Any ideas as to how I can fix this?

Edit: on Windows XP, using mingw, and I have tried “boost_regex” as well..

  • 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-14T03:14:47+00:00Added an answer on May 14, 2026 at 3:14 am

    I just went through the whole process of installing MinGW, compiling boost and installing Eclipse CDT and I’m able to compile simple programs using boost:regex. I’ll write down all the steps. I hope that can be of help.

    I’ve installed MinGW and MSYS in their default location.

    Here are the step I took to build boost:

    • Download boost-jam-3.1.18-1-ntx86.zip from http://sourceforge.net/projects/boost/files/boost-jam
    • Put bjam.exe somewhere in your PATH
    • Unpack boost in C:\mingw\boost_1_42_0
    • Open an msys terminal window and cd /c/mingw/boost_1_42_0
    • In the boost directory run bjam --build-dir=build toolset=gcc stage

    To configure Eclipse:

    • Add CDT to Eclipse 3.5 from the update site
    • Create a new C++ project
    • Under the Project menu select properties
    • Make sure the configuration is Debug [Active]
    • In “C/C++ General” > “Paths and Symbols“

      • Under the Includes tab select the GNU C++ language and add C:\MinGW\boost_1_42_0
      • Under the Library Paths tab add C:\MinGW\boost_1_42_0\stage\lib
    • In “C/C++ Build” > “Settings“

      • Select MinGW C++ Linker > Libraries
      • Click on the add button for Libraries (-l)
      • Type libboost_regex-mgw34-mt-d (without the .lib)

    You can then go through the same steps for the Release configuration but use libboost_regex-mgw34-mt instead. Also make sure your source files include <boost/regex.hpp>

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

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
We're building an app, our first using Rails 3, and we're having to build
Basically, what I'm trying to create is a page of div tags, each has
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to render a haml file in a javascript response like so:
I want use html5's new tag to play a wav file (currently only supported
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

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.