A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Rdatatable/data.table/issues/3698 below:

Fix compilation with OpenMP on latest macOS Xcode without headers in /usr/include · Issue #3698 · Rdatatable/data.table · GitHub

When installing according to the docs on macOS 10.14.5, compilation with OpenMP support fails on newer macOS/Xcode versions.

Latest versions of Xcode do not provide the mentioned package macOS_SDK_headers_for_macOS_10.14.pkg any more, as documented in the Xcode 10 release notes.

As such, /usr/include does not exist and cannot be created. Thus, the compilation always fails with the error stdio.h file not found.

Modifying the last line of Makevars from the recommended

CPPFLAGS=-I/usr/local/opt/gettext/include -I$(LLVM_LOC)/include

to

CPPFLAGS=-I/usr/local/opt/gettext/include -I$(LLVM_LOC)/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

solved the issue for me.
However, a lot of warnings and notes about nullability were issued during compilation, but I do not know whether this is associated with my fix or not.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4