Win/98, VC++6.0 SP4, Python 1.6b1 (ActivePython 1.0),
CXX 5.0b (just downloaded off here).
Some of these may be problems with distutils (how can
I be sure...?), but as they all seem to be typical
of interactions with CXX, I think they belong here
(though some might forward them to distutils of course?).
install of CXX itself goes fine; problems emerge
installing (building, actually) Demo.
A warning: D:\Python16\CXX-5.0b\Demo>python setup.py install
warning: build_py: package init file '.\__init__.py' not found (or not a regular
Seems right -- no __init__.py in sight although Demo is called a package...?
An error: cxx is not a known extension for distutils for
SVC++ on Windows. Fix/workaround: add '.cxx' to list
at line 180 of distutil's msvccompiler.py:
_cpp_extensions = ['.cc','.cpp','.cxx'] # AM000829
Should it be there, or should CXX's Demo have cpp or cc
A warning: /GX is missing yet Demo exensively uses/needs
it (for the standard libraries). Fix/workaround: add
/GX to the option lines at lines 223-224 of msvccompiler.py.
I guess this one must be a distutils issue (although it's
only revealed by compiling C++ extensions, so some
liaison with CXX should be needed...?).
Crash trying out the example:
ActivePython 1.6, build 100 (ActiveState Tool Corp.)
based on Python 1.6b1 (#0, Aug 23 2000, 13:42:10) [MSC 32 bit (Intel)] on win32
Copyright (c) Corporation for National Research Initiatives.
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
>>> import CXX.example
CXX is installed.
The support files you need are in the PYTHON/etc/CXX directory.
The include files are in the distutils include path already.
Just refer to them as "CXX/CXX_Objects.h", etc.
abnormal program termination
No idea on this (yet). What exactly is going wrong...?
Ready to help with further diagnosis/whatever, let me