As John was saying, are you trying to build with visual studio or mingw/msys? If Visual studio then you need to point it to python27.lib not .a. If mingw then you need to launch cmake-gui from the msys console and select MSYS Makefiles as your generator (blow away your build tree and configure from scratch).<br>

<br><div class="gmail_quote">On Tue, Sep 20, 2011 at 9:09 AM, Concetta Piazzese <span dir="ltr">&lt;<a href="mailto:aliens30586@hotmail.it">aliens30586@hotmail.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div><div dir="ltr"><div class="im">
I got the same error with python 2.7<br><br></div><div><div class="im"><hr>From: <a href="mailto:david.partyka@kitware.com" target="_blank">david.partyka@kitware.com</a><br>Date: Tue, 20 Sep 2011 08:54:44 -0400<br>Subject: Re: [Paraview] Fatal error LNK1104: cannot open file &#39;python31.lib&#39;<br>

To: <a href="mailto:aliens30586@hotmail.it" target="_blank">aliens30586@hotmail.it</a><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><br></div><div><div></div><div class="h5">
As far as I am aware python 3.x will not work with ParaView or VTK. Python 2.7.2 is fine though.<br>
<br><div>On Tue, Sep 20, 2011 at 8:46 AM, Concetta Piazzese <span dir="ltr">&lt;<a href="mailto:aliens30586@hotmail.it" target="_blank">aliens30586@hotmail.it</a>&gt;</span> wrote:<br>

<blockquote style="border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
Hi,<br>I&#39;m tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS with MSVC2008.<br>In Cmake I set:<br>//Path to a program.<br>PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe<br><br>//Path to a file.<br>



PYTHON_INCLUDE_DIR:PATH=C:/Python31/include<br><br>//Path to a library.<br>PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a<br><br>but in Degub mode or Release mode i got this error:<br><br>LINK : fatal error LNK1104: cannot open file &#39;python31.lib&#39;.<br>



<br>What&#39;s wrong? Hope somebody could help me..<br>Thanks a lot<br><font color="#888888">Concetta<br>                                               </font></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div></div>                                               </div></div>
</blockquote></div><br>