Issue Building Nektar++ on Windows
******************* This email 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 https://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address. ******************* Dear all, I'm trying to Build Nektar++ on my windows 10, using Visual Studio 2019 according to Jeremy Cohen's instructions from march/2 but I'm facing some trouble in the command *msbuild INSTALL.vcxproj /p:Configuration=Release*., while still in the x64 Native Tools Command Prompt. I've printed the error message and attached it (sorry about it being in Portuguese). Could you please help me? Thanks in advance, Victor
Hello Victor, It seems that you are trying to build a Release configuration with actual Debug files. I believe that the previous step, before the *msbuild INSTALL ...*, was to generate the build files using *cmake-gui ..* command, right? If so, while in CMake GUI application, make sure that CMAKE_BUILD_TYPE variable is set to Release instead of Debug, so that actual Release build files are generated. I hope this helps. Regards, Eron. On Sat, 27 Jun 2020 at 04:11, Victor Hugo Santiago Peron < victor.peron@usp.br> wrote:
This email from victor.peron@usp.br 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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
Dear all,
I'm trying to Build Nektar++ on my windows 10, using Visual Studio 2019 according to Jeremy Cohen's instructions from march/2 but I'm facing some trouble in the command *msbuild INSTALL.vcxproj /p:Configuration=Release*., while still in the x64 Native Tools Command Prompt. I've printed the error message and attached it (sorry about it being in Portuguese).
Could you please help me?
Thanks in advance,
Victor
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Dear Victor, Can I double check that you are building the master branch of the source code cloned from GitLab? If you had cloned from GitLab using the instructions in the blog post ((https://www.nektar.info/building-and-running-nektar-in-parallel-on-windows-1...)), then the directory containing the Nektar++ source would be called "nektar" by default. Your directory seems to be called nektar++-5.0.0 - if you've changed the directory name then that's no problem, however, this is the default directory name used if you extract the nektar++-5.0.0 tar file for the latest release version. I'm wondering if you're using the source from the 5.0.0 release and not the latest source in GitLab? The master branch in git is somewhat ahead of the 5.0.0 release and contains a specific set of fixes for building on Windows 10. If you're not already working from the GitLab source code, if you can switch to this, it should resolve the issue. If you are already using the source from the GitLab master branch, can you provide us with the CMake command that you ran originally, and the output that it provides too? Many thanks, Jeremy On 27 Jun 2020, at 12:32, Eron Tiago V. Dauricio <eron.tiago90@gmail.com> wrote:
Hello Victor,
It seems that you are trying to build a Release configuration with actual Debug files. I believe that the previous step, before the msbuild INSTALL ..., was to generate the build files using cmake-gui .. command, right? If so, while in CMake GUI application, make sure that CMAKE_BUILD_TYPE variable is set to Release instead of Debug, so that actual Release build files are generated.
I hope this helps.
Regards, Eron.
On Sat, 27 Jun 2020 at 04:11, Victor Hugo Santiago Peron <victor.peron@usp.br> wrote: This email from victor.peron@usp.br 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'm trying to Build Nektar++ on my windows 10, using Visual Studio 2019 according to Jeremy Cohen's instructions from march/2 but I'm facing some trouble in the command msbuild INSTALL.vcxproj /p:Configuration=Release., while still in the x64 Native Tools Command Prompt. I've printed the error message and attached it (sorry about it being in Portuguese).
Could you please help me?
Thanks in advance,
Victor
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (3)
- 
                
                Eron Tiago V. Dauricio
- 
                
                Jeremy Cohen
- 
                
                Victor Hugo Santiago Peron