Author Topic: linking boost libraries on Ubunutu  (Read 3076 times)

spectrem12

  • Guest
linking boost libraries on Ubunutu
« on: July 08, 2011, 02:51:44 am »
I am trying to link the libraries from boost to C::B. I have built the files but all I see in all the folders are .hpp files. Are there not supposed to be .lib files?

Going through build options, I gave search directories. I am now trying to do the linker settings. What do I put here. It will only take .lib and other files like that. Any ideas?

I have used the instructions at http://cboard.cprogramming.com/tech-board/121373-some-questions-about-boost-libraries-3.html#post982064 but its for windows and he says to




  now select the linker setting tab, and there , click "Add"
  and navigate to the libs folder where all of the libs are located ": i mean
  Code:

  F:\Boost\boost_1_44_0\stage\lib

  and now select all of the files you see there. when selected , click ok .
  a pop up window appears , click no , and then click Ok .




But its only folders available and like I said before there are not any .lib files in any of the boost folders.

Anyone have any ideas?
Thanks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: linking boost libraries on Ubunutu
« Reply #1 on: July 08, 2011, 06:44:04 am »
First:
why do you not use boost from ubuntu's repo ?
Building it yourself is much more complicated (the same is for every framework or thirs-party software in general).
You should have some experience in programming on linux, if you do so.

But it looks like you do not even know how libraries are named there.
They should have endings likes .so (shared libraries) or .a (static libraries).
Soemtimes the .so is only a link to .so.xx.yy.z, where xx.yy.z is the version-number of it.