[ITK Community] [Insight-users] Issues with compiling ITK on a Mac 10.8.5
Nicholas Tustison
ntustison at gmail.com
Mon Dec 16 19:22:11 EST 2013
Hi Yael,
I would suggest using the ANTs discussion forum
http://sourceforge.net/p/advants/discussion/?source=navbar
as there are issues specific to ANTs that would be unfamiliar
to most insight users. Additionally, you’re much more likely
to get the attention of me and/or Brian who typically monitor
the ANTs forum better than we do the insight users list.
The easiest avenue to installation would be just use Xcode
as a mechanism for installing gcc as explained here:
http://stackoverflow.com/questions/9353444/how-to-use-install-gcc-on-mac-os-x-10-8-xcode-4-4
Once you get gcc installed, *do not* install ITK directly as
the ANTs superbuild mechanism does that for you. Just
download the latest ANTs from github
https://github.com/stnava/ANTs
and install using CMake as if you would ITK. If you have
any questions, start a topic over on the ANTs forum.
Nick
On Dec 16, 2013, at 7:11 PM, yael.grossman <yael.grossman at mssm.edu> wrote:
> OK, so I downloaded the newest version of Xcode into my Applications folder.
> I tried to run Cmake again with the older version of ITK, but get the same
> error message that the files may be invalid.
>
> CMake Error: CMake was unable to find a build program corresponding to "Unix
> Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a
> different build tool.
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be built correctly.
> Missing variable is:
> CMAKE_C_COMPILER_ENV_VAR
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be built correctly.
> Missing variable is:
> CMAKE_C_COMPILER
> CMake Error: Could not find cmake module file:
> /Users/yaelgrossman/Documents/ITK/ITKbin/CMakeFiles/2.8.12.1/CMakeCCompiler.cmake
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be built correctly.
> Missing variable is:
> CMAKE_CXX_COMPILER_ENV_VAR
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be built correctly.
> Missing variable is:
> CMAKE_CXX_COMPILER
> CMake Error: Could not find cmake module file:
> /Users/yaelgrossman/Documents/ITK/ITKbin/CMakeFiles/2.8.12.1/CMakeCXXCompiler.cmake
> CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
> Configuring incomplete, errors occurred!
>
> Should I try it with xcode as the compiler rather than Unix makefiles?
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Issues-with-compiling-ITK-on-a-Mac-10-8-5-tp7584618p7584623.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list