Missing MSVCR71.dll

2006-08-08 Thread Hoop
Hi,
I am trying to get my application into debug. I am using VS2005 with
some Python code in it. Works fine in release build, but I do need to
go to dubug. I have ActivePython 2.4.3.12. It says it is missing
MSVCR71D.dll, I think that is an older .dll, maybe it should be an 8
for VS2005. MSVCR71D.dll is not even on my system.
I have seen a similar posting a while back. Suggestion was to download
the dll but I believe that could be incompatiable with VS2005.
Any help would be appreciated.

Thanks
Jeff

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Missing MSVCR71.dll

2006-08-08 Thread Hoop
Hi Farshid,
Yes, you are correct. I downloaded the dll and was able to run a debug
build.
Jeff

Farshid Lashkari wrote:
> The windows distribution of python was compiled with Visual Studio 7.1,
> so you need the 7.1 runtime libraries on your computer to run python. I
> haven't tried compiling an app with VS2005, but I don't see why they
> would be incompatible. I've compiled a python app using VS 7.0 and it
> worked fine.
> 
> -Farshid

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: beginner questions on embedding/extending python with C++

2006-08-09 Thread Hoop
Hi All,
I am in the process also of trying to call Python script from a C++
windows app.
I have looked at the Boost site and am currently reading over the
Embedding portion of the tutorial. A question I have is that there
appear to be about 4 or 5 Boost items avaiable for download. Which one
should be downloaded to do the embedding?
Thanks
Jeff
Qun Cao wrote:
> Thanks for all the good pointers!
> I am still reading throught them, but Boost seems to be the way to go!
>
> Roman Yakovenko wrote:
> > On 8 Aug 2006 02:28:31 -0700, Qun Cao <[EMAIL PROTECTED]> wrote:
> > > Hi Everyone,
> > >
> > > I am a beginner on cross language development. My problem at hand is to
> > > build a python interface for a C++ application built on top of a 3D
> > > game engine.  The purpose of this python interface is providing a
> > > convenient scripting toolkit for the application.
> >
> > As for me, Boost.Python is the way to go.
> >
> > Fortunately you are not the first one, and I hope not the last one :-) :
> >
> > http://language-binding.net/pyplusplus/quotes.html#who-is-using-pyplusplus
> > 1. Python-OGRE
> >   * http://lakin.weckers.net/index_ogre_python.html
> >   * http://tinyurl.com/mvj8d
> >
> > 2. http://cgkit.sourceforge.net/ - contains Python bindings for Maya C++ SDK
> >
> > 3. PyOpenSG - https://realityforge.vrsource.org/view/PyOpenSG/WebHome
> >The goal of PyOpenSG is to provide python bindings for the OpenSG
> >scene graph.
> >
> > > Since the main program is still going to be the C++ application, I
> > > guess we need to embedding the python scripts in the C++ code.
> >
> > Boost.Python is the only tool that provides complete functionality(
> > extending and
> >   embedding ). Also I think cgkit is dealing with the problem too.
> >
> > > But for this to work, the python code needs to know the Player class,
> > > is it right?
> >
> > Right.
> >
> > Does that mean I need to build a python wrapper class for
> > > Player and "import Player" in the python code?  But because this
> > > application is built on top of a game engine, Player class inherits
> > > many classes from there, I cannot possibly wrapping them all, right?
> >
> > It depends on how much functionality you want to export.
> >
> > > Also, some global objects are probably needed in this code of adding
> > > players, how can the python code access them?
> >
> > Boost.Python provides the functionality you need.
> >
> > > Btw, if you can point me to any source code of non-trivial projects
> > > utilizing SWIG/Boost.Python, that would be very helpful.  I found the
> > > examples on the tutorials are far too simple.
> >
> > Those are tutorials, they should be simple, right :-) ?
> >
> > --
> > Roman Yakovenko
> > C++ Python language binding
> > http://www.language-binding.net/

-- 
http://mail.python.org/mailman/listinfo/python-list


Boost Install

2006-08-11 Thread Hoop
Hi All,
I am wondering if any have done an install of Boost for Python
embedding?
I have downoaded boost_1_33_1.exe, ran that and now have a boost_1_33_1
directory with plenty of items ine it.
I have attempted to follow some online install directions which do not
seem to work. I am using VS2005.
I have tried, bjam "--with-python-version[=2.4] and just get a
statement saying that bjam is not recognized. Really is no batch file
or executable with that name in the boost directory.
Not sure what to do to get the Boost.Python installed.
Thanks for any help.
Jeff

-- 
http://mail.python.org/mailman/listinfo/python-list


Boost Build Warning

2006-08-14 Thread Hoop
Hi,
I am trying to run the Hello World example in Boost.Python from the
Building Hello World documentation. I believe that I have everything
set up right but I get these three warnings,

warning: no toolsets are configured.
warning: you won't be able to build C++ programs.
warning: please consult the documentation.

Not sure how to set up the toolsets or what documentation is being
refered to here.
To compile I do,( from the example, for using VS2005)
bjam -s VC80_ROOT=vc-8_0
not totally sure if that is right so I have tried a few others like,
bjam -sTOOLS=vc-8_0

Any help would be appreciated.
Thanks
Jeff

-- 
http://mail.python.org/mailman/listinfo/python-list


Basic Boost.Python Question

2006-08-14 Thread Hoop
Hi,

I have been working in getting Boost.Python running on my PC, seems to
work now.
I have what I believe is somewhat of basic question here.
I am starting on an application that will developed in VS2005, probably
using C++/CLI.
 I want to be able to exchange data in between Python and C++. The user
when running the  C++ app will be able to call a python script, set
some values, that will then be communicated to running application, it
will have to run the python code, and send some data to the
applicationfrom Python to vary the performance. And probably the C++
end will have to call a python script and pass some data to it.
So, is Boost.Python the way to go here or is there something else that
will accomplish this?

Thanks for your help
Jeff

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Basic Boost.Python Question

2006-08-15 Thread Hoop
Hi Neil,
I have never heard of IronPython. Do you know if you can embedd the
Python interpreter ?
Thanks
Jeff

Neil Hodgson wrote:
> Hoop:
>
> > I am starting on an application that will developed in VS2005, probably
> > using C++/CLI.
>
> I haven't heard any reports of Boost.Python code being compatible
> with C++/CLI so you may need to add an adaptation layer. To run inside
> .NET, I'd choose IronPython.
> 
> Neil

-- 
http://mail.python.org/mailman/listinfo/python-list