4 June 2016 at 13 h 40 min #6995
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 7 h 55 min #6996AlexParticipant
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
Alex6 June 2016 at 9 h 00 min #6998
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.
malli6 June 2016 at 10 h 45 min #6999AlexParticipant
I 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 h 37 min #7008
when I used make command it builded upto 39% and showed me this error
make: *** [SofaCommon/SofaMeshCollision/CMakeFiles/SofaMeshCollision.dir/MeshMinProximityIntersection.cpp.o] Error 1
make: *** [SofaCommon/SofaMeshCollision/CMakeFiles/SofaMeshCollision.dir/all] Error 2
make: *** [all] Error 2
please give me suggestions to solve this error
thanks6 June 2016 at 13 h 19 min #7012HugoKeymaster
- SOFA Consortium
Please, can you post the next answers/questions on this thread instead ?
Thanks in advance.6 June 2016 at 14 h 13 min #7020HugoKeymaster
- SOFA Consortium
This thread is over: runSofa could not be found since it was not compiled.
- You must be logged in to reply to this topic.