Re: [CMake] Problem with Linking CXX shared module

2009-05-29 Thread nazia zaman
ext/plain; charset=ISO-8859-1 > > 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

Re: [CMake] Problem with Linking CXX shared module

2009-05-29 Thread nazia zaman
for python. Can anyone please help me? Nazia > Message: 2 > Date: Thu, 28 May 2009 09:37:17 +0200 > From: Andreas Pakulat > Subject: Re: [CMake] Problem with Linking CXX shared module > To: cmake@cmake.org > Message-ID: <20090528073717.ga20...@trinity.apaku.dnsalias.org> >

Re: [CMake] Problem with Linking CXX shared module

2009-05-28 Thread Marcel Loose
Subject: Re: [CMake] Problem with Linking CXX shared module Date: Thu, 28 May 2009 09:37:17 +0200 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 should

Re: [CMake] Problem with Linking CXX shared module

2009-05-28 Thread Andreas Pakulat
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 cmak

[CMake] Problem with Linking CXX shared module

2009-05-27 Thread nazia zaman
Hi all, I'm trying to compile a small module using boost python which is like this: /* File : test.cpp */ #include #include using namespace boost::python; class Test { public: std::string test() { return "Test passed."; }; }; BOOST_PYTHON_MODULE(test) { class_("Test") .def("tes