linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] 'inttypes.h' file not found


From: Nick Briggs
Subject: Re: [Linphone-developers] 'inttypes.h' file not found
Date: Thu, 21 Sep 2017 20:41:32 -0700

On a system that is:

% uname -a
Darwin Macadamia.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

with Xcode version 9 (installed a few days ago), clang is 

% clang --version
Apple LLVM version 9.0.0 (clang-900.0.37)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


(notice that your include is looking for 8.1.0), and the file <inttypes.h> is indeed found at

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/inttypes.h

(and it's not empty)

I wonder if something (CMake) tried to be too smart about the system include search path...?
Reset any build configuration info and try again?


On Sep 21, 2017, at 5:54 PM, Aristedes Maniatis <address@hidden> wrote:

Has anyone succeeded recently in building a recent source of linphone-desktop on OSX? I tried updating all the brew libraries, xcode to 9.0 and linphone source to the latest git from this morning.

# ./prepare.py --all-codecs --package
# make

Any ideas?

Ari


On 29/8/17 8:57PM, Aristedes Maniatis wrote:
When building linphone-desktop from source I'm stuck here:

[ 85%] Forcing build for 'EP_openh264'
[ 86%] Performing build step for 'EP_openh264'
In file included from ../../../..//submodules/externals/openh264/codec/common/src/common_tables.cpp:33:
In file included from ../../../..//submodules/externals/openh264/codec/common/inc/wels_common_defs.h:37:
In file included from ../../../..//submodules/externals/openh264/codec/common/inc/typedefs.h:49:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/include/inttypes.h:30:15: fatal error:
     'inttypes.h' file not found
#include_next <inttypes.h>
             ^
1 error generated.
make[4]: *** [codec/common/src/common_tables.o] Error 1
make[3]: *** [/Users/ari/svn/linphone-desktop/WORK/desktop/Stamp/EP_openh264/EP_openh264-build] Error 2
make[2]: *** [CMakeFiles/EP_openh264.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [desktop-build] Error 2

Should there be an empty inttypes.h file in submodules/externals/openh264?


$ uname -a
Darwin ip-136.ish.com.au 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

This is OSX 10.12.6




--
-------------------------->
Aristedes Maniatis
CEO, ish
https://www.ish.com.au
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]