Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'

2011-09-20 Thread Concetta Piazzese

I followed your advices about python 2.7 and solved the problem. I downloaded 
and used the wrong Windows binary (Python 2.7.2 Windows X86-64 Installer - 
Windows AMD64 / Intel 64 / X86-64
binary). The right binary is  Python 2.7.2 Windows Installer - Windows binary.
So finally I receive no more errors in debug mode but I have a question: where 
is the paraview.exe file?
Thanks to everyone for your support!


From: aliens30...@hotmail.it
To: david.part...@kitware.com
CC: paraview@paraview.org
Subject: RE: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'
Date: Tue, 20 Sep 2011 15:09:31 +0200








I got the same error with python 2.7

From: david.part...@kitware.com
Date: Tue, 20 Sep 2011 08:54:44 -0400
Subject: Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'
To: aliens30...@hotmail.it
CC: paraview@paraview.org

As far as I am aware python 3.x will not work with ParaView or VTK. Python 
2.7.2 is fine though.

On Tue, Sep 20, 2011 at 8:46 AM, Concetta Piazzese  
wrote:







Hi,
I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS with 
MSVC2008.
In Cmake I set:
//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe

//Path to a file.


PYTHON_INCLUDE_DIR:PATH=C:/Python31/include

//Path to a library.
PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a

but in Degub mode or Release mode i got this error:

LINK : fatal error LNK1104: cannot open file 'python31.lib'.



What's wrong? Hope somebody could help me..
Thanks a lot
Concetta
  

___

Powered by www.kitware.com



Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html



Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView



Follow this link to subscribe/unsubscribe:

http://www.paraview.org/mailman/listinfo/paraview




  ___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'

2011-09-20 Thread David Partyka
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).

On Tue, Sep 20, 2011 at 9:09 AM, Concetta Piazzese
wrote:

>  I got the same error with python 2.7
>
> --
> From: david.part...@kitware.com
> Date: Tue, 20 Sep 2011 08:54:44 -0400
> Subject: Re: [Paraview] Fatal error LNK1104: cannot open file
> 'python31.lib'
> To: aliens30...@hotmail.it
> CC: paraview@paraview.org
>
> As far as I am aware python 3.x will not work with ParaView or VTK. Python
> 2.7.2 is fine though.
>
> On Tue, Sep 20, 2011 at 8:46 AM, Concetta Piazzese  > wrote:
>
>  Hi,
> I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS
> with MSVC2008.
> In Cmake I set:
> //Path to a program.
> PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe
>
> //Path to a file.
> PYTHON_INCLUDE_DIR:PATH=C:/Python31/include
>
> //Path to a library.
> PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a
>
> but in Degub mode or Release mode i got this error:
>
> LINK : fatal error LNK1104: cannot open file 'python31.lib'.
>
> What's wrong? Hope somebody could help me..
> Thanks a lot
> Concetta
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'

2011-09-20 Thread Concetta Piazzese

I'll try with 
PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/python31.lib
and I'll let you know. Thanks!

> Date: Tue, 20 Sep 2011 08:55:25 -0400
> Subject: Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'
> From: dresche...@gmail.com
> To: aliens30...@hotmail.it
> CC: paraview@paraview.org
> 
> > I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS
> > with MSVC2008.
> > In Cmake I set:
> > //Path to a program.
> > PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe
> >
> > //Path to a file.
> > PYTHON_INCLUDE_DIR:PATH=C:/Python31/include
> >
> > //Path to a library.
> > PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a
> >
> > but in Degub mode or Release mode i got this error:
> >
> > LINK : fatal error LNK1104: cannot open file 'python31.lib'.
> >
> > What's wrong? Hope somebody could help me..
> > Thanks a lot
> > Concetta
> >
> 
> Looks like you are mixing compilers. I mean .a files are from gcc and
> .lib files are from Visual Studio. These are not compatible.
> 
> John
  ___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'

2011-09-20 Thread Concetta Piazzese

I got the same error with python 2.7

From: david.part...@kitware.com
Date: Tue, 20 Sep 2011 08:54:44 -0400
Subject: Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'
To: aliens30...@hotmail.it
CC: paraview@paraview.org

As far as I am aware python 3.x will not work with ParaView or VTK. Python 
2.7.2 is fine though.

On Tue, Sep 20, 2011 at 8:46 AM, Concetta Piazzese  
wrote:







Hi,
I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS with 
MSVC2008.
In Cmake I set:
//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe

//Path to a file.


PYTHON_INCLUDE_DIR:PATH=C:/Python31/include

//Path to a library.
PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a

but in Degub mode or Release mode i got this error:

LINK : fatal error LNK1104: cannot open file 'python31.lib'.



What's wrong? Hope somebody could help me..
Thanks a lot
Concetta
  

___

Powered by www.kitware.com



Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html



Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView



Follow this link to subscribe/unsubscribe:

http://www.paraview.org/mailman/listinfo/paraview



  ___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'

2011-09-20 Thread John Drescher
> I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS
> with MSVC2008.
> In Cmake I set:
> //Path to a program.
> PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe
>
> //Path to a file.
> PYTHON_INCLUDE_DIR:PATH=C:/Python31/include
>
> //Path to a library.
> PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a
>
> but in Degub mode or Release mode i got this error:
>
> LINK : fatal error LNK1104: cannot open file 'python31.lib'.
>
> What's wrong? Hope somebody could help me..
> Thanks a lot
> Concetta
>

Looks like you are mixing compilers. I mean .a files are from gcc and
.lib files are from Visual Studio. These are not compatible.

John
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'

2011-09-20 Thread David Partyka
As far as I am aware python 3.x will not work with ParaView or VTK. Python
2.7.2 is fine though.

On Tue, Sep 20, 2011 at 8:46 AM, Concetta Piazzese
wrote:

>  Hi,
> I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS
> with MSVC2008.
> In Cmake I set:
> //Path to a program.
> PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe
>
> //Path to a file.
> PYTHON_INCLUDE_DIR:PATH=C:/Python31/include
>
> //Path to a library.
> PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a
>
> but in Degub mode or Release mode i got this error:
>
> LINK : fatal error LNK1104: cannot open file 'python31.lib'.
>
> What's wrong? Hope somebody could help me..
> Thanks a lot
> Concetta
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Fatal error LNK1104: cannot open file 'python31.lib'

2011-09-20 Thread Concetta Piazzese

Hi,
I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS with 
MSVC2008.
In Cmake I set:
//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe

//Path to a file.
PYTHON_INCLUDE_DIR:PATH=C:/Python31/include

//Path to a library.
PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a

but in Degub mode or Release mode i got this error:

LINK : fatal error LNK1104: cannot open file 'python31.lib'.

What's wrong? Hope somebody could help me..
Thanks a lot
Concetta
  ___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview