[Insight-users] ITK for unix under Mac OS
Michael Held
michael.held at bc.biol.ethz.ch
Mon Feb 20 09:12:46 EST 2006
Hi,
I had the same problem using cygwin (MS Windows). ccmake, make and make
install worked fine, but libITKCommon.dll was not in my
/usr/local/lib/InsightToolkit directory. I just copied e.g. 'cp <ITK
build/src dir>/bin/libITKCommon.dll /usr/local/lib/InsightToolkit'
and everything was fine (for you it will be 'libITKCommon.dylib')
cheers,
michael
On 2/18/06 3:21 AM, "GQ Zhang" <gqz at eecs.cwru.edu> wrote:
> Hi -
>
> I am trying to set up ITK for unix under Mac OS for the first time.
> All the installation (cmake) seems to be fine. But when it comes to
> testing
> the installation, the system encounters the following error,
> complaining it (see below)
>
> "can't locate file for: -lITKCommon"
>
> I am I missing anything in the setup?
>
> Thanks,
>
> ITKnovice
>
> -------------------------------------
>
>>> % make
>
> Scanning dependencies of target HelloWorld
> Building CXX object CMakeFiles/HelloWorld.dir/HelloWorld.o
> Linking CXX executable HelloWorld
> ld: can't locate file for: -lITKCommon
> make[2]: *** [HelloWorld] Error 1
> make[1]: *** [CMakeFiles/HelloWorld.dir/all] Error 2
> make: *** [all] Error 2
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list