Home › Forum › SOFA › Building SOFA › [SOLVED] v16.12 compilation errors on win10 VS2013
Tagged: 16.12 compilation, 64_bits, SOFA_1608, VS2013, Windows_10
- This topic has 3 replies, 2 voices, and was last updated 7 years, 8 months ago by ruiliang.
-
AuthorPosts
-
20 February 2017 at 20:28 #8643ruiliangBlocked
Hi,
I am trying to build the latest stable 16.12 verson.
I believe i have followed your compilation steps one by one (I am using win10 x64, VS Express 2013, Cmake3.4.1, Qt5.5.1, Boost1.60.0.)
But the build log has the following errors.
What could be the problem?
Thanks in advance!Error 44 error C1083: Cannot open include file: ‘cstringt.h’: No such file or directory C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\src\SofaKernel\framework\sofa\helper\system\FileMonitor_windows.cpp 40 1 SofaHelper Error 52 error LNK1181: cannot open input file ‘..\..\..\lib\Release\SofaHelper.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaKernel\SofaFramework\SofaDefaultType\LINK SofaDefaultType Error 294 error LNK1181: cannot open input file ‘..\..\..\lib\Release\SofaDefaultType.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaKernel\SofaFramework\SofaCore\LINK SofaCore Error 369 error LNK1181: cannot open input file ‘..\..\lib\Release\SofaCore.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaAdvanced\SofaEulerianFluid\LINK SofaEulerianFluid Error 554 error LNK1181: cannot open input file ‘..\..\..\lib\Release\SofaCore.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaKernel\SofaFramework\SofaSimulationCore\LINK SofaSimulationCore Error 597 error LNK1181: cannot open input file ‘..\..\..\lib\Release\SofaSimulationCore.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaKernel\SofaSimulation\SofaSimulationCommon\LINK SofaSimulationCommon Error 848 error LNK1181: cannot open input file ‘..\..\..\lib\Release\SofaSimulationCommon.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaKernel\SofaCommon\SofaEngine\LINK SofaEngine Error 859 error LNK1181: cannot open input file ‘..\..\..\lib\Release\SofaSimulationCommon.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaKernel\SofaSimulation\SofaSimulationTree\LINK SofaSimulationTree Error 870 error LNK1181: cannot open input file ‘..\..\lib\Release\SofaSimulationCommon.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaGeneral\SofaGeneralAnimationLoop\LINK SofaGeneralAnimationLoop Error 871 error LNK1181: cannot open input file ‘..\..\..\lib\Release\SofaSimulationCommon.lib’ C:\Users\Ruiliang\Academics\SOFA\SofaSrc_1612\sofa\v16.12\build\SofaKernel\SofaSimulation\SofaSimulationGraph\LINK SofaSimulationGraph
21 February 2017 at 00:06 #8646ruiliangBlockedHi,
I have resolved this myself. It is because my VS2013 Express doesn’t have MFC(where cstringt.h is defined). I have installed a new VS and now it works.23 February 2017 at 07:22 #8681LujainBlockedHi ruiliang,
I also came accross the problem that you have solved, as infromation follows:
Severity Code Description Project File Line Suppression State Error LNK1181 cannot open input file '..\..\..\lib\Release\SofaHelper.lib' SofaDefaultType J:\SOFA16.12\sofa-16.12\sofabuild\SofaKernel\SofaFramework\SofaDefaultType\LINK 1 Error C2181 illegal else without matching if (compiling source file J:\SOFA16.12\sofa-16.12\sofasrc\SofaKernel\framework\sofa\helper\Quater.cpp) SofaHelper j:\sofa16.12\sofa-16.12\sofasrc\sofakernel\framework\sofa\helper\Quater.inl 490 Error C2181 illegal else without matching if (compiling source file J:\SOFA16.12\sofa-16.12\sofasrc\SofaKernel\framework\sofa\helper\Quater.cpp) SofaHelper j:\sofa16.12\sofa-16.12\sofasrc\sofakernel\framework\sofa\helper\Quater.inl 524
I didnt solve the problem using the method you have mentioned. Can you help?
Thanks in advance.23 February 2017 at 20:20 #8690ruiliangBlockedHi Lujain,
I am not sure about your errors.
For the LNK error, I can only suggest checking if you have all the dependencies on your machine correctly linked.–Ruiliang
-
AuthorPosts
- You must be logged in to reply to this topic.