[ITK] Simpleitk installation on Mac 10.9.2
Bradley Lowekamp
blowekamp at mail.nih.gov
Wed Apr 16 09:00:08 EDT 2014
Hello,
This type of e-mail should typically be set to the ITK community mailing list so that all can benefit.
Your error message indicates that you are building SimpleITK. Further the link error says that the R framework is missing.
1) Are you trying to build SimpleITK for R? If not disable it in the CMake configuration.
2) Verify that have the R development installed. Determine the location of "R.h" as well as the share library libR.dylib.
3) Verify your CMake configuration for SimpleITK with R.
This is how I have configure SimpleITK for R on my system:
R_COMMAND /usr/bin/R
R_HOME /Library/Frameworks/R.framework/Resources
R_INCLUDE_DIR /Library/Frameworks/R.framework/Headers
R_LIBRARY_BASE /Library/Frameworks/R.framework
I am using the standard version downloaded from cran.r-project.org. There may be other version available, with different configurations.
Hope this help you problem. Please let us know what the issue was.
Thanks,
Brad
On Apr 15, 2014, at 6:14 PM, Chao Wang <dynastywang1010 at gmail.com> wrote:
> Hi,
>
> I have been trying to install simpeitk on Mac 10.9.2.
> With all prerequisite installed and following all the step, it gives me an error below:
>
> Linking CXX shared module ../lib/_SimpleITK.so
> [ 98%] Built target SimpleITK_PYTHON
> [ 98%] Swig source to generate R wrapping
> Scanning dependencies of target SimpleITK_R
> [ 98%] Building CXX object Wrapping/CMakeFiles/SimpleITK_R.dir/SimpleITKR_wrap.cxx.o
> Linking CXX shared module Rpackaging/SimpleITK/src/SimpleITK.so
> ld: framework not found R
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[5]: *** [Wrapping/Rpackaging/SimpleITK/src/SimpleITK.so] Error 1
> make[4]: *** [Wrapping/CMakeFiles/SimpleITK_R.dir/all] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build] Error 2
> make[1]: *** [CMakeFiles/SimpleITK.dir/all] Error 2
> make: *** [all] Error 2
>
> I am wondering if this is a common problem. Please help me out.
>
> Thanks,
>
> Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140416/cdf03eb0/attachment.html>
More information about the Community
mailing list