Problems with compiling qtgensrc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with compiling qtgensrc

Eric Tham

Just this one more error .. can anyone help?


2>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
2>Performing Makefile project actions
2>Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
2>Copyright (C) Microsoft Corporation.  All rights reserved.
2> ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
2>begin ...
2> begin generating Excel...
2>>
2>> gensrc has encountered a fatal error.
2>>
2>> >>>>>>>>>> BEGIN STACK TRACE >>>>>>>>>>
2>>
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc.py", line 124, in <module>
2>>     addinList.generate()
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\addinlist.py", line 74, in generate
2>>     self.generateCode()
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\addinlist.py", line 83, in generateCode
2>>     addin.generate(self.categoryList_, self.enumerationList_)
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\excel.py", line 100, in generate
2>>     self.generateAddin()
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\excel.py", line 270, in generateAddin
2>>     self.generateRegisterFunctions(cat)
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\excel.py", line 255, in generateRegisterFunctions
2>>     self.outputRegisterFile(registerCode, unregisterCode, cat.name())
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\excel.py", line 243, in outputRegisterFile
2>>     outputfile.OutputFile(self, registerFile, self.copyright_, registerBuffer)
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\utilities\outputfile.py", line 85, in __init__
2>>     self.outFile_ = file(self.fileNameTemp_, 'w')
2>>
2>> <<<<<<<<<<  END STACK TRACE  <<<<<<<<<<
2>>
2>> gensrc error:
2>> [Errno 2] No such file or directory: u'd:\\C++ projects\\build_ql_0_9_6\\QuantLibXL\\qlxl/register/register_abcd.cpp.temp'
2>>
2>> NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems with compiling qtgensrc

Eric Ehlers-2
Hello,

On Sun, September 21, 2008 15:34, Eric Tham wrote:
> Just this one more error .. can anyone help?
>
>
> 2>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
2>Performing Makefile project actions
> 2>Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
2>Copyright (C) Microsoft Corporation.  All rights reserved.
> 2> ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
> 2>begin ...
> 2> begin generating Excel...
> 2>>
> 2>> gensrc has encountered a fatal error.
> 2>>
> 2>> >>>>>>>>>> BEGIN STACK TRACE >>>>>>>>>>
> 2>>
> 2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc.py", line 124, in
<module>
> 2>>     addinList.generate()
> 2>>   File "d:\C++
> projects\build_ql_0_9_6\gensrc\gensrc\addins\addinlist.py", line 74, in
generate
> 2>>     self.generateCode()
> 2>>   File "d:\C++
> projects\build_ql_0_9_6\gensrc\gensrc\addins\addinlist.py", line 83, in
generateCode
> 2>>     addin.generate(self.categoryList_, self.enumerationList_) 2>>   File
"d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\excel.py", line 100, in
generate
> 2>>     self.generateAddin()
> 2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\excel.py",
line 270, in generateAddin
> 2>>     self.generateRegisterFunctions(cat)
> 2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\excel.py",
line 255, in generateRegisterFunctions
> 2>>     self.outputRegisterFile(registerCode, unregisterCode, cat.name())
2>>   File "d:\C++ projects\build_ql_0_9_6\gensrc\gensrc\addins\excel.py",
line 243, in outputRegisterFile
> 2>>     outputfile.OutputFile(self, registerFile, self.copyright_,
registerBuffer)
> 2>>   File "d:\C++
> projects\build_ql_0_9_6\gensrc\gensrc\utilities\outputfile.py", line 85, in
__init__
> 2>>     self.outFile_ = file(self.fileNameTemp_, 'w')
> 2>>
> 2>> <<<<<<<<<<  END STACK TRACE  <<<<<<<<<<
> 2>>
> 2>> gensrc error:
> 2>> [Errno 2] No such file or directory: u'd:\\C++
> projects\\build_ql_0_9_6\\QuantLibXL\\qlxl/register/register_abcd.cpp.temp'

Which build are you trying to do?

    1) QuantLibXL - http://www.quantlibaddin.org/build_qlxl.html
    2) QuantLibAddin - http://www.quantlibaddin.org/build_cpp.html

If 1): You must download QuantLibXL-src-0.9.6.exe and install it to
C:\build_ql_0_9_6\QuantLibXL as explained in the documentation.

If 2): That QuantLibAddin build includes an unnecessary reference to a
QuantLibXL directory.  To fix the problem, either install the QuantLibXL
source as described above, or edit file

    C:\build_ql_0_9_6\QuantLibAddin\gensrc\Makefile.vc

and change line 28 from this

    $(GENSRC_DIR)\gensrc.py -a --oh_dir=$(OH_DIR)

to this

    $(GENSRC_DIR)\gensrc.py -pvelsd --oh_dir=$(OH_DIR)

Sorry for that glitch, I'll try to get it fixed.

Regards,
Eric

-------------------------
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
Distributed computing for pricing analytics - Use Microsoft Excel as a client
to the Grid





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users