0

I've installed YARP from the source on my Macbook running El Capitan, and successfully configured it using the terminal as described here. However, I cannot seem to compile it with Xcode. When I run ccmake .. -G Xcode the same configuration window as with the terminal alternative pops up instead of creating a XCode project YARP.xcodeproj:

I didn't install Xcode from scratch because I've already had Xcode 7.3.1 available.

What could I be doing wrong? How can I fix this?

Thanks in advance.

  • This question seems more to do with Cmake than Xcode. – Droppy Jul 26 '16 at 07:29
  • Thanks, that's right. I forgot to add the tag. – Zeynep Akkalyoncu Jul 26 '16 at 07:37
  • My guess: Just call cmake instead of ccmake. There is no error or similar. I vote to close this question, as it is unclear what you are asking. – usr1234567 Jul 26 '16 at 08:30
  • Using cmake *does* produce the following error: `CMake Error: Error: generator : Xcode Does not match the generator used previously: Unix Makefiles Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.` I was just curious if this was the correct way to generate the project file. Please tell me how I can make my question more clear. – Zeynep Akkalyoncu Jul 26 '16 at 08:39
  • Error message is clear: you need to remove old build files (`CMakeCache.txt` and `CMakeFiles/`) before change generator. – Tsyvarev Jul 26 '16 at 09:51

0 Answers0