[CMake] Problem with Linking CXX shared module

nazia zaman nazia.zaman11 at gmail.com
Fri May 29 12:25:25 EDT 2009


I made a mistake. My boost python library is made for Visual C++ 9 and
I think I should have compiled it with 'cmake -G Visual Studio 9
2008'. This command creates a Visual Project. But I don't know how to
create a *.dll file from this project so that I can use it as a
library for python. Can anyone please help me?

Nazia

> Message: 2
> Date: Thu, 28 May 2009 09:37:17 +0200
> From: Andreas Pakulat <apaku at gmx.de>
> Subject: Re: [CMake] Problem with Linking CXX shared module
> To: cmake at cmake.org
> Message-ID: <20090528073717.GA20841 at trinity.apaku.dnsalias.org>
> Content-Type: text/plain; charset=us-ascii
>
> On 28.05.09 11:27:45, nazia zaman wrote:
>
>> # Find library locations using convenient cmake search functions
>> include (FindBoost)
>> include (FindPythonLibs)
>
> This is wrong, these modules shouldn't be include()'ed. You need to use
> find_package(Boost) and find_package(PythonLibs). See also the cmake
> manual. Additionally you need to supply the components for Boost that
> you later want to link against (i.e. the boost libraries) as explained
> in the cmake manual. Else Boost_LIBRARIES will be empty.
>
> Andreas
>
> --
> You will be married within a year, and divorced within two.
>
>
> ------------------------------
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
> End of CMake Digest, Vol 61, Issue 81
> *************************************
>


More information about the CMake mailing list