Home › Forum › SOFA › Getting Started › [SOLVED] installing SOFA on mac OSX
- This topic has 5 replies, 3 voices, and was last updated 9 years ago by Hugo.
-
AuthorPosts
-
1 February 2016 at 11:44 #5481francescaBlocked
Hi, I need to install SOFA on my mac for my thesis … I’m sorry but I’m not an expert in the use of the terminal to install a program…I downloaded Linux binaries of SOFA and QT5 … what should I do Now?
1 February 2016 at 13:48 #5486FroyKeymasterHello,
Unfortunately, there are no precompiled binaries of Sofa for now. (we are currently working on it).
Linux libraries won’t run on OS X.
(if you know virtualization, you can try to install Linux in a Virtual Machine; for example with VirtualBox)1 February 2016 at 14:28 #5487francescaBlockedOk, so the only way to install SOFA on Mac OS X is starting from the source code … I have followed the instructions on the site and launching bin / runSofa_d I get the following message:
WARNING(SofaGUI): Previously used GUI not registered. Using default GUI.
Loading OBJ topology : snake_body.obj
[WARNING] [MechanicalObject “CollisModel”] Writing to State vector position(V_COORD) with incorrect size : 497 != 1
PNG image /Users/clarit/sofa/share/textures/snakeColorMap.png: 2048x2048x24
[WARNING] [MechanicalObject “CollisModel”] Writing to State vector position(V_COORD) with incorrect size : 16 != 1
[WARNING] [MechanicalObject “CollisModel”] Writing to State vector position(V_COORD) with incorrect size : 336 != 1
[WARNING] [MechanicalObject “CollisModel”] Writing to State vector position(V_COORD) with incorrect size : 17 != 1
Computing 1000 iterations.what can I do ?
1 February 2016 at 14:43 #5488FroyKeymasterFirst, it seems that you built Sofa in Debug mode (hence the _d in the binary name).
It enables a lot of debugging infomation in the console so it can be disturbing.Secondly, it appears that you just launched Sofa in batch mode, which means that it is doing the simulation without any GUI. It is weird that it did not launch the Qt default GUI so I guess that you did not install any Qt libraries. ( I read the page about installing Sofa on OS X and it is not explicitly described indeed).
So with Macport, type in a terminal:
sudo port install qt5It will install the latest Qt5 version. Re-run Cmake and make sure that Qt is enabled in the logs. Finally, build by doing make as you did before.
1 February 2016 at 15:42 #5489francescaBlockedThank you so much … after installing QT5 now everything works perfectly
1 February 2016 at 16:06 #5490HugoKeymasterNice to hear.
Enjoy SOFA and do not hesitate to re-contact us for any help.Cheers,
Hugo
-
AuthorPosts
- You must be logged in to reply to this topic.