Compile-problem / Linux Installation Script

6 views
Skip to first unread message

Hans-Joachim Gurt

unread,
Dec 10, 2007, 8:23:07 PM12/10/07
to itksn...@googlegroups.com
Hello,

I found a problem in the "Linux Installation Script" for ITK-SNAP v1.4.1
(and also Version 1.4) from http://www.itksnap.org/download/snap/ .

These getsnap.sh scripts specify
>>>
VTK_REL="release-4-4"
<<<

but with this old version of VTK, SNAP will not compile, giving errors like
>>>
.../itksnap_build/itksnap/itksnap/UserInterface/SNAPMain.cxx:30:39:
error: vtkOpenGLExtensionManager.h: No such file or directory
<<<
I.e. the missing files come from a later version of VTK.

Thus, the above line has to be replaced with
>>>
VTK_REL="VTK-5-0"
<<<

Also, the check for successful compilation at the end of function get_itksnap
will fail to indicate compile- or build-errors when recompiling, because the
final target $instdir/bin/InsightSNAP (from a previous successful build)
is not removed before the make.


Best regards,
HaJo Gurt

--
www.medinfor.com


Reply all
Reply to author
Forward
0 new messages