Hi Karthik,<br><br>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?<br>
<br>Daniel<br><br><div class="gmail_quote">On Sun, Jul 19, 2009 at 8:15 PM, Karthik Krishnan <span dir="ltr"><<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Daniel:<br><br>Please try building InsightApplications from the top level. There may be dependencies on the vtkitk library in Auxiliary.<br><br>--<br>karthik<br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Sun, Jul 19, 2009 at 8:56 PM, Daniel Jones <span dir="ltr"><<a href="mailto:danielj@caltech.edu" target="_blank">danielj@caltech.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi,<br><br>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:<br>
<br>[ 0%] Building CXX object SegmentationEditor/Wrapping/<div>Tcl/CMakeFiles/WSTITK.dir/tkAppInit.o<br>Linking CXX executable /usr/local/bin/InsightApplication-3.14.0/WSTITK<br>/usr/bin/ld: cannot open output file /usr/local/bin/InsightApplication-3.14.0/WSTITK: No such file or directory<br>
collect2: ld returned 1 exit status<br>make[2]: *** [/usr/local/bin/InsightApplication-3.14.0/WSTITK] Error 1<br>make[1]: *** [SegmentationEditor/Wrapping/Tcl/CMakeFiles/WSTITK.dir/all] Error 2<br>make: *** [all] Error 2<br>
<br>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:<br><br>Linking CXX executable /usr/local/bin/InsightApplication-3.14.0/vtkFltkExample<br>
/usr/bin/ld: cannot open output file /usr/local/bin/InsightApplication-3.14.0/vtkFltkExample: No such file or directory<br>collect2: ld returned 1 exit status<br>make[2]: *** [/usr/local/bin/InsightApplication-3.14.0/vtkFltkExample] Error 1<br>
make[1]: *** [Auxiliary/VtkFltk/CMakeFiles/vtkFltkExample.dir/all] Error 2<br>make: *** [all] Error 2<br><br>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.<br>
<br>Thanks,<br><font color="#888888"><font color="#888888"> Daniel Jones</font></font></div>
<br></div></div>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><br><br>
</blockquote></div><br>