Home › Forum › SOFA › Using SOFA › How to use Tools for multi-material on Windows?
Tagged: 64_bits, multi-material, Plugin_other, SOFA_1906, Windows, Windows_10
- This topic has 6 replies, 3 voices, and was last updated 4 years, 8 months ago by NickHock.
-
AuthorPosts
-
6 March 2020 at 08:09 #15294WongBlocked
Hello
I notice Tools for multi-material has been released recently. link
But I find that it is hard to compile on Windows. There so many dependencies to be downloaded really. So I wonder if anyone provide a more detailed tutorial to get those dependencies and install. Or the whole prebuilt dependencies pack is appreciated either because I find that some dependencies must be built first on Windows (there are no prebuilt libraries on Windows).
I use VS2015 on Win10 64bits.
Wong
6 March 2020 at 09:41 #15295HugoKeymasterHi @outtt
I will point out your post to the author.
I would like to profit from it to emphasize how important it is for an open-source community like to SOFA to get such open contributions!If you (all) have small bugfixes, new models, algorithms or any other contributions (tutorial video, documentation etc), it will be more than welcome!
Best wishes,
Hugo
6 March 2020 at 12:37 #15296WongBlockedHello @hugo,
luckily, I tried to buid it and I succeeded! Only CGAL and Yaml-CPP should be built threre, other dependencies can be directly downloaded and used.
I would continue to test it if there are bugs there. But I think it is hard for me to read the code about CGAL and there is very few information and tutorials on the Internet about how to code with cgal. So it would be better if some instructions about CGAL programming are provided.
Wong
6 March 2020 at 18:39 #15298NickHockBlockedHi @outtt
CGAL itself has very good documentation, with tutorials and example code for every class. These are what I learnt from while writing the Tools.
CGAL has a very particular way of working, due to being absolute precision. Be sure to read about how CGAL’s kernels work, here
CGAL tutorial_hello_world.html#intro_traitsBest wishes,
Nick
6 March 2020 at 23:07 #15304NickHockBlockedHi @outtt,
I’m glad to hear your build on Windows10 went smoothly. (I only have Ubuntu, so have not had the chance to test it on other operating systems.)
After some problems posting on this forum (thank you Hugo for fixing that), I have updated the README.md file with instructions on installing the dependencies for Linux, Windows and Mac.
Best wishes,
Nick7 March 2020 at 12:45 #15328WongBlockedHello @nickhockings,
Although I built it successfully but actually I want to report that there were some compile errors which occured in VS2015.
like in load_surface_meshes.cpp line 35
YAML::Node config = YAML::LoadFile(it->c_str());
should be change into
YAML::Node config = YAML::LoadFile(it->string());
And there are some other places using c_str() too.
More, movable_sphere2.scad cannot be found in directory test_mesh_generator.
Wong
9 March 2020 at 11:31 #15341 -
AuthorPosts
- You must be logged in to reply to this topic.