Building Nektar++ on Windows 10
Dear all, We're aware that there have been a few messages to the nektar-users list list recently regarding building on Windows 10. We've been investigating the issues and apologise where we've not been able to respond individually to these queries. Some updated instructions will appear in the Nektar++ user guide shortly for building on Windows 10 with recent versions of Visual Studio. In the meantime, we'd like to highlight that building Boost as a third party dependency as part of the Nektar++ build is not currently supported on Windows 10 with recent versions of Visual Studio. Instead you'll need to install the boost binaries from SourceForge and ensure that CMake correctly finds Boost during the configuration process. Instead of installing Boost 1.61 (as currently detailed in the user guide), if you're using Visual Studio 2017, we recommend that you install Boost 1.68 from https://sourceforge.net/projects/boost/files/boost-binaries/1.68.0/. For VS2017 on 64-bit Windows you should use the 14.1-64 installer - boost_1_68_0-msvc-14.1-64.exe. If you're using Visual Studio 2019, we recommend that you install Boost 1.72 from https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/. For VS2019 on 64-bit Windows you should use the 14.2-64 installer - boost_1_72_0-msvc-14.2-64.exe. Assuming that BOOST_HOME is set (as detailed in the current user guide) to the correct path for the location of the version of Boost that you have installed, configuring with CMake should find Boost successfully. Also note that you should run the cmake and msbuild commands within a Visual Studio command prompt. Assuming you're using a 64-bit version of Windows 10, this is the "x64 Native Tools Command Prompt for VS 2017" or "x64 Native Tools Command Prompt for VS 2019" for which there should be a shortcut in your Start menu. Rather than running the cmake-gui as detailed in the user guide, you should be able to use the command line cmake command to generate a standard Windows build configuration. You will need to specify the "Generator" to use when running cmake on the command line, e.g. 'cmake -G "Visual Studio 15 2017 Win64" ..' or 'cmake -G "Visual Studio 16 2019" ..' If you are still experiencing issues building Nektar++ under Windows 10, please continue to post any issues to the nektar-users list and we will try to assist in resolving build issues. Cheers, Jeremy
participants (1)
-
Jeremy Cohen