Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

[IOS] Compilation on Mojave fails #60

Closed
tanersener opened this issue Dec 23, 2018 · 3 comments
Closed

[IOS] Compilation on Mojave fails #60

tanersener opened this issue Dec 23, 2018 · 3 comments

Comments

@tanersener
Copy link
Owner

Although some external libraries are compiled successfully some of them fail under macOS Mojave (version 10.14) due to missing system headers.

The following warnings are printed during configure.

configure: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: langinfo.h: proceeding with the compiler's result
configure: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: locale.h: proceeding with the compiler's result
configure: WARNING: nl_types.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: nl_types.h: proceeding with the compiler's result
configure: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/mman.h: proceeding with the compiler's result
configure: WARNING: sys/param.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/param.h: proceeding with the compiler's result
configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/time.h: proceeding with the compiler's result
configure: WARNING: sys/times.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/times.h: proceeding with the compiler's result

make fails with these errors.

fatal error: 
:'assert.h' file not found
gen-fac.c:#include <assert.h>
         ^
31         ^31
::10:10 :fatal error fatal error: : 'stdio.h' file not found
'stdio.h' file not found
#include <stdio.h>
         ^
#include <stdio.h>
         ^
1 error generated.
@tanersener tanersener added the question Further information is requested label Dec 23, 2018
@tanersener tanersener self-assigned this Dec 23, 2018
@tanersener tanersener added incompatibility and removed question Further information is requested labels Dec 23, 2018
@tanersener
Copy link
Owner Author

According to Xcode 10 release notes, Command Line Tools installs system headers inside the macOS SDK, not to /usr/include path. You can still install them from /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg package manually but build scripts should be updated to use macOS SDK instead.

@tanersener
Copy link
Owner Author

This issue will be closed when IOS build scripts are updated after the next Xcode release.

@tanersener
Copy link
Owner Author

Fixed in development

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

No branches or pull requests

1 participant