<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
I'll try with <br>PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/python31.lib<br>and I'll let you know. Thanks!<br><br><div>&gt; Date: Tue, 20 Sep 2011 08:55:25 -0400<br>&gt; Subject: Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'<br>&gt; From: drescherjm@gmail.com<br>&gt; To: aliens30586@hotmail.it<br>&gt; CC: paraview@paraview.org<br>&gt; <br>&gt; &gt; I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS<br>&gt; &gt; with MSVC2008.<br>&gt; &gt; In Cmake I set:<br>&gt; &gt; //Path to a program.<br>&gt; &gt; PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe<br>&gt; &gt;<br>&gt; &gt; //Path to a file.<br>&gt; &gt; PYTHON_INCLUDE_DIR:PATH=C:/Python31/include<br>&gt; &gt;<br>&gt; &gt; //Path to a library.<br>&gt; &gt; PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a<br>&gt; &gt;<br>&gt; &gt; but in Degub mode or Release mode i got this error:<br>&gt; &gt;<br>&gt; &gt; LINK : fatal error LNK1104: cannot open file 'python31.lib'.<br>&gt; &gt;<br>&gt; &gt; What's wrong? Hope somebody could help me..<br>&gt; &gt; Thanks a lot<br>&gt; &gt; Concetta<br>&gt; &gt;<br>&gt; <br>&gt; Looks like you are mixing compilers. I mean .a files are from gcc and<br>&gt; .lib files are from Visual Studio. These are not compatible.<br>&gt; <br>&gt; John<br></div>                                               </div></body>
</html>