http://quantlib.414.s1.nabble.com/problems-compiling-QuantLibXL-from-tp15602p15605.html
In addition to the feedback below - the documentation for the build is here:
on to the full build if you want to add new functions.
release.
> Also, if you don't plan to modify the files, you can start from the
> released versions at <
https://sourceforge.net/projects/quantlib/files/>
> which already include the generated files.
>
> Luigi
>
>
> On Tue, Jul 15, 2014 at 7:21 PM, Francois Botha <
[hidden email]> wrote:
>
>> If I'm not mistaken, these files are generated by a Python script. This
>> script should execute when the two *gensrc projects in the solution builds.
>> Try building those projects independently and check the output. If it
>> fails, make sure python.exe is in the path environment variable, or edit
>> Makefile.vc (there are two of them) and replace:
>>
>> $(GENSRC_DIR)\gensrc.py -a --oh_dir=$(OH_DIR)
>>
>> with
>>
>> c:\Python27\python.exe $(GENSRC_DIR)\gensrc.py -a --oh_dir=$(OH_DIR)
>>
>> or whatever your path to python.exe is. Do the same in the other
>> Makefile.vc
>>
>> Francois Botha
>>
>>
>> On 15 July 2014 18:17, Alejandro Duarte <
[hidden email]> wrote:
>>
>>> Hi
>>>
>>>
>>>
>>> I’m trying to compile QuantLibXL_full_vc9 (I’m working with the codebase
>>> from
https://github.com/lballabio/quantlib) and I’m getting the
>>> following error:
>>>
>>>
>>>
>>> ----------
>>>
>>> 7>serialization_volatility.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_volatility.cpp': No such file
>>> or directory
>>>
>>> 7>serialization_volatilities.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_volatilities.cpp': No such file
>>> or directory
>>>
>>> 7>serialization_vanillaswap.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_vanillaswap.cpp': No such file
>>> or directory
>>>
>>> 7>serialization_timeseries.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_timeseries.cpp': No such file
>>> or directory
>>>
>>> 7>serialization_termstructures.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_termstructures.cpp': No such
>>> file or directory
>>>
>>> 7>serialization_swaptionvolstructure.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_swaptionvolstructure.cpp': No
>>> such file or directory
>>>
>>> 7>serialization_swaption.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_swaption.cpp': No such file or
>>> directory
>>>
>>> 7>serialization_swap.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_swap.cpp': No such file or
>>> directory
>>>
>>> 7>serialization_statistics.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_statistics.cpp': No such file
>>> or directory
>>>
>>> 7>serialization_smilesection.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_smilesection.cpp': No such file
>>> or directory
>>>
>>> 7>serialization_shortratemodels.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_shortratemodels.cpp': No such
>>> file or directory
>>>
>>> 7>serialization_sequencestatistics.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_sequencestatistics.cpp': No
>>> such file or directory
>>>
>>> 7>serialization_schedule.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_schedule.cpp': No such file or
>>> directory
>>>
>>> 7>serialization_ratehelpers.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_ratehelpers.cpp': No such file
>>> or directory
>>>
>>> 7>serialization_rangeaccrual.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_rangeaccrual.cpp': No such file
>>> or directory
>>>
>>> 7>serialization_randomsequencegenerator.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_randomsequencegenerator.cpp':
>>> No such file or directory
>>>
>>> 7>serialization_quotes.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_quotes.cpp': No such file or
>>> directory
>>>
>>> 7>serialization_products.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_products.cpp': No such file or
>>> directory
>>>
>>> 7>serialization_processes.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_processes.cpp': No such file or
>>> directory
>>>
>>> 7>serialization_pricingengines.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_pricingengines.cpp': No such
>>> file or directory
>>>
>>> 7>serialization_piecewiseyieldcurve.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_piecewiseyieldcurve.cpp': No
>>> such file or directory
>>>
>>> 7>serialization_payoffs.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_payoffs.cpp': No such file or
>>> directory
>>>
>>> 7>serialization_overnightindexedswap.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_overnightindexedswap.cpp': No
>>> such file or directory
>>>
>>> 7>serialization_options.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_options.cpp': No such file or
>>> directory
>>>
>>> 7>serialization_optimization.cpp
>>>
>>> 7>c1xx : fatal error C1083: Cannot open source file:
>>> '.\qlo\serialization\register\serialization_optimization.cpp': No such file
>>> or directory
>>>
>>>
>>>
>>> ……
>>>
>>>
>>>
>>> And
>>>
>>>
>>>
>>> c1xx : fatal error C1083: Cannot open source file:
>>> '..\register\register_enumerations.cpp': No such file or directory
>>>
>>> 9>register_all.cpp
>>>
>>> 9>c1xx : fatal error C1083: Cannot open source file:
>>> '..\register\register_all.cpp': No such file or directory
>>>
>>> 9>valueobjects.cpp
>>>
>>> 9>c1xx : fatal error C1083: Cannot open source file:
>>> '..\functions\valueobjects.cpp': No such file or directory
>>>
>>> 9>serialization.cpp
>>>
>>> 9>c1xx : fatal error C1083: Cannot open source file:
>>> '..\functions\serialization.cpp': No such file or directory
>>>
>>> 9>range.cpp
>>>
>>> 9>c1xx : fatal error C1083: Cannot open source file:
>>> '..\functions\range.cpp': No such file or directory
>>>
>>> 6>creditriskplus.cpp
>>>
>>>
>>>
>>> ….
>>>
>>>
>>>
>>>
>>>
>>> I was wondering if there are some files missing in the repository or if
>>> the code generation process is failing for me. ..
>>>
>>>
>>>
>>> Any advice will be much appreciated.
>>>
>>>
>>>
>>> Thank you!
>>>
>>>
>>>
>>> Ale
>>> ------------------------------
>>>
>>> *BRG DISCLAIMER*
>>> THIS EMAIL TRANSMISSION AND ANY ATTACHMENTS HERETO CONTAIN INFORMATION
>>> FROM BERKELEY RESEARCH GROUP, LLC WHICH MAY BE CONFIDENTIAL AND PRIVILEGED.
>>> THE INFORMATION IS INTENDED FOR THE SOLE USE OF THE INDIVIDUAL OR ENTITY TO
>>> WHOM IT IS ADDRESSED. IF YOU ARE NOT THE INTENDED RECIPIENT, YOUR USE,
>>> DISSEMINATION, FORWARDING, PRINTING OR COPYING OF THIS INFORMATION IS
>>> PROHIBITED.
>>>
>>>
>>>
>>> *TAX ADVICE DISCLOSURE*
>>>
>>> ANY TAX ADVICE CONTAINED IN THIS COMMUNICATION (INCLUDING ANY
>>> ATTACHMENTS) IS NOT INTENDED OR WRITTEN TO BE USED, AND CANNOT BE USED, FOR
>>> THE PURPOSE OF (I) AVOIDING PENALTIES UNDER THE INTERNAL REVENUE CODE OR
>>> (II) PROMOTING, MARKETING OR RECOMMENDING TO ANOTHER PARTY ANY TRANSACTION
>>> OR MATTER ADDRESSED HEREIN.
>>>
>>> BERKELEY RESEARCH GROUP, LLC IS (I) NOT A LAW FIRM AND DOES NOT PROVIDE
>>> LEGAL ADVICE AND (II) NOT A CPA FIRM AND DOES NOT PROVIDE AUDIT, ATTEST OR
>>> PUBLIC ACCOUNTING SERVICES.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Want fast and easy access to all the code in your enterprise? Index and
>>> search up to 200,000 lines of code with a free copy of Black Duck
>>> Code Sight - the same software that powers the world's largest code
>>> search on Ohloh, the Black Duck Open Hub! Try it now.
>>>
http://p.sf.net/sfu/bds>>> _______________________________________________
>>> QuantLib-users mailing list
>>>
[hidden email]
>>>
https://lists.sourceforge.net/lists/listinfo/quantlib-users>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>>
http://p.sf.net/sfu/bds>> _______________________________________________
>> QuantLib-users mailing list
>>
[hidden email]
>>
https://lists.sourceforge.net/lists/listinfo/quantlib-users>>
>>
>
>
> --
> <
https://implementingquantlib.blogspot.com>
> <
https://twitter.com/lballabio>
search on Ohloh, the Black Duck Open Hub! Try it now.