INFO gccxml cmd: ""C:\Packages\python-ogre\gccxml\bin\release
\gccxml.exe" -I"." -I"C:\cygwin\home\darran\trunk\projects\0709-ANUGA
\newviewer\include" -I"C:\cygwin\home\darran\trunk\projects\0709-ANUGA
\python-ogre\generated\anuga" -I"c:/Packages/python-ogre/ogrenew/
OgreMain/include" -D"OGRE_NONCLIENT_BUILD" -D"OGRE_GCC_VISIBILITY"
"anuga_include_all.h" -fxml="C:\cygwin\home\darran\trunk\projects\0709-
ANUGA\python-ogre\generated\anuga\anuga_include_all.h.xml""
[...]
pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured
while running GCC-XML: Could not determine GCCXML_EXECUTABLE setting.
Contrary to what it says above, I've verified that the actual problem
is that "The input line is too long". This is true when the above
command is entered manually at the DOS prompt or returned to pygccxml
via its call to os.popen4(cmd)[1].readline().
Any ideas on how to get around this?
Yes. It looks like your command line is really long. There are few
solutions to the problem:
1. I am going to modify pygccxml to use Win32 API, to use short paths,
when it builds command line. This will take some time to implement and
test.
2. To move your project upper
3. To create new drive, which points to some directory, for example
C:\cygwin\home\darran\trunk\projects\0709-ANUGA . In this case you
will have to modify configuration files only.
HTH
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
A gccxml question though, if I am trying to generate a VC8 wrapper, is
it necessary to use a gccxml binary compiled under VC8? My initial
thought was "surely no" since you're only using gccxml to create a
parsable tree, not to generate actual C++ code. And then I started to
wonder ...
Good
> A gccxml question though, if I am trying to generate a VC8 wrapper, is
> it necessary to use a gccxml binary compiled under VC8? My initial
> thought was "surely no" since you're only using gccxml to create a
> parsable tree, not to generate actual C++ code. And then I started to
> wonder ...
Definitely not. In our case it is even not important how gccxml is
configured( to work against MSVC 7.1 headers or MSVC 8.0 ). both of
them should be fine.