I get a memory error from command-line. What can be wrong?
I would very much appreciate a hint here...
Here's the testing-output
from the interpreter:
================
Python 2.2.1 (#34, Apr 16 2002,
14:23:00) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits"
or "license" for more information.
>>> import
getting_started1
>>> print getting_started1.greet()
Traceback
(most recent call last):
File "<stdin>", line 1, in
?
MemoryError
>>> print getting_started1.greet
<class
boost::python::detail::function object at 0x00A72754>
>>> print
getting_started1.square(5)
25
>>>
================
It
does not seem to work with vc6 either (but I may be mixing some files that
shouldn't...).
Cheers,
Pål
Other details:
Downloaded
boost from cvs April 23.
Downloaded jam from http://groups.yahoo.com/group/jamboost/files/jam.exe
today April 26
Using python 2.2.1 (built with vc7):
set
PYTHON_ROOT=C:\palfh\Python-2.2.1
set PYTHON_VERSION=2.2
set
VISUALC=""C:\Develop\Microsoft Visual Studio\VC98""
set VC7_ROOT=""C:\Program
Files\Microsoft Visual Studio .NET\Vc7""
set VISUALC=%VC7_ROOT%
set
MSVCDir=%VISUALC%
set
JAM_TOOLSET=VISUALC
C:\palfh\cvs_boost\boost>jam -sBOOST_ROOT=.
-sTOOLS="msvc"
...found 789 targets...
...updating 2 targets...
File
libs\regex\build\bin-stage\boost_regex.lib
1 file(s) copied.
File
libs\thread\build\bin-stage\boost_threadmonds.lib
1 file(s) copied.
...updated 2
targets...
C:\palfh\cvs_boost\boost\libs\python\libs>jam
-v
Boost.Jam Version 3.1.0. OS=NT. Copyright
1993-2002 Christopher Seiwald and
Perforce Software, Inc.
Copyright 2001 David Turner.
Copyright 2001-2002 David
Abrahams.