GithubHelp home page GithubHelp logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
the project seems to be outdate there has been some changes now you have to 
install XCode as an application from the App Store so the sdks are not longer 
under the /Developer directory.

You have to open the file iOS.cmake and make the following change:

<   set (CMAKE_IOS_DEVELOPER_ROOT 
"/Developer/Platforms/${IOS_PLATFORM_LOCATION}/Developer")
---
>   set (CMAKE_IOS_DEVELOPER_ROOT 
"/Applications/Xcode.app/Contents/Developer/Platforms/${IOS_PLATFORM_LOCATION}/D
eveloper")

I still have some problems since building the generated project ends succesfuly 
but no *.a file is being generated.

Original comment by [email protected] on 25 Apr 2014 at 4:28

from ios-cmake.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
I had to pass absolute paths to clang compilers to get cmake3 generating an 
Xcode project. The attached file is a patch of my local changes.

Original comment by [email protected] on 1 Jul 2014 at 3:39

Attachments:

from ios-cmake.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Fixed as of rev:13

Original comment by [email protected] on 24 Jul 2014 at 8:51

  • Changed state: Fixed

from ios-cmake.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
I am having problems passing the absolute paths to the clang compilers using 
the diff file.  I'm getting the error:

CMake Error at CMakeLists.txt:11 (project):
  The CMAKE_C_COMPILER:

    /usr/bin/clang



  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name
  if it is in the PATH.


CMake Error at CMakeLists.txt:11 (project):
  The CMAKE_CXX_COMPILER:

    /usr/bin/clang++



  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler
  name if it is in the PATH.

This is really weird because when using command which clang it brings the exact 
path that cmake believes is not an absolute path.  

Does anyone know why this is happening?

Original comment by [email protected] on 29 Aug 2014 at 7:55

from ios-cmake.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.