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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:58:20+00:00 2026-06-14T08:58:20+00:00

at first sorry if the question was asked before, but i found nothing by

  • 0

at first sorry if the question was asked before, but i found nothing by searching.

At second:

  • I’m using Kubuntu 12.04,
  • gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3,
  • boost v1.48.0

As the title says, I have an application which uses the boost / program options Library.

Now I want to ship the source code of the application to my teacher, but he has not installed Boost. I am searching for a way to extract the corresponding source files from the whole boost library to ship only that files, that are really needed.

What I now want is a folder containing the headers and cpp files and a simple make by my teacher on his machine does the job.

But I don’t know how to get that files.

  • I’ve found bcp but I don’t know what to do with the output. There are .hpp and .cpp files but when I try to compile I get errors over errors…

  • Then I’ve seen the bootstrap.sh script in the boost folder and I called it with bootstrap.sh --with-libraries=program_options. That constructed a binary library and header files for every library.

Now I used the libboost_program_options.a from the second step and the header files from the first step together:

I put the path to the headers with -I path_to_header on the include-path and linked statically against libboost_program_options.a.

That even comiled and ran perfectly, but only on my machine and not on the machine of a friend, who is using Fedora 17 with gcc 4.7.x.

Is there any working and easy way like “put that header files and that cpp files in a folder and add the path to the cpp files to the list in your Makefile and then run make and HEY there you have the program”?

Thanks

  • 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-06-14T08:58:22+00:00Added an answer on June 14, 2026 at 8:58 am

    I don’t know, if this is the answer, you want to hear from me, but now my teacher installed the boost library on his computer, after he heard about these issues…

    Now I’m able to link the files with the -lboost_program_options option and it works on my machine, on my friend’s one and (probably the most important) on my teachers one…

    Thank you for your time 🙂

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

Sidebar

Related Questions

Sorry if this question's been asked before, but I can't seem to find an
I'm sorry if such a question is asked before but i could not find
first sorry if its a stupid question but im lost a bit. So when
First of all sorry if it's a dumb question (and surely it is), but
first of all, sorry if that question is dumb but I´m a total newbie
(I am sorry, I wanted to ask this question on meta first, but it
First, I'm sorry for the question title but I can't think of a better
First sorry if this was asked already but i cannot find an answer for
I'm sorry if this questions has been asked before, but I couldn't find an
First I want to state that I asked a similar question before, however I

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.