2012/7/13 Claus Klein <claus.kl...@arcormail.de>:
> Can anyone please help?
>
> Thanks in advance
> Best Regards
> Claus
>
> With this CMAKE_TOOLCHAIN_FILE it just works, but there is always an error
> the first time cmake configure step is started from GUI:

Do you have the same error with command line cmake?
[...]
>
> # FIXME on APPLE this is needed too? (CmakeFindBinUtils.cmke)
> set(CMAKE_INSTALL_NAME_TOOL ${USER_ROOT_PATH}/install_name_tool)

FindBinUtils should find this one on his own as soon as C or C++ compiler
has been found (this is not working for fortran, see:
http://public.kitware.com/Bug/view.php?id=13379)

>
> # CMake Error at /Applications/CMake
> 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeFindBinUtils.cmake:71
> (MESSAGE):
> #   Could not find install_name_tool, please check your installation.
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> # Call Stack (most recent call first):
> #   /Applications/CMake
> 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:177
> (INCLUDE)
> #   CMakeLists.txt:3 (project)
>

if it works on the second run then may be you didn't enable C or C++
language in your project
what is the project statement you use in your CMakeLists.txt

is it project(Blah NONE) ?
is it project(Blah Fortran)

in any case could you try
project(Blah C)?

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to