[slicer-users] Programming in Slicer3 tutorial

Sara Rolfe smrolfe at u.washington.edu
Wed Apr 27 14:24:25 EDT 2011


Sorry for the number of emails, but I just realized from the email  
archives that the error log may be necessary to identify my problem  
with running testbuildget.  The log is very large, so I'm just copying  
the error portion below.  The full log is attached.

Thanks,
Sara

vtkWindowLevelLookupTableCppCommand(vtkWindowLevelLookupTable*,  
Tcl_Interp*, int, char**)in vtkWindowLevelLookupTableTcl.cxx.o

ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [bin/libvtkCommonTCL.5.6.0.dylib] Error 1
make[1]: *** [Common/CMakeFiles/vtkCommonTCL.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_predict.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_print.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_read.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_strip.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_swab.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_thunder.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_tile.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_version.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_warning.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_write.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_zip.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_color.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_extension.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_unix.c.o
[ 14%] Building C object Utilities/vtktiff/CMakeFiles/vtktiff.dir/ 
tif_fax3sm.c.o
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c: In  
function ‘_tiffReadProc’:
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c:58:  
warning: cast from pointer to integer of different size
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c: In  
function ‘_tiffWriteProc’:
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c:64:  
warning: cast from pointer to integer of different size
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c: In  
function ‘_tiffSeekProc’:
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c:70:  
warning: cast from pointer to integer of different size
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c: In  
function ‘_tiffCloseProc’:
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c:76:  
warning: cast from pointer to integer of different size
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c: In  
function ‘_tiffSizeProc’:
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c:88:  
warning: cast from pointer to integer of different size
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c: In  
function ‘_tiffMapProc’:
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c:101:  
warning: cast from pointer to integer of different size
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c: In  
function ‘vtk_TIFFFdOpen’:
/Users/smrolfe/Slicer3-lib/VTK/Utilities/vtktiff/tif_unix.c:140:  
warning: cast to pointer from integer of different size
Linking C shared library ../../bin/libvtktiff.dylib
[ 14%] Built target vtktiff
make: *** [all] Error 2

child process exited abnormally
1
     while executing
"error $ret"
     (procedure "runcmd" line 23)
     invoked from within
"runcmd make -j 2"
     ("eval" body line 1)
     invoked from within
"eval runcmd $::MAKE "
     invoked from within
"if { [BuildThis $::VTK_TEST_FILE "vtk"] == 1 } {
     cd $Slicer3_LIB

     runcmd $::SVN co $::VTK_TAG VTK

     # Andy's temporary hack to get around w..."
     (file "./Scripts/genlib.tcl" line 914)

child process exited abnormally
ERROR: failed to run getbuildtest: sh ./Scripts/genlib.tcl /Users/ 
smrolfe/Slicer3/../Slicer3-lib -32 --test-type Experimental



On Apr 26, 2011, at 3:20 PM, Sara Rolfe wrote:

> I've tried running getbuildtest.tcl, but it exited while linking VTK  
> with the error below.  Any help on figuring this out would be  
> appreciated.
>
> Thanks,
> Sara
>
> Linking CXX shared library ../bin/libvtkFiltering.dylib
> [ 24%] Built target vtkFiltering
> make: *** [all] Error 2
>
> child process exited abnormally
> 1
>     while executing
> "error $ret"
>     (procedure "runcmd" line 23)
>     invoked from within
> "runcmd make -j 2"
>     ("eval" body line 1)
>     invoked from within
> "eval runcmd $::MAKE "
>     invoked from within
> "if { [BuildThis $::VTK_TEST_FILE "vtk"] == 1 } {
>     cd $Slicer3_LIB
>
>     runcmd $::SVN co $::VTK_TAG VTK
>
>     # Andy's temporary hack to get around w..."
>     (file "./Scripts/genlib.tcl" line 914)
>
> child process exited abnormally
> ERROR: failed to run getbuildtest: sh ./Scripts/genlib.tcl /Users/ 
> smrolfe/Slicer3/../Slicer3-lib -32 --test-type Experimental
>
>
>
> On Apr 26, 2011, at 12:11 PM, Sara Rolfe wrote:
>
>> I did build it on my machine.  When I looked at the page you  
>> referenced, I saw that there's a script called getbuildtest.tcl  
>> that builds support libraries, which I did not run.  Could this be  
>> my problem?
>>
>> Thanks,
>> Sara
>>
>> On Apr 26, 2011, at 11:48 AM, Agata Krasoń wrote:
>>
>>> Did you build Slicer3 on your machine ?
>>>
>>> http://www.slicer.org/slicerWiki/index.php/Slicer3:Build_Instructions#getbuildtest_on_Apple_Mac_OS_X
>>>
>>> 2011/4/26 Agata Krasoń <agatakrason at gmail.com>
>>> Did you buid Slicer3 on your machine ?
>>>
>>> http://www.slicer.org/slicerWiki/index.php/Slicer3:Build_Instructions#getbuildtest_on_Apple_Mac_OS_X
>>>
>>>
>>> 2011/4/26 Sara Rolfe <smrolfe at u.washington.edu>
>>> Hi Katie,
>>>
>>> Thanks for your help. I am using a Mac OS and Slicer version  
>>> 3.6.31.0.
>>>
>>> Sara
>>>
>>>
>>> On Apr 26, 2011, at 11:28 AM, Kathryn Hayes wrote:
>>>
>>> > Hi Sara,
>>> >
>>> > Can you tell us a little more about your installation?  What is  
>>> the
>>> > platform of the machine you are using (Linux, Mac, etc) and which
>>> > version
>>> > of the Slicer binary are you using?  I will try to recreate your
>>> > problem.
>>> >
>>> > Katie
>>> >
>>> > On Tue, 26 Apr 2011, Sara Rolfe wrote:
>>> >
>>> >> Hello,
>>> >>
>>> >> I am still unable to follow the tutorial Programming in Slicer3
>>> >> because of the errors in my previous email.   Is there any other
>>> >> documentation on adding plug-ins?
>>> >>
>>> >> Any help would be appreciated.
>>> >>
>>> >> Thanks,
>>> >> Sara
>>> >>
>>> >>
>>> >> On Apr 25, 2011, at 12:55 PM, Sara Rolfe wrote:
>>> >>
>>> >>> Hello,
>>> >>>
>>> >>> I am new to Slicer3 and am trying to add an ITK plug-in.  I am  
>>> first
>>> >>> following the tutorial example Programming in Slicer3, but  
>>> have run
>>> >>> into a problem.  On page 25 of the tutorial, the instructions
>>> >>> reference a ccmake executable in a folder which is not  
>>> included in
>>> >>> my
>>> >>> installation.  Is there a problem with my installation?
>>> >>>
>>> >>> I ran a previously installed version of ccmake instead, and  
>>> got the
>>> >>> error below.  Is this due to a different problem?  Any advice or
>>> >>> comments would be helpful.
>>> >>>
>>> >>> Thanks,
>>> >>> Sara
>>> >>>
>>> >>> CMake Error at /opt/local/share/cmake-2.8/Modules/ 
>>> FindITK.cmake:90
>>> >>> (INCLUDE):
>>> >>>   include could not find load file:
>>> >>>
>>> >>> /Volumes/mac96/slicer3/release/Slicer3/../Slicer3-lib/Insight- 
>>> build/
>>> >>> ITKConfig.
>>> >>> cmake
>>> >>> Call Stack (most recent call first):
>>> >>>   /Users/smrolfe/build/Slicer3/lib/GenerateCLP/
>>> >>> UseGenerateCLP.cmake:1
>>> >>> (find_package)
>>> >>>   /Users/smrolfe/build/Slicer3/lib/Slicer3/UseSlicer3.cmake:18
>>> >>> (include)
>>> >>>   CMakeLists.txt:7 (include)
>>> >>>
>>> >>> CMake Error at
>>> >>> /Users/smrolfe/build/Slicer3/lib/GenerateCLP/ 
>>> UseGenerateCLP.cmake:3
>>> >>> (include):
>>> >>>   include called with wrong number of arguments.  Include only  
>>> takes
>>> >>> one
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> slicer-users mailing list
>>> >>> slicer-users at bwh.harvard.edu
>>> >>> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
>>> >>> To unsubscribe: send email to slicer-users-request at massmail.spl.harvard.edu
>>> >>> with unsubscribe as the subject
>>> >>
>>> >> _______________________________________________
>>> >> slicer-users mailing list
>>> >> slicer-users at bwh.harvard.edu
>>> >> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
>>> >> To unsubscribe: send email to slicer-users-request at massmail.spl.harvard.edu
>>> >>  with unsubscribe as the subject
>>> >>
>>>
>>> _______________________________________________
>>> slicer-users mailing list
>>> slicer-users at bwh.harvard.edu
>>> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
>>> To unsubscribe: send email to slicer-users-request at massmail.spl.harvard.edu 
>>>  with unsubscribe as the subject
>>>
>>>
>>
>> _______________________________________________
>> slicer-users mailing list
>> slicer-users at bwh.harvard.edu
>> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
>> To unsubscribe: send email to slicer-users-request at massmail.spl.harvard.edu 
>>  with unsubscribe as the subject
>
> _______________________________________________
> slicer-users mailing list
> slicer-users at bwh.harvard.edu
> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
> To unsubscribe: send email to slicer-users-request at massmail.spl.harvard.edu 
>  with unsubscribe as the subject

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://massmail.spl.harvard.edu/pipermail/slicer-users/attachments/20110427/0504b7f7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 4063465 bytes
Desc: not available
URL: <http://massmail.spl.harvard.edu/pipermail/slicer-users/attachments/20110427/0504b7f7/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://massmail.spl.harvard.edu/pipermail/slicer-users/attachments/20110427/0504b7f7/attachment-0001.html>


More information about the slicer-users mailing list