Skip to content

Error building on Mac Ventura #6143

Open
@marchold

Description

@marchold

When I get to the ninja all step I get errors like

[1/683] Building CXX object thirdparty/folly/CMakeFiles/folly_base.dir/folly/ClockGettimeWrappers.cpp.o FAILED: thirdparty/folly/CMakeFiles/folly_base.dir/folly/ClockGettimeWrappers.cpp.o /usr/local/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFOLLY_XLOG_STRIP_PREFIXES=\"/Users/marckluver/Downloads/glow/thirdparty/folly:/Users/marckluver/Downloads/build_Debug/thirdparty/folly\" -DGFLAGS_IS_A_DLL=0 -DGIT_DATE=\"2023-10-06\" -DGIT_SHA1=\"deaf061bf\" -DGIT_TAG=\"\" -DGLOW_BUILD_DATE=\"2023-10-13\" -DGLOW_VERSION="\"2023-10-06 (deaf061bf) ()\"" -DGLOW_WITH_CPU=1 -DGLOW_WITH_LLVMIRCODEGEN=1 -DWITH_PNG -D_GNU_SOURCE -D_REENTRANT -I/Users/marckluver/Downloads/glow/include -I/Users/marckluver/Downloads/build_Debug/include -I/Users/marckluver/Downloads/build_Debug -I/Users/marckluver/Downloads/glow -I/Users/marckluver/Downloads/glow/externalbackends -I/Users/marckluver/Downloads/glow/thirdparty/fp16/include -I/Users/marckluver/Downloads/glow/thirdparty/folly -I/Users/marckluver/Downloads/build_Debug/thirdparty/folly -I/usr/local/include -I/usr/local/opt/openssl/include -isystem /usr/local/opt/llvm/include -g -fno-omit-frame-pointer -O0 -g -Wall -Wextra -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fPIC -g -std=c++14 -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wunused-label -Wunused-result -Wno-noexcept-type -Wno-nullability-completeness -Wno-inconsistent-missing-override -fopenmp -MD -MT thirdparty/folly/CMakeFiles/folly_base.dir/folly/ClockGettimeWrappers.cpp.o -MF thirdparty/folly/CMakeFiles/folly_base.dir/folly/ClockGettimeWrappers.cpp.o.d -o thirdparty/folly/CMakeFiles/folly_base.dir/folly/ClockGettimeWrappers.cpp.o -c /Users/marckluver/Downloads/glow/thirdparty/folly/folly/ClockGettimeWrappers.cpp In file included from /Users/marckluver/Downloads/glow/thirdparty/folly/folly/ClockGettimeWrappers.cpp:17: In file included from /Users/marckluver/Downloads/glow/thirdparty/folly/folly/ClockGettimeWrappers.h:19: In file included from /Users/marckluver/Downloads/glow/thirdparty/folly/folly/portability/Time.h:22: In file included from /Users/marckluver/Downloads/glow/thirdparty/folly/folly/portability/Config.h:20: /Users/marckluver/Downloads/build_Debug/thirdparty/folly/folly/folly-config.h:22:34: error: 'TARGET_OS_SIMULATOR' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_] 22 | (TARGET_IPHONE_SIMULATOR || TARGET_OS_SIMULATOR || TARGET_OS_IPHONE)) | ^ /Users/marckluver/Downloads/build_Debug/thirdparty/folly/folly/folly-config.h:22:57: error: 'TARGET_OS_IPHONE' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_] 22 | (TARGET_IPHONE_SIMULATOR || TARGET_OS_SIMULATOR || TARGET_OS_IPHONE)) | ^ 2 errors generated.

Any ideas on what I need to do to get it to build properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions