This email from lozanorc@inta.es originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list to disable email stamping for this address.

 

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 Cohen
https://mailman.ic.ac.uk/mailman/htdig/nektar-users/2020-March/001320.html
I 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 issue
msbuild INSTALL.vcxproj /p:Configuration=Release
After 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': identificado
r 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': identificado
r 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 get
just 10 warnings and still the same 6 errors

any 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 Institute
for 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