[Insight-users] itk compilation error

Paul Berube berube@ugrad.cs.ualberta.ca
Wed, 3 Apr 2002 12:17:31 -0700 (MST)


Hi.

I'm brand new to itk and cmake, and I'm having trouble getting itk to
compile (oh, and i'm running on linux).

I ran ccmake in the Insight/ directory as per instructions, and then ran
make.  It compiles quite a bit of code, it finished
Building default_target in directory
.../Insight/Utilities/png
fine, but then on the next c++ call, I get the error

/usr/bin/ld: cannot find -litkzlib
collect2: ld returned 1 exit status
make[5]: *** [libitkpng.so] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_png] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Utilities] Error 2
make: *** [default_target] Error 2

As far as I can tell, there is indeed no file 'itkzlib*' withing the
Insight directories.  What is wrong?  more importantly, how do I fix
this!?

Thanks for the help!


--Paul

  "Oh, there it is...
      ...Then what the heck was that other piece of code we changed?"