Error building on windows 10 with MS Visual Studio 14 Win64
I am unable to build nektar 4.4.1 on MS Windows 10 using Visual Studio 14 win64. The error comes from Loki: Loki::ClassLevelLockable The actual error messages are reproduced below: ======================================================================== "C:\CFD\nektar\build\INSTALL.vcxproj" (default target) (1) -> "C:\CFD\nektar\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\CFD\nektar\build\solvers\ADRSolver\ADRSolver.vcxproj" (default target) (4) -> "C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj" (default target) (17) -> (ClCompile target) -> C:\CFD\nektar\nektar441\library\SolverUtils\EquationSystem.cpp(88): error C2039: 'ClassLevelLocka ble': is not a member of 'Loki' [C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj] C:\CFD\nektar\nektar441\library\SolverUtils\EquationSystem.cpp(88): error C2065: 'ClassLevelLocka ble': undeclared identifier [C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj] ======================================================================== BOOST_HOME is c:\local\boost_1_61_0 (along with the modifications suggested in the user guide for version 4.4.1) Please let me know if any additional information is required. Thank you for your help. Madhu Rao
Dear Madhu, I encountered what I believe is the same problem as this a few months ago - some details are available in issue #104: https://gitlab.nektar.info/nektar/nektar/issues/104 I added a fix in the fix/classlevellockable branch - it's a very simple fix just adding a single #define in the EquationSystem.cpp file - but I think this fix was probably made after the 4.4.1 release. Hope this helps. Kind regards, Jeremy On 3 Sep 2018, at 12:57, Dr. Madhukar M. Rao <Madhukar.Rao@cfdvrinstitute.org> wrote:
I am unable to build nektar 4.4.1 on MS Windows 10 using Visual Studio 14 win64. The error comes from Loki:
Loki::ClassLevelLockable
The actual error messages are reproduced below:
======================================================================== "C:\CFD\nektar\build\INSTALL.vcxproj" (default target) (1) -> "C:\CFD\nektar\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\CFD\nektar\build\solvers\ADRSolver\ADRSolver.vcxproj" (default target) (4) -> "C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj" (default target) (17) -> (ClCompile target) -> C:\CFD\nektar\nektar441\library\SolverUtils\EquationSystem.cpp(88): error C2039: 'ClassLevelLocka ble': is not a member of 'Loki' [C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj] C:\CFD\nektar\nektar441\library\SolverUtils\EquationSystem.cpp(88): error C2065: 'ClassLevelLocka ble': undeclared identifier [C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj] ========================================================================
BOOST_HOME is c:\local\boost_1_61_0 (along with the modifications suggested in the user guide for version 4.4.1)
Please let me know if any additional information is required.
Thank you for your help.
Madhu Rao
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Dear Jeremy, Thank you very much for your response. That fixed the problem. I wonder why g++ on Linux did not complain. Best regards, Madhu On Tuesday 04 September 2018 03:58 PM, Jeremy Cohen wrote:
Dear Madhu,
I encountered what I believe is the same problem as this a few months ago - some details are available in issue #104: https://gitlab.nektar.info/nektar/nektar/issues/104
I added a fix in the fix/classlevellockable branch - it's a very simple fix just adding a single #define in the EquationSystem.cpp file - but I think this fix was probably made after the 4.4.1 release.
Hope this helps.
Kind regards,
Jeremy
On 3 Sep 2018, at 12:57, Dr. Madhukar M. Rao <Madhukar.Rao@cfdvrinstitute.org> wrote:
I am unable to build nektar 4.4.1 on MS Windows 10 using Visual Studio 14 win64. The error comes from Loki:
Loki::ClassLevelLockable
The actual error messages are reproduced below:
======================================================================== "C:\CFD\nektar\build\INSTALL.vcxproj" (default target) (1) -> "C:\CFD\nektar\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\CFD\nektar\build\solvers\ADRSolver\ADRSolver.vcxproj" (default target) (4) -> "C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj" (default target) (17) -> (ClCompile target) -> C:\CFD\nektar\nektar441\library\SolverUtils\EquationSystem.cpp(88): error C2039: 'ClassLevelLocka ble': is not a member of 'Loki' [C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj] C:\CFD\nektar\nektar441\library\SolverUtils\EquationSystem.cpp(88): error C2065: 'ClassLevelLocka ble': undeclared identifier [C:\CFD\nektar\build\library\SolverUtils\SolverUtils.vcxproj] ========================================================================
BOOST_HOME is c:\local\boost_1_61_0 (along with the modifications suggested in the user guide for version 4.4.1)
Please let me know if any additional information is required.
Thank you for your help.
Madhu Rao
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (2)
- 
                
                Dr. Madhukar M. Rao
- 
                
                Jeremy Cohen