Hi,
I’ve followed the instructions for installing
ObjectHandler 0.9.7 under Windows, and got to the point where I’ve loaded
the Visual C++ Solution into Visual C++ 2008 Express Edition. A build of the
solution then fails with the following error:
1>------ Build started: Project: ohgensrc,
Configuration: All Win32 ------
1>Performing Makefile project actions
1>Microsoft (R) Program Maintenance Utility
Version 9.00.21022.08
1>Copyright (C) Microsoft Corporation. All
rights reserved.
1> ..\..\gensrc\gensrc.py -xdlv --oh_dir=..
1> File
"c:\build_ql_0_9_7\gensrc\gensrc.py", line 51
1> print USAGE_ERROR % {
'scriptName' : sys.argv[0] }
1>
^
1>SyntaxError: invalid syntax
1>NMAKE : fatal error U1077:
'..\..\gensrc\gensrc.py' : return code '0x1'
1>Stop.
1>Project : error PRJ0019: A tool returned an
error code from "Performing Makefile project actions"
1>Build log was saved at "file://c:\build_ql_0_9_7\ObjectHandler\gensrc\build\vc\BuildLog.htm"
1>ohgensrc - 2 error(s), 0 warning(s)
This looks like Python doesn’t understand the
gensrc.py script. I have
Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500
32 bit (Intel)] on win32
If I try to execute gensrc.py from the IDLE Python GUI
directly, I get a similar error.
I’m no expert on Python, so I don’t have a clue
where this problem might be coming from.
Can anyone help?
Thanks,
Erik
| Free forum by Nabble | Edit this page |