<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>> Date: Tue, 20 Sep 2011 08:55:25 -0400<br>> Subject: Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'<br>> From: drescherjm@gmail.com<br>> To: aliens30586@hotmail.it<br>> CC: paraview@paraview.org<br>> <br>> > I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS<br>> > 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 'python31.lib'.<br>> ><br>> > What's wrong? Hope somebody could help me..<br>> > Thanks a lot<br>> > Concetta<br>> ><br>> <br>> Looks like you are mixing compilers. I mean .a files are from gcc and<br>> .lib files are from Visual Studio. These are not compatible.<br>> <br>> John<br></div>                                            </div></body>
</html>