SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] installation - can't find itk headers


Chronological Thread 
  • From: "Michael Elbaum" <Michael.Elbaum@weizmann.ac.il>
  • To: <darbyb@cs.utah.edu>, <scirun-users@sci.utah.edu>
  • Subject: Re: [SCIRUN-USERS] installation - can't find itk headers
  • Date: Sat, 31 Jul 2004 19:34:02 +0300

Thanks Darby,

It got a couple steps further. I looked for the files you mentioned and
found them all in place. The trouble was a hanging '/' on the end of the
directory. I must have hit tab.

Now it's stuck on java. I attached the output. I installed ITK according
to the instructions in their manual, to Insight-binary as you said.

hope you might be able to help again...
Michael



>>> Darby J Van Uitert <darbyb@cs.utah.edu> 07/31/04 6:11 PM >>>
Michael,

You should configure
-with-insight="/usr/local/InsightToolkit-1.6.0/Insight-binary".  I
assume
this is the directory where you built Insight? Check to make sure there
is
an ITKConfig.cmake file in that directory.  Our configure will look at
that file to determine where the libraries are and the source code with
the header files (like it wasn't finding). If you haven't read the
section in the Installation Guide regarding installing ITK, it might be
a
useful reference:

http://software.sci.utah.edu/doc/Installation/Guide/srig.html#sec.itk_inst

If that still doesn't work, feel free to send me your config.log file
and
configVars.mk file from your SCIRun build directory.

Thanks.

        -darby j


On Sat, 31 Jul 2004, Michael Elbaum wrote:

> Hi.    I have a very early installation problem. I'm having trouble
> compiling SCIRun from source on Linux. I installed ITK first,
according
> to their instructions. The .so files are in
> /usr/local/InsightToolkit-1.6.0/Insight-binary/bin. I made links to
them
> in /usr/local/Insight as well. When I configured and tried to compile
> SCIRun  it didn't find them using --with-insight=/usr/local/Insight,
but
> did find them keeping the cases: --with-Insight=   . It makes okay
> through the Teem files, but when it gets to Insight it can't find the
> headers. The output is:
>
> g++ -Wall -O2     -I../src/include -I../src -I. -I./include
> -I../src/Packages
> -I/usr/local/SCIRun/ThirdParty/1.22/Linux/gcc-3.2.2-32bit/include
>
-I/usr/local/SCIRun/ThirdParty/1.22/Linux/gcc-3.2.2-32bit/src/tcl8.3.2/generic
> -I/usr/X11R6/include
>
-I/usr/local/SCIRun/ThirdParty/1.22/Linux/gcc-3.2.2-32bit/src/tk8.3.2/generic
>       -I/usr/include/freetype2  -I./Packages       -MD  -c
> ../src/Packages/Insight/Core/Datatypes/ITKDatatype.cc -o
> Packages/Insight/Core/Datatypes/ITKDatatype.o
> In file included from
> ../src/Packages/Insight/Core/Datatypes/ITKDatatype.cc:40:
> ../src/Packages/Insight/Core/Datatypes/ITKDatatype.h:45:23:
itkObject.h:
> No such file or directory
> ../src/Packages/Insight/Core/Datatypes/ITKDatatype.h:48:22:
itkImage.h:
> No such file or directory
> ../src/Packages/Insight/Core/Datatypes/ITKDatatype.h:49:25:
> itkRGBPixel.h: No such file or directory
> ../src/Packages/Insight/Core/Datatypes/ITKDatatype.h:50:23:
itkVector.h:
> No such file or directory
> In file included from
> ../src/Packages/Insight/Core/Datatypes/ITKDatatype.cc:40:
> ../src/Packages/Insight/Core/Datatypes/ITKDatatype.h:60: syntax error
> before `
>    ::' token
> make: *** [Packages/Insight/Core/Datatypes/ITKDatatype.o] Error 1
>
> In fact these header files are present and located at:
> /usr/local/InsightToolkit-1.6.0/Code/Common/
> but I don't see how make could find them there. I also tried
configuring
> --with-Insight= pointing to various depths in the
> /usr/local/InsightToolkit-1.6.0 directory but it didn't make any
> difference. same error.
>
> Could anybody help on this?
>
> thanks,
> Michael
>
>
===========================================================================
> == The SCIRun Users mailing list: send email to majordomo@sci.utah.edu
  ==
> == for more details.                                                  
  ==
> == Please acknowledge use of SCIRun in your papers and reports:       
  ==
> ==   see http://software.sci.utah.edu/scirun-biopse_citation.bib      ;
  ==
>
===========================================================================
>

---------------------------
Darby J Van Uitert
SCI Institute
University of Utah
Email: darbyb@sci.utah.edu
Phone: 801.587.9641
---------------------------

Attachment: error_java
Description: Binary data




Archive powered by MHonArc 2.6.16.

Top of page