Home › Forum › SOFA › Building SOFA › [SOLVED] Errors appeared while compilation SOFA in Win7
Tagged: 64_bits, SOFA_other, VS2010, Windows_7
- This topic has 5 replies, 3 voices, and was last updated 8 years, 1 month ago by Hugo.
-
AuthorPosts
-
21 October 2016 at 16:01 #7588MermailBlocked
Hi!
I need to use SOFA for simulations,but I got some errors when compile SOFA.
error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’
error LNK1181: cannot open input file “glew32.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaHelper_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaCore_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationCommon_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationCommon_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaSimulationTree_1_0.lib”
error LNK1181: cannot open input file “..\..\..\lib\SofaBaseTopology_1_0.lib”
etc.
So, if anyone can guide me solve these errors that will be very much appreciated.
Thank you in advance.25 October 2016 at 17:30 #7687GuillaumeKeymasterHi Mermail,
First time I see this link error. Did you follow the documentation step by step? I have to warn you that VS2010 may not be able to compile SOFA anymore in a few weeks because we are going to use more and more C++11 features.
All I can do is suggest you to search about this LNK1112 error. This StackOverflow topic seems close to your problem: http://stackoverflow.com/questions/3563756/fatal-error-lnk1112-module-machine-type-x64-conflicts-with-target-machine-typ.
Hope this helps,
Guillaume.27 October 2016 at 11:42 #7691MermailBlockedHi Guillaume,
I followed you advise and found the solution to solve LNK1112 error,thanks a lot for your help.
Regards,
Mermail
28 October 2016 at 17:21 #7711HugoKeymasterHi Mermail,
Could you shortly detail your solution?
Thanks for sharing.Best,
Hugo
3 November 2016 at 10:30 #7723MermailBlockedHi Hugo,
I followed the first answer in this site:
http://stackoverflow.com/a/4364020
After that 4 steps and problem solved.
Best,
Mermail
3 November 2016 at 10:54 #7724HugoKeymasterThank you very much for your input Mermail !
Nice work.Cheers,
Hugo
-
AuthorPosts
- You must be logged in to reply to this topic.