Dear Jeremy,thank you very much for your help. I finally cloned the master branch (I couldn't get the patch to work) and the compilation ran smoothly. I also updated the path for the bin and lib directories. Unfortunately, all 483 tests have failed (including tests #338 - 342, which also show "Exception" and "Exit code 0xc0000135").Regards,\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_Carlos Lozano Rodríguez
Área de Aerodinámica Teórica y Computacional / CFD Branch
Instituto Nacional de Técnica Aeroespacial / National Institutefor Aerospace Technology (INTA)Carretera Ajalvir km. 4
28850 Torrejón de Ardoz, Spain
tel: +34 91 520 1908
e-mail: lozanorc@inta.es
web: http://scholar.google.co.uk/citations?user=mrl2XhQAAAAJFrom: Jeremy Cohen [jeremy.cohen@imperial.ac.uk]
Sent: Wednesday, March 04, 2020 3:09 PM
To: CARLOS LOZANO RODRIGUEZ
Cc: nektar-users@imperial.ac.uk
Subject: Re: [Nektar-users] more on Building Nektar++ on Windows 10Dear Carlos,Thanks for highlighting this and my apologies for forgetting to point this out in the advice I sent round the other day.This is a known issue and there is a fix in the current master branch of the Nektar++ repository, however it was resolved after the 5.0.0 release so isn't in the 5.0.0 source. I guess you are using the v5.0.0 source from https://www.nektar.info/downloads/?The _set_output_format function is not found because it is no longer present in recent versions of Visual Studio (https://docs.microsoft.com/en-us/cpp/c-runtime-library/set-output-format?view=vs-2019).I've prepared and attached a small patch to add the changes into the v5.0.0 source so you can apply this and it should resolve the problem. Another option is to clone the Nektar++ source from gitlab and build the master branch where this issue shouldn't be present.If you'd like to apply the patch, save the attached file into your nektar++-5.0.0 directory and then run:patch -p1 -i nektarpp5-output_format.patchIf for any reason the patch command is not available on your system, I believe it's included with Git Bash (https://gitforwindows.org/) so you can install that and the command should then be available from the terminal.Hope that helps, let us know if you are able to build successfully with this configuration or if you experience any further issues.Thanks,JeremyOn 3 Mar 2020, at 19:48, CARLOS LOZANO RODRIGUEZ <lozanorc@inta.es> wrote:Dear all,_______________________________________________I am trying to build Nektar 5.0.0 on windows 10. I am using vs 2019 and I have installed boost from boost_1_72_0-msvc-14.2-64.exe following advice from Jeremy CohenI build scripts for Visual Studio 16 2019 and x64. cmake seems to correctly locate boost, the c++ compilers and everything else (configuration and generation run smoothly).I then issuemsbuild INSTALL.vcxproj /p:Configuration=ReleaseAfter a lenghty process, I get 7910 warnings and the following 6 errors (I apologize for it being in Spanish):"C:\nektar++-5.0.0\builds\INSTALL.vcxproj" (destino predeterminado) (1) ->"C:\nektar++-5.0.0\builds\ALL_BUILD.vcxproj" (destino predeterminado) (3) ->"C:\nektar++-5.0.0\builds\solvers\CardiacEPSolver\CardiacEPSolver-obj.vcxproj" (destino predeterminado) (4) ->"C:\nektar++-5.0.0\builds\library\SolverUtils\SolverUtils.vcxproj" (destino predeterminado) (5) ->(ClCompile destino) ->C:\nektar++-5.0.0\library\SolverUtils\Core\CouplingFile.cpp(108,46): error C2065: '_TWO_DIGIT_EXPONENT': identificador no declarado [C:\nektar++-5.0.0\builds\library\SolverUtils\SolverUtils.vcxproj]C:\nektar++-5.0.0\library\SolverUtils\Core\CouplingFile.cpp(108,27): error C3861: '_set_output_format': no se encontró el identificador [C:\nektar++-5.0.0\builds\library\SolverUtils\SolverUtils.vcxproj]C:\nektar++-5.0.0\library\SolverUtils\Core\CouplingFile.cpp(111,5): error C3861: '_set_output_format': no se encontróel identificador [C:\nektar++-5.0.0\builds\library\SolverUtils\SolverUtils.vcxproj]C:\nektar++-5.0.0\library\SolverUtils\Core\CouplingFile.cpp(169,46): error C2065: '_TWO_DIGIT_EXPONENT': identificador no declarado [C:\nektar++-5.0.0\builds\library\SolverUtils\SolverUtils.vcxproj]C:\nektar++-5.0.0\library\SolverUtils\Core\CouplingFile.cpp(169,27): error C3861: '_set_output_format': no se encontró el identificador [C:\nektar++-5.0.0\builds\library\SolverUtils\SolverUtils.vcxproj]C:\nektar++-5.0.0\library\SolverUtils\Core\CouplingFile.cpp(171,5): error C3861: '_set_output_format': no se encontróel identificador [C:\nektar++-5.0.0\builds\library\SolverUtils\SolverUtils.vcxproj]If I issue msbuild INSTALL.vcxproj /p:Configuration=Release again, I getjust 10 warnings and still the same 6 errorsany advice?Thanks a lot\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_Carlos Lozano Rodríguez
Área de Aerodinámica Teórica y Computacional / CFD Branch
Instituto Nacional de Técnica Aeroespacial / National Institutefor Aerospace Technology (INTA)Carretera Ajalvir km. 4
28850 Torrejón de Ardoz, Spain
tel: +34 91 520 1908
e-mail: lozanorc@inta.es
web: http://scholar.google.co.uk/citations?user=mrl2XhQAAAAJ
Nektar-users mailing list
Nektar-users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/nektar-users