To install SOFA under Windows, you can download either the pre-compiled binary version or the source distribution.
runSofa.exe installed in the bin subdirectory. If it fails with a DLL error it is probably because you don't have
Visual C++ 2005 SP1 installed. You can get the necessary DLL here.
sofaCUDA to test GPGPU examples.
You can then open the other scenes in the examples directory with the File/Open menu.
Alternatively you can tell windows to start runSofa.exe when you double-click on .scn files.
sofa (your root SOFA directory) applications bin examples extlibs framework include lib modules share tools
sofa-default.cfg and customize it if necessary (for
example, uncomment SOFA_GPU_CUDA to activate CUDA support)project VC8.batproject VC9.batSofa.sln in Visual StudioRelease configuration as activeIf the compilation was successful, it should have created a runSofa.exe in
the bin directory (or runSofad.exe if you compiled the debug version).
Select runSofa as start project in the
solution explorer. Alternatively you can tell windows to start runSofa.exe
when you double-click on .scn files.
sudo aptitude install libqt4-dev libglew-dev libglut-dev libxml2-dev
su -c "yum install qt-devel glew-devel freeglut-devel libxml2-devel"
su -c "urpmi libqt4-devel libglew-devel libmesaglut3-devel libxml2-devel"
mkdir sofa cd sofa unzip ../sofa-framework-1.0-beta4.zip unzip ../sofa-modules-1.0-beta4.zip unzip ../sofa-applications-1.0-beta4.zip
sofa (your root SOFA directory) applications examples extlibs framework modules share
sofa-default.cfg and customize it if necessary (for
example, uncomment SOFA_GPU_CUDA to activate CUDA support)qmake make
LD_LIBRARY_PATH=$PWD/lib/linux:$LD_LIBRARY_PATH bin/runSofa
bin and lib/linux directory in your PATH and
LD_LIBRARY_PATH environment variables (if you use bash, you can add
the following in your ~/.bashrc file) :
source your_path_to_sofa/config.sh
If the compilation was successful, it should have created a runSofa binary in the bin directory (or runSofad if you compiled the Debug version).
You can start it directly or adding as argument a .scn example file from the examples directory.
mkdir sofa cd sofa unzip ../sofa-framework-1.0-beta4.zip unzip ../sofa-modules-1.0-beta4.zip unzip ../sofa-applications-1.0-beta4.zip unzip ../dependencies-mac-1.0-beta4.zip
sofa (your root SOFA directory) applications examples extlibs framework include lib modules share
sofa-default.cfg and customize it if necessary (for
example, uncomment SOFA_GPU_CUDA to activate CUDA support)"./Project MacOS.sh" make
DYLD_LIBRARY_PATH=$PWD/lib/macx:$DYLD_LIBRARY_PATH bin/runSofa
bin and lib/macx directory in your PATH and
(DY)LD_LIBRARY_PATH environment variables (if you use bash, you can add
the following in your ~/.bashrc file) :
source your_path_to_sofa/config.sh
If the compilation was successful, it should have created a runSofa binary in the bin directory (or runSofad if you compiled the Debug version).
You can start it directly or adding as argument a .scn example file from the examples directory.