<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This time I'm using "NMake Makefiles" and my attempt to run nmake failed with the following errors:</blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Scanning dependencies of target hello<br>[100%] Building CXX object CMakeFiles/hello.dir/hello.cpp.obj<br>hello.cpp<br>Linking CXX shared module hello.dll<br>LINK : fatal error LNK1104: cannot open file 'boost_python-vc90-mt-gd-1_39.lib'<br>
LINK Pass 1 failed. with 1104<br>NMAKE : fatal error U1077: '"C:\Program Files\CMake 2.6\bin\cmake.exe"' : return<br> code '0xffffffff'<br>Stop.<br>NMAKE : fatal error U1077: '"F:\Visual Studio\VC\BIN\nmake.exe"' : return code '<br>
0x2'<br>Stop.<br>NMAKE : fatal error U1077: '"F:\Visual Studio\VC\BIN\nmake.exe"' : return code '<br>0x2'<br>Stop.</blockquote><div><br> I'm getting frustrated. Does anyone have any idea? I need your help guys.<br>
<br> Nazia <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Message: 1<br>
Date: Fri, 29 May 2009 22:25:25 +0600<br>
From: nazia zaman <<a href="mailto:nazia.zaman11@gmail.com">nazia.zaman11@gmail.com</a>><br>
Subject: Re: [CMake] Problem with Linking CXX shared module<br>
To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID:<br>
<<a href="mailto:b0000b50905290925y39f72e10pa690819a6b42eec6@mail.gmail.com">b0000b50905290925y39f72e10pa690819a6b42eec6@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
I made a mistake. My boost python library is made for Visual C++ 9 and<br>
I think I should have compiled it with 'cmake -G Visual Studio 9<br>
2008'. This command creates a Visual Project. But I don't know how to<br>
create a *.dll file from this project so that I can use it as a<br>
library for python. Can anyone please help me?<br>
<br>
Nazia<br>
<br>
> Message: 2<br>
> Date: Thu, 28 May 2009 09:37:17 +0200<br>
> From: Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>><br>
> Subject: Re: [CMake] Problem with Linking CXX shared module<br>
> To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
> Message-ID: <<a href="mailto:20090528073717.GA20841@trinity.apaku.dnsalias.org">20090528073717.GA20841@trinity.apaku.dnsalias.org</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> On 28.05.09 11:27:45, nazia zaman wrote:<br>
><br>
>> # Find library locations using convenient cmake search functions<br>
>> include (FindBoost)<br>
>> include (FindPythonLibs)<br>
><br>
> This is wrong, these modules shouldn't be include()'ed. You need to use<br>
> find_package(Boost) and find_package(PythonLibs). See also the cmake<br>
> manual. Additionally you need to supply the components for Boost that<br>
> you later want to link against (i.e. the boost libraries) as explained<br>
> in the cmake manual. Else Boost_LIBRARIES will be empty.<br>
><br>
> Andreas<br>
><br>
> --<br>
> You will be married within a year, and divorced within two.<br>
><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> CMake mailing list<br>
> <a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
><br>
</blockquote></div><br>