22 February 2017 at 09:58 #8667
I am trying to build the new version sofa16.12 but there are some mistakes.
Severity Code Description Project File Line Suppression State Error LNK1104 cannot open file '..\..\lib\Debug\SofaCore_d.lib' SofaEulerianFluid J:\SOFA16.12\sofa-16.12\sofabuild\SofaAdvanced\SofaEulerianFluid\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\SofaCore_d.lib' SofaSimulationCore J:\SOFA16.12\sofa-16.12\sofabuild\SofaKernel\SofaFramework\SofaSimulationCore\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\SofaDefaultType_d.lib' SofaCore J:\SOFA16.12\sofa-16.12\sofabuild\SofaKernel\SofaFramework\SofaCore\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\SofaHelper_d.lib' SofaDefaultType J:\SOFA16.12\sofa-16.12\sofabuild\SofaKernel\SofaFramework\SofaDefaultType\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\SofaSimulationCore.lib' SofaSimulationCommon J:\SOFA16.12\sofa-16.12\sofabuild\SofaKernel\SofaSimulation\SofaSimulationCommon\LINK 1
How to solve this kind of errors?
I am looking forward to ur reply, thanks in advance.23 February 2017 at 10:13 #8682
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 52424 February 2017 at 10:23 #8697
In the code of v16.12, everything looks fine, and it did compile properly on VS2015.
Did you make any change in the code?
Did you followed exactly the instructions in the doc?
Hugo26 February 2017 at 15:10 #8708
Thank you for ur reply.
I have never changed everything in the code and i am sure i followed the instructions in the doc. I also built v16.05 successfully before.
Now I have no idea about the problem happened in v16.12. Besides, I have gone through the forum to found some ideas about this problem. Finally no result for bad luck. I also tried vs2013 but the same problems. what should i do?14 March 2017 at 08:23 #8775
Finally I solved the problem that i have met before, thanks you all!16 March 2017 at 18:13 #8790
How did you solve it ?
Hugo25 July 2017 at 13:06 #9849markus_wBlocked
can you please write what had solved your problem? I’ve exactly the same problem. I’m using SOFA v17.06 and try to compile it with VS Community 2017 version 15.2. And i followed the instructions given at https://www.sofa-framework.org/community/doc/getting-started/build/windows/
markus14 October 2017 at 03:22 #10074GaribaldeBlocked
I had the same problem you have to add zlib.lib in the linker for debug version. For some reason its looking for zlib.lib instead of zlibd.lib. This worked for me.14 October 2017 at 18:02 #10075
Thanks for the input Garibalde!
By the way, there has been dev-effort put in this direction (solving issues in debug mode) recently. Stay tuned!3 January 2018 at 16:00 #10247MermailBlocked
I meet the same problem as yours. Could you tell me how to solve it? Thank you very much.
And I have tried Garibalde’s solutiom but it do not suit me.
Mermail8 January 2018 at 23:40 #10282
- You must be logged in to reply to this topic.