[Nektar-users] Nektar++ installation error
Jeremy Cohen
jeremy.cohen at imperial.ac.uk
Tue Mar 20 18:21:48 GMT 2018
Hi Csaba,
I know that Julian replied to this query a little while ago suggesting that you could use the Windows Subsystem for Linux as a workaround but I wanted to follow-up with some further information in case you'd still like to do a standard build in Windows 10.
I was able to replicate the error you were receiving when building Nektar++ 4.4.1 in Windows 10 and there does, indeed, seem to be an issue here related to the use of the Loki library.
In the Nektar++ master branch, and from the next major release, the code is using some C++ 11 features that mean that Loki is no longer required - as such, this dependency has been removed and is not required in master. If you clone the code from git and do a build of the master branch, you should find that you're able to build successfully on Windows 10.
As a workaround to build Nektar++ 4.4.1 you can add "#define LOKI_CLASS_LEVEL_THREADING" as the first statement below the comments (i.e. above all the other #include statements) in the file nektar/library/SolverUtils/EquationSystem.cpp. This should resolve the build error and enable you to build using Visual Studio 2015. This fix will be added to the next patch release Nektar++.
Thanks for reporting this issue.
Kind regards,
Jeremy
On 1 Mar 2018, at 14:28, Csaba Biró <archimonde01 at gmail.com> wrote:
> Dear all,
>
> I am currently trying to install Nektar++ for Windows 10 following the instructions in user-guide-4.4.1. After completing the building/installation process (point 12.) I got 5 errors. Configuring and Generating in cmake seems successful, although some kind of error message is present (see in Message.txt). In the Output.log you can see the installation process (not my first attempt) and in pic1 and pic2 the appearance of cmake.
> I am using Visual Studio 2015 (x64). Should you have any questions or suggestions, please contact me. Any help is greatly appreciated!
>
> Kind Regards,
> Csaba Biró
> <Message.txt><output.log><pic1.PNG><pic2.PNG>_______________________________________________
> Nektar-users mailing list
> Nektar-users at imperial.ac.uk
> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
More information about the Nektar-users
mailing list