FEDORA 8/9/10/11/12/13/14
1. GET THE MODULE creaToolsTools |
Option 1 (HTML) for not Creatis users
- Download and decompress creaToolsTools.tgz (here)
Option 2 (CVS) for Creatis users
- Make sure your environment variable is properly set:
echo $CVSROOT
if it's not :
export CVSROOT=:ext:<CVS_USER_NAME>@cvs.creatis.insa-lyon.fr:/cvs/creatis
ex : > export CVSROOT=:ext:jpr@cvs.creatis.insa-lyon.fr:/cvs/creatis
- Checkout the CVS module creaToolsTools
cvs checkout creaToolsTools
|
2. INSTALL everything |
cd creaToolsTools
cd Linux
bash menu.sh
and follow the instructions |
Enjoy it!
Some more info (Hope you'll never have to read it!)
--A. CHANGE SYSTEM VARIABLE-- -In the .bashrc add the the lines
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/gdcm/
-If you compile and install vtk and itk by yourself, you also have to add the following lines:
export VTK_DIR=/usr/local/lib/vtk-5.4/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vtk-5.4/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/InsightToolkit/
--B. DESINSTALL SELINUX--
http://blog.nicolargo.com/2007/06/activer-ou-desactiver-selinux.html
root> /usr/sbin/setenforce 0
--C. NVIDIA PROBLEMS DETECTED
Cannot create GLXContext
-
Check if the correct driver is installed by opening a terminal window and typing
glxinfo | less
-> Check for direct rendering: Yes
-> Check for server glx vendor string: NVIDIA Corporation
-
Look up the list of modules that have been charged, here you must see the nvidia module up and running
lsmod | grep nvidia
- To locate the nvidia installed packages
locate libnvidia-tls
rpm -qf /usr/lib/nvidia/tls/libnvidia-tls.so.XXXX
rpm -V xorg-x11-drv-nvidia-XXXXX-libs
-
If you find any of the problems described above do the following:
prelink --undo --all
rpm -e prelink
-
Remove the current installed driver if any
yum remove xorg-x11-drv-nvidiaXXXX
-
Reinstall the driver
yum install xorg-x11-drv-nvidiaXXXX
-
Install the kernel module
yum install kernel-devel (ou kernel-PAE-devel)
-
Restart the akmods service
service akmods restart
When using a virtual machine
Turn off the 3D aceleration option for avoiding conflicts with OpenGL.
--D. INSTALL INTERNAL LIBRARIES--
-Generate projects with CMake
-Generate projects with CMake
Download project (ex. from cvs)
[USER]ProjectBin> ccmake ../Project (ex. [USER]CreaBin> ccmake ../Crea)
[USER]ProjectBin> make
...Configure options...
c-configure g-generate
[USER]ProjectBin> su (optional)
[ROOT]ProjectBin> make install
- Dependencies and compile options for CMAKE >>
--E Getting Started with CreaTools >>