I have C::B with Ubuntu and I am trying to install the boost libraries. I have downloaded them. Built them in my /usr/include folder and now I am trying to link the libraries.
I gave search directories for C::B to look but not sure what to do about the linker settings.
I can not find any boost files that end with .lib to know which ones are the actual libraries.
Shared libraries have a ".so" extension (for "shared object") and static libraries have a ".a" extension (for "archive"). Do those exist?
Have you considered installing the Boost libraries that come with Ubuntu rather than building the Boost libraries yourself?
If you do choose to build Boost, it is best not to build them in /usr/include. Instead, build them elsewhere (like maybe your home directory) and have Boost install them to the proper location (/usr/local/... most likely). In that case the libraries would be in /usr/local/lib or /usr/local/lib64.
Did you check that Ubuntu doesn't provide boost libraries through its package management system?
As far as the linker settings tab goes, I am not familiar with C::B. However you will need a -L/path/to/the/libs flag on your compiler and a -llibname for each library you use.
If the libraries are installed in /usr/lib then the -L flag is not required.
Ubuntu comes with a package management system (as do all Linux distros) that allows you to install or remove software from the internet.
You should have a package manager program maybe Synaptic? (I don't use Ubuntu). If you run that you can search for the boost packages and install them.
I would remove the ones you installed yourself first if you choose to do that.
In order to program using boost you will need to install the development packages, not just the libraries. They may be called something like boost-devel or boost-dev or similar.
I have been doing some searching and using synaptic. I have now installed the development packages and the libraries.
But were they supposed to automatically link with C::B? Or do I have to manually set those up?