- This topic has 3 replies, 2 voices, and was last updated 5 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Programming with SOFA › Hello World C++ example
Tagged: 64_bits, SOFA_1906, Windows_10
Dear Friends
Hello
Is there any “Hello World” C++ example?
I need to check if SOFA building process is OK or not?
Thanks for your kind help
Dear @aforuzan
Thank you for your interest in SOFA and welcome on the open forum!
There is “Hello World” C++ example in SOFA, but there is some rather simple codes though.
You can for instance find in applications/tutorials/ (like the oneParticle.cpp)
To check if SOFA successfully compiled, you can simply run the generated executable “runSofa” (in your build/bin repository)
Best,
Hugo
Thanks a million for your help!
The “RunSofa.exe” runs.
I used CMakeLists to prepare the “OneParticle” project. CMake cannot find the SofaGUI and SofaSimulation folders.
Would you please kindly help me?
Warmests
AHF
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.