Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build when the path to Xcode contains spaces #51

Open
LenaWil opened this issue Feb 27, 2022 · 3 comments
Open

Unable to build when the path to Xcode contains spaces #51

LenaWil opened this issue Feb 27, 2022 · 3 comments

Comments

@LenaWil
Copy link

LenaWil commented Feb 27, 2022

Not sure if I this a Xcode bug or AFSC-tool one, but when I try to run cmake, while having installed Xcode to /custom location/ instead of /Apps I get the following error:

-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/local/Cellar/cmake/3.22.2/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /Users/tmw/Downloads/afsctool/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/make -f Makefile cmTC_3466d/fast && /custom location/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_3466d.dir/build.make CMakeFiles/cmTC_3466d.dir/build
    make: /custom: No such file or directory
    make: *** [cmTC_3466d/fast] Error 1
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)


-- Configuring incomplete, errors occurred!
@RJVB
Copy link
Owner

RJVB commented Feb 27, 2022 via email

@LenaWil
Copy link
Author

LenaWil commented Feb 28, 2022

Where did you get cmake from?

I got it from homebrew. I didn't have macports installed and wanted to download this, so executed brew install google-sparsehash zlib cmake pkgconfig as in the readme.

does that same source provide make (or gmake)?

I could try to install something else if you want to?

@RJVB
Copy link
Owner

RJVB commented Feb 28, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants