Re: [CMake] How to link the third party libraries into the project?

2009-01-22 Thread Michael Jackson
You have a mix of boost libraries built with VS2005 (VC8) and VS2008 (VC9). You are compiling your program with VS2008 but only have the appropriate libraries for VS2005 for the specific library requested. You need to build/install the proper libraries for VS 2008. With visual studio you ca

Re: [CMake] How to link the third party libraries into the project?

2009-01-22 Thread Philip Lowman
On Thu, Jan 22, 2009 at 5:08 AM, Ram Mulage wrote: > Thank you all for the inputs. Shall try all the suggested methods and then > get back to you. > > Meanwhile I have another quick question. I am trying to build a > library(.lib) and the directory strcture is as mentioned below. > > |-Lib_a > |

Re: [CMake] How to link the third party libraries into the project?

2009-01-22 Thread Ram Mulage
Hi Adam, I have used the FindBoost.cmake and now am able to find the boost library(include and libs) but I have a linking problem. I am using the Boost_1_35 and in that am using several libriries including Boost::thread. I am getting the linker error for the Boost::thread; On my disk I have the be

Re: [CMake] How to link the third party libraries into the project?

2009-01-22 Thread Ram Mulage
Thank you all for the inputs. Shall try all the suggested methods and then get back to you. Meanwhile I have another quick question. I am trying to build a library(.lib) and the directory strcture is as mentioned below. |-Lib_a | -lib1 | -lib2 | -lib3 |-Lib_b Lib_a has three sub-directorie

Re: [CMake] How to link the third party libraries into the project?

2009-01-21 Thread Adam Weiss
On Wed, Jan 21, 2009 at 3:27 PM, Michael Jackson wrote: > > On Jan 21, 2009, at 3:19 PM, Alexander Neundorf wrote: > >> On Wednesday 21 January 2009, Ram Mulage wrote: >>> >>> Hi All, >>> >>> I am using boost library in my project and I want to link the boost >>> static >>> libraries into my proje

Re: [CMake] How to link the third party libraries into the project?

2009-01-21 Thread Michael Jackson
On Jan 21, 2009, at 3:19 PM, Alexander Neundorf wrote: On Wednesday 21 January 2009, Ram Mulage wrote: Hi All, I am using boost library in my project and I want to link the boost static libraries into my project. How do i do this? My project directory looks as below and each of the direc

Re: [CMake] How to link the third party libraries into the project?

2009-01-21 Thread Alexander Neundorf
On Wednesday 21 January 2009, Ram Mulage wrote: > Hi All, > > I am using boost library in my project and I want to link the boost static > libraries into my project. How do i do this? > > My project directory looks as below and each of the directories has the > CMakeLists.txt file. > > Project > >

[CMake] How to link the third party libraries into the project?

2009-01-21 Thread Ram Mulage
Hi All, I am using boost library in my project and I want to link the boost static libraries into my project. How do i do this? My project directory looks as below and each of the directories has the CMakeLists.txt file. Project |-Lib1 |-Lib2 |-Application I am using the some of the boos