Home › Forum › SOFA › Building SOFA › [SOLVED] can’t find runsofa in bin directory
Tagged: 32_bits, Build SOFA, GCC, Linux_ubuntu, SOFA_1512
- This topic has 6 replies, 3 voices, and was last updated 8 years, 5 months ago by Hugo.
-
AuthorPosts
-
4 June 2016 at 13:40 #6995malliBlocked
I have generated binaries from the source using cmake but the directory bin is empty in build. when bin/runsofa is given in the terminal then
bash: bin/runsofa: No such file or directory
message is displayed.
while generating binaries from cmake i have used default compilers.I have also downloaded linux binaries from the website tried to runsofa but no result.
I have also copied runsofa file from downloaded binaries to generated binaries bin directory but same message is displayed as no such file.6 June 2016 at 07:55 #6996Alex BilgerBlockedHi,
Cmake cannot generate binaries on it own. It generates a project that you must compile after. Have you done this step? If not, it’s normal bin folder is empty.
If the file runsofa has been copied in your folder, it’s impossible that the terminal cannot find it. Can you execute it from the file explorer (double click on the icon)? Are you sure you are in the right folder in the terminal (command cd)?
When you ask for help, please give a maximum of details, such as your operating system, and more importantly the exact steps you’ve done.
Hope this helps
Alex
6 June 2016 at 09:00 #6998malliBlockedHi,
Thanks for the reply
I was using Ubuntu 14.04 and installing SOFA 15.12
I have followed exact details given in documentation for building SOFA in LINUX. I have configured and generated files using cmake. I think I was going wrong from here. I am sure I am in right directory.Can you give the details how the project files are compiled. I am new to this work. It would be helpful if you give me details.Thanks
malli6 June 2016 at 10:45 #6999Alex BilgerBlockedI assume the documentation you’re talking about is https://www.sofa-framework.org/community/doc/getting-started/build/linux/.
Could you tell us if you have compiled the project (the make command, section “Compile in the terminal”)? Has it complain about something or was it a success? Is there actually a file runsofa in your bin directory?6 June 2016 at 12:37 #7008malliBlockedHi alex,
when I used make command it builded upto 39% and showed me this errormake[2]: *** [SofaCommon/SofaMeshCollision/CMakeFiles/SofaMeshCollision.dir/MeshMinProximityIntersection.cpp.o] Error 1
make[1]: *** [SofaCommon/SofaMeshCollision/CMakeFiles/SofaMeshCollision.dir/all] Error 2
make: *** [all] Error 2please give me suggestions to solve this error
thanks6 June 2016 at 13:19 #7012HugoKeymasterPlease, can you post the next answers/questions on this thread instead ?
Thanks in advance.
6 June 2016 at 14:13 #7020HugoKeymasterFYI.
This thread is over: runSofa could not be found since it was not compiled. -
AuthorPosts
- You must be logged in to reply to this topic.