[Insight-users] Problems compiling SegmentationEditor
Daniel Jones
danielj at caltech.edu
Mon Jul 20 04:20:21 EDT 2009
Hi Karthik,
Thanks for the advice. I was eventually able to compile successfully.
Unfortunately when I try to run the program (type "WSTITK" at the command
line) I get only a small blank gray window with the title WSTITK. I fear
there is some problem with the GUI libraries, which may be more difficult to
fix. In case it's of any use, I have VTK 5.0.4, FLTK 1.1.9, TK 8.4.16. Also,
just to make sure, WSTITK is the correct executable for the
SegmentationEditor program, right?
Daniel
On Sun, Jul 19, 2009 at 8:15 PM, Karthik Krishnan <
karthik.krishnan at kitware.com> wrote:
> Daniel:
>
> Please try building InsightApplications from the top level. There may be
> dependencies on the vtkitk library in Auxiliary.
>
> --
> karthik
>
> On Sun, Jul 19, 2009 at 8:56 PM, Daniel Jones <danielj at caltech.edu> wrote:
>
>> Hi,
>>
>> I'm trying to compile the "SegmentationEditor" application. I've run
>> ccmake in the InsightApplications root directory to set up the makefiles. My
>> "EXECUTABLE_OUTPUT_PATH" is set to /usr/local/bin/InsightApplication-3.14.0.
>> Then I changed to the SegmentationEditor directory and ran "make" there. It
>> chugs along for a while but eventually outputs the following error:
>>
>> [ 0%] Building CXX object SegmentationEditor/Wrapping/
>> Tcl/CMakeFiles/WSTITK.dir/tkAppInit.o
>> Linking CXX executable /usr/local/bin/InsightApplication-3.14.0/WSTITK
>> /usr/bin/ld: cannot open output file
>> /usr/local/bin/InsightApplication-3.14.0/WSTITK: No such file or directory
>> collect2: ld returned 1 exit status
>> make[2]: *** [/usr/local/bin/InsightApplication-3.14.0/WSTITK] Error 1
>> make[1]: *** [SegmentationEditor/Wrapping/Tcl/CMakeFiles/WSTITK.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> I noticed that "WSTITK" is a target for "make" in the InsightApplications
>> root directory, so I tried running that, but ended up with the same error. I
>> thought there might be a problem with write permissions, but running these
>> commands as root doesn't make any difference. Also, the readme said
>> something about running make in the "Auxiliary" directory first, but when I
>> do that, I end up with a similar error:
>>
>> Linking CXX executable
>> /usr/local/bin/InsightApplication-3.14.0/vtkFltkExample
>> /usr/bin/ld: cannot open output file
>> /usr/local/bin/InsightApplication-3.14.0/vtkFltkExample: No such file or
>> directory
>> collect2: ld returned 1 exit status
>> make[2]: *** [/usr/local/bin/InsightApplication-3.14.0/vtkFltkExample]
>> Error 1
>> make[1]: *** [Auxiliary/VtkFltk/CMakeFiles/vtkFltkExample.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> It looks like for some reason nothing it being written to my
>> EXECUTABLE_OUTPUT_PATH directory. Any input on what I'm doing wrong would be
>> appreciated.
>>
>> Thanks,
>> Daniel Jones
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090720/01394d84/attachment.htm>
More information about the Insight-users
mailing list