Re: [CMake] Regarding CMAKE and OSX Mavericks

2014-03-14 Thread Sean McBride
On Sat, 15 Mar 2014 00:57:16 +1100, Theodore St. Shenouda said:

>CMAKE Version : 3.0.0 rc 1
>
>My current system version.
>OS:OSX 10.9.2
>XCODE: 5.0.2
>
>
>The C compiler identification is unknown
>CMake Error at CMakeLists.txt:1 (project):
>No CMAKE_C_COMPILER could be found.
>
>
>Configuring incomplete, errors occurred!
>See also "/Users/theodorestshenouda/Desktop/glfw-3.0.4/Build/CMakeFiles/
>CMakeOutput.log".
>See also "/Users/theodorestshenouda/Desktop/glfw-3.0.4/Build/CMakeFiles/
>CMakeError.log".
>
>gcc version: 
>
>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
>--with-gxx-include-dir=/usr/include/c++/4.2.1
>Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
>Target: x86_64-apple-darwin13.1.0
>Thread model: posix

Are you the one passing "--prefix=" and "--with-gxx-include-dir"?  If so, why?

What do the following output:

xcrun --find cc

xcode-select --print-path

BTW: OS 10.9 & Xcode 5 do not provide *any* version of gcc, only clang.  
There's a gcc symlink for compatibility (as surely many tools/scripts assume 
its existence), but it's not really gcc at all.

Cheers,

-- 

Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada


-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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


Re: [CMake] Regarding CMAKE and OSX Mavericks

2014-03-14 Thread Bogdan Cristea
Using cmake 2.8.12.2 on MacOSX 10.9.2 detects correctly the compiler


On 14 Mar 2014, at 14:57, Theodore St. Shenouda  wrote:

> 
> To Whom It May Concern,
> 
> I am currently a Student attempting to use OPENGL on OSX Mavericks, however 
> in order to use some of the latest GLFW libraries I require to compile source 
> files to apply them, however when attempting to use CMAKE I get the following 
> error:
> 
> CMAKE Version : 3.0.0 rc 1
> 
> My current system version.
> OS:OSX 10.9.2
> XCODE: 5.0.2
> 
> 
> The C compiler identification is unknown
> CMake Error at CMakeLists.txt:1 (project):
> No CMAKE_C_COMPILER could be found.
> 
> 
> Configuring incomplete, errors occurred!
> See also 
> "/Users/theodorestshenouda/Desktop/glfw-3.0.4/Build/CMakeFiles/CMakeOutput.log".
> See also 
> "/Users/theodorestshenouda/Desktop/glfw-3.0.4/Build/CMakeFiles/CMakeError.log".
> 
> 
> 
> 
> 
> 
> gcc version: 
> 
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin13.1.0
> Thread model: posix
> 
> 
> Make version:
> 
> GNU Make 3.81
> Copyright (C) 2006  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> 
> This program built for i386-apple-darwin11.3.0
> 
> 
> Kind Regards
> 
> Theodore.
> -- 
> 
> Powered by www.kitware.com
> 
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Kitware offers various services to support the CMake community. For more 
> information on each offering, please visit:
> 
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

[CMake] Regarding CMAKE and OSX Mavericks

2014-03-14 Thread Theodore St. Shenouda
To Whom It May Concern,I am currently a Student attempting to use OPENGL on OSX Mavericks, however in order to use some of the latest GLFW libraries I require to compile source files to apply them, however when attempting to use CMAKE I get the following error:CMAKE Version : 3.0.0 rc 1My current system version.OS:    OSX 10.9.2XCODE: 5.0.2The C compiler identification is unknownCMake Error at CMakeLists.txt:1 (project):  No CMAKE_C_COMPILER could be found.Configuring incomplete, errors occurred!See also "/Users/theodorestshenouda/Desktop/glfw-3.0.4/Build/CMakeFiles/CMakeOutput.log".See also "/Users/theodorestshenouda/Desktop/glfw-3.0.4/Build/CMakeFiles/CMakeError.log".

CMakeError.log
Description: Binary data


CMakeOutput.log
Description: Binary data
gcc version: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)Target: x86_64-apple-darwin13.1.0Thread model: posixMake version:GNU Make 3.81Copyright (C) 2006  Free Software Foundation, Inc.This is free software; see the source for copying conditions.There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE.This program built for i386-apple-darwin11.3.0Kind RegardsTheodore.-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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