14 March 2019 at 9 h 36 min #13206
I am just a beginner of SOFA. Recently, when building SOFA, I encountered some problems as described in log file followed by this link:
I used Boost 1.67, VS 2017, QT 5.12.1 to build this software in Window.
As I looked at the notifications, I saw that some library files is missing in this path: \sofa\build\lib\Debug
So I wonder if that is the problem. I hope that someone will help me solving this. Thank you.18 March 2019 at 8 h 00 min #13212
Now I know where the problem is, it is because of this:
fatal error LNK1104: cannot open file ‘boost_program_options-vc141-mt-gd-x32-1_69.lib’
Can anyone know how to solve it?19 March 2019 at 19 h 39 min #1323022 March 2019 at 3 h 41 min #13245
I installed the required boost which is compatible with my VS 2017. I also downloaded the dependencies for VS 2017 and unzipped it in the source directory. I think I followed all required steps but still it didn’t open the boost library.22 March 2019 at 13 h 43 min #13246
It sounds like you followed the step by step tutorial.
However, by googling you issue, it appears that it could be related to a mix between 32 and 64 bit version of libraries.
Which one is your Win? I assume it is x64, you should therefore use the x64 libs for boost other dependencies.
Hugo27 March 2019 at 9 h 25 min #13273
Sorry for being late. I tried but it still did not work.29 March 2019 at 21 h 39 min #13297
Did you read my previous post?
–> It appears that it could be related to a mix between 32 and 64 bit version of libraries. I think you installed a 32bit version of either Visual or boost, while your Windows should be a 64bit.
Hugo1 April 2019 at 10 h 39 min #13305
I managed to solve that problem. But now I encounter another error:
I hope that you would show me how to solve this. Thank you.1 April 2019 at 21 h 06 min #13327
You are compiling SOFA in debug.
Please rather use the option CMAKE_BUILD_TYPE=Release
Hugo3 April 2019 at 9 h 34 min #13360
I switched to Release mode and it still did not work. Here is the problem:3 April 2019 at 11 h 22 min #13361
I can’t see your error.
I would recommend to clean the CMake, reconfigure, generate, and recompile everything in Release. If you still have a compilation error, please post it fully.
Hugo4 April 2019 at 9 h 31 min #1336311 April 2019 at 11 h 54 min #1339524 April 2019 at 9 h 33 min #13430
Sorry for being this late.
Finally, I can manage to install the software successfully. Now I can use Sofa for my research.
Thank you for supporting me all the time.
- You must be logged in to reply to this topic.