Try editing the Makefile.vc files (2 of them) and putting your full path to python.exe before the gensrc.py.
The current Makefile.vc tries to execute the python files by executing them directly instead of passing them as a parameter to python.exe . Apparently that is supposed to work if .PY is in your PATHEXT environment variable, but it fails on my Windows 7 machine too.
The workaround solved my problem.
I was able to build the QLXL1.4.0 xll file before, but I had to rebuild my Win 7 SP1 machine and am now receiving the following error that starts a cascade of problems:
NMAKE : fatal error U1077: ‘..\..\gensrc\gensrc.py’ : return code ‘0x1’
It occurs in building gensrc and ohgensrc, each time followed by:
C:\Program Files (x86)\MSBuild\Microsoft.cpp\v4.0\Microsoft.MakeFile.Targets(43,5): error MSB3073: The command “NMAKE /f Makefile.vc /a” exited with code 2.
The user list questions regarding this seem to be solved by using a version of Python in the 2.x series. I am using 2.7.6, from Anaconda, however, so I do not think that is the problem.
Microsoft says there is a problem with Visual Studio 2010 and NMake, so I am wondering if you recommend using Visual Studio 2012 to see if that solves the problem.
I do not know if the exe installers files registered or just unpacked the QL-1.2.0 files, so I do not know if I can uninstall all the folders from the process of compiling QuantLibXL 1.2.0 that I built using msvc-10.0, create folders into which to copy the most recent versions of the following from GIT hub:
· gensrc
· log4cxx
· ObjectHandler
· QuantLib
· QuantLibAddin
· QuantLibXL
and use msvc-11.1 to build the newest version referring to those folders.
Please advise.
Nicholas
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
| Free forum by Nabble | Edit this page |