- This topic has 4 replies, 4 voices, and was last updated 1 year, 8 months ago by eehlers.
-
AuthorPosts
-
May 12, 2021 at 4:51 am #6796SundarJParticipant
Hi,
I cloned latest version of ORE and ORE-SWIG.My build of ORE completed. I am using Visual Studio 2017 x64.
When I do build of ORE-SWIG, I am facing errors. The error I get:dendAmericanEngine<QuantLib::CrankNicolson>’
C:\Users\Amma\Documents\OpenRisk\ore_swig\ore-swig\build\CMakeFiles\_OREAnalytics.dir\oreanalyticsPYTHON_wrap.cxx(697188): error C2143: syntax error: missing ‘;’ befor
e ‘-‘ [C:\Users\Amma\Documents\OpenRisk\ore_swig\ore-swig\build\_OREAnalytics.vcxproj]
C:\Users\Amma\Documents\OpenRisk\ore_swig\ore-swig\build\CMakeFiles\_OREAnalytics.dir\oreanalyticsPYTHON_wrap.cxx(697188): error C2182: ‘init_OREAnalytics’: illegal us
e of type ‘void’ [C:\Users\Amma\Documents\OpenRisk\ore_swig\ore-swig\build\_OREAnalytics.vcxproj]
C:\Users\Amma\Documents\OpenRisk\ore_swig\ore-swig\build\CMakeFiles\_OREAnalytics.dir\oreanalyticsPYTHON_wrap.cxx(697188): error C2143: syntax error: missing ‘;’ befor
e ‘{‘ [C:\Users\Amma\Documents\OpenRisk\ore_swig\ore-swig\build\_OREAnalytics.vcxproj]
C:\Users\Amma\Documents\OpenRisk\ore_swig\ore-swig\build\CMakeFiles\_OREAnalytics.dir\oreanalyticsPYTHON_wrap.cxx(697188): error C2447: ‘{‘: missing function header (o
ld-style formal list?) [C:\Users\Amma\Documents\OpenRisk\ore_swig\ore-swig\build\_OREAnalytics.vcxproj]May 12, 2021 at 4:56 am #6797SundarJParticipantI am able run the following:
mkdir build \
cmake -G “Visual Studio 15 2017” \
-A x64 \
-D SWIG DIR= <SWIG_DIR> \
-D SWIG EXECUTABLE= <PATH_TO_swig.exe> \
-D ORE:PATHNAME= <PATH_TO_ORE_ROOT> \
-D BOOST ROOT= <PATH_TO_BOOST> \
-S OREAnalytics-SWIG/Python \
-B build \The failure happens when I run the following:
cmake –build buildJuly 22, 2021 at 3:07 pm #6830cbaParticipantHello Sundar, I am just in the process of deploying my first test-install under Win10. I believe the documentation is not fully up-to-date for the Windows part:
-> You need to download SWIG for windows (swig.org). I simply created a new directory, extracted the binaries there and referenced the path when compiling ore-swig
After that I tried to build with the lines from the PDF (I believe you miss an underscore at BOOST_ROOT).That failed, giving a very similar error. I recompile now using the runCmakeVS scrips in the latest ORE and ORE-SWIG release, with that I get at least further (ore-swig still running). Perhaps worth a try redoing it with those, the parameters (which you obviosuly need to adjust) are slightly different.
July 7, 2022 at 1:11 pm #7109James SmithParticipantI think the Windows section of the documentation is not quite current.
magento 2 development servicesApril 24, 2023 at 7:57 am #7158eehlersParticipantThis problem has been fixed in v1.8.9.1.
-
AuthorPosts
- You must be logged in to reply to this topic.