Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: Re: Re:MantaCompiling onwindows


Chronological Thread 
  • From: "fltian" < >
  • To: "manta" < >
  • Subject: [Manta] Re: Re: Re: Re:MantaCompiling onwindows
  • Date: Tue, 14 Sep 2010 17:10:54 +0800

hi,
 
I use ICC in the VC2008 IDE, so there is no *.so file, and should be  *.lib file, but there is no _manta.lib.
When I compile the _manta project, the mantaPYTHON_wrap.cxx include the OpenGLDisplay.h, and this file include <X11/Xlib.h> and <GL/glx.h> ,so there is a compiling error on ICC in VC2008, how could I solve this question?
 
Tian
 
 
 
2010-09-14

fltian

发件人: Carson Brownlee
发送时间: 2010-09-14  16:01:44
收件人: manta
抄送:
主题: [Manta] Re: Re: Re:MantaCompiling onwindows
there should be a _manta.so file in build/lib.
Carson


On Sep 13, 2010, at 8:11 PM, fltian wrote:

hi,
 
I have already add the manta_build/lib and manta_build\SwigInterface into PYTHONPATH.
In the manta_build/lib path, I got files : manta.py, manta.pyc, mantainterface.py and pycallback.py.
There is no file name _manta.py, so I think that is why there is a ImportError: No module named _manta.
How could I get the _manta.py file ?
 
Tian
 
 
2010-09-14

fltian

发件人: Carson Brownlee
发送时间: 2010-09-14  05:13:20
收件人: manta
抄送:
主题: [Manta] Re:MantaCompiling onwindows
you need to put manta/build and manta/swigdirectory into your PYTHONPATH env variable.
Carson


On Sep 12, 2010, at 11:14 AM, fltian wrote:

hi,
 
The Libraries I used are wxpython 2.8, python 2.7 , swig 2.0
After building , I got the runwxmanta.exe in bin\release , this is the exe file that should work, right?
But when I run the runwxmanta.exe ,what I got is :
 
Traceback (most recent call last):
  File "<string>", line 23, in <module>
  File "E:\work\manta_make\Manta\SwigInterface\wxManta.py", line 18, in <module>
    from manta import *
  File "E:\work\manta_make\manta_build\lib\manta.py", line 25, in <module>
    _manta = swig_import_helper()
  File "E:\work\manta_make\manta_build\lib\manta.py", line 17, in swig_import_he
lper
    import _manta
ImportError: No module named _manta
 
Where could I get the module _manta?
 
Tian
 
 
2010-09-13

fltian

发件人: Carson Brownlee
发送时间: 2010-09-09  12:31:02
收件人: manta
抄送:
主题: [Manta] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:Re: Re: Re:MantaCompiling onwindows
wxpython 2.8 works fine.  I don't remember installing opengl  
extensions for python so probably just the three development libraries  
you mentioned should probably work.
Carson
On Sep 8, 2010, at 10:17 PM, James Bigler wrote:
> Yes, you will need to install those three packages.  As to the
> versions, you're best bet would be to try versions from about March of
> 2008, which is when I last used it.  Often new versions break
> something that usually requires a minor tweaks.
>
> You may also need to install the OpenGL extensions for python.  I
> can't remember if I decided to wrap the handful of functions we needed
> or rely on that package.
>
> James
>
>> hi,
>>
>> Should I install python 2.7, wxpython 2.8 and swig ?
>>
>> Tian






Archive powered by MHonArc 2.6.16.

Top of page