bincrafters / community

Central repository for issues and recipes
http://bincrafters.readthedocs.io/en/latest/
MIT License
218 stars 36 forks source link

ffmpeg/4.2.1: Symbol not found on MacOS #1264

Closed MartinDelille closed 4 years ago

MartinDelille commented 4 years ago

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
os=Macos
os_build=Macos
arch=x86_64
arch_build=x86_64
compiler=apple-clang
compiler.version=11.0
compiler.libcxx=libc++
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

I tried to use FFmeg with a very simple Qt project:

# conanfile.txt
[requires]
ffmpeg/4.2.1@bincrafters/stable

[generators]
qmake
# test.pro
CONFIG += console
CONFIG -= app_bundle

CONFIG += conan_basic_setup
include(build/conanbuildinfo.pri)

SOURCES += main.cpp
// main.cpp
#include <string>
#include <iostream>

#ifdef __cplusplus
extern "C" {
#endif
#ifndef INT64_C
/// see http://code.google.com/p/ffmpegsource/issues/detail?id=11#c13
#define INT64_C(c) (c ## LL)
/// and http://code.google.com/p/ffmpegsource/issues/detail?id=11#c23
#define UINT64_C(c) (c ## ULL)
#endif

#include <libavformat/version.h>

#include <libavutil/imgutils.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>

#ifdef __cplusplus
}
#endif
using namespace std;

int main(int argc,
         char *argv[]) {
    if (argc < 2) {
        cout << "No argument. Exiting!" << endl;
        return -1;
    }

    AVFormatContext *_formatContext;
    int error = avformat_open_input(&_formatContext, argv[1], nullptr, nullptr);
    cout << error;
}

I ran conan and qmake without problem:

mkdir build && cd build
conan install .. --build missing --update
qmake ../test.pro

Unfortunatly it fails during link edition (see log below).

I have this problem alow on MacOS 15 and Windows 7

Logs (Include/Attach if Applicable)

Click to expand log ``` make ... ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libswscale.a(input.o)) built for free standing ld: warning: could not create compact unwind for _ff_cfhd_init_vlcs: stack subq instruction is too different from dwarf stack size ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libswscale.a(scale.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavutil.a(imgutils.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libswscale.a(output.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(aacencdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavutil.a(cpuid.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(dnxhdenc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libswscale.a(rgb_2_rgb.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(svq1enc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(v210enc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(v210.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(cpu-a.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(ac3dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(ac3dsp_downmix.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(lossless_videodsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(pngdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(diracdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(huffyuvdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(idctdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(alacdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(hpeldsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_chromamc_10bit.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_chromamc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(qpeldsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(qpel.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(fpel.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(bswapdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavutil.a(fixed_dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavutil.a(float_dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(blockdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(dct32.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_deblock_10bit.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_deblock.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(lossless_videoencdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(huffyuvencdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(pixblockdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(videodsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(mdct15.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(fft.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp9mc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(flacdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(flac_dsp_gpl.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(imdct36.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(g722dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h263_loopfilter.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_weight_10bit.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_weight.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_idct_10bit.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_idct.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(me_cmp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(hevc_add_res.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(hevc_deblock.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(hevc_idct.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(hevc_mc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(hevc_sao_10bit.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(hevc_sao.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(dirac_dwt.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(jpeg2000dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(fmtconvert.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(dcadsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(mlpdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(mpegvideoencdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_intrapred_10bit.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_intrapred.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(exrdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(proresdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp8dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp3dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(celt_pvq_search.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(utvideodsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(sbcdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(lossless_audiodsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(audiodsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(simple_idct10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(simple_idct.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(takdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(ttadsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(ttaencdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vc1dsp_loopfilter.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vc1dsp_mc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vorbisdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp6dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp8dsp_loopfilter.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp9itxfm.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp9intrapred.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp9lpf.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(xvididct.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(cabac-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(bitstream-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(cabac-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(bitstream-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_qpel_8bit.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(h264_qpel_10bit.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(rv40dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(cavsidct.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavutil.a(lls.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libswresample.a(audio_convert.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libswresample.a(rematrix.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(opusdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(hpeldsp_vp3.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(sbrdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(synth_filter.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp9mc_16bpp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp9itxfm_16bpp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp9intrapred_16bpp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(vp9lpf_16bpp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(dct-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(dct-64-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(quant-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(deblock-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(sad16-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(pixel-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(predict-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(trellis-64-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(dct-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(dct-64-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(quant-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(deblock-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(pixel-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(sad-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(predict-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(trellis-64-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(aacpsdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libswresample.a(resample.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/02299736c6912b6b77639cda40a21128ea8407b8/lib/libavcodec.a(rv34dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(const-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(mc-a2-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(mc-a-10.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(const-a-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(mc-a2-8.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/build3/.conan/data/libx264/20190605/_/_/package/69ee63f07d5b57f6472680664b942365c3d4ad90/lib/libx264.a(mc-a-8.o)) built for free standing Undefined symbols for architecture x86_64: "_AudioConverterDispose", referenced from: _ffat_close_decoder in libavcodec.a(audiotoolboxdec.o) _ffat_close_encoder in libavcodec.a(audiotoolboxenc.o) "_AudioConverterFillComplexBuffer", referenced from: _ffat_decode in libavcodec.a(audiotoolboxdec.o) _ffat_encode in libavcodec.a(audiotoolboxenc.o) "_AudioConverterGetProperty", referenced from: _ffat_create_decoder in libavcodec.a(audiotoolboxdec.o) _ffat_init_encoder in libavcodec.a(audiotoolboxenc.o) "_AudioConverterGetPropertyInfo", referenced from: _ffat_create_decoder in libavcodec.a(audiotoolboxdec.o) _ffat_init_encoder in libavcodec.a(audiotoolboxenc.o) "_AudioConverterNew", referenced from: _ffat_create_decoder in libavcodec.a(audiotoolboxdec.o) _ffat_init_encoder in libavcodec.a(audiotoolboxenc.o) "_AudioConverterReset", referenced from: _ffat_decode_flush in libavcodec.a(audiotoolboxdec.o) _ffat_encode_flush in libavcodec.a(audiotoolboxenc.o) "_AudioConverterSetProperty", referenced from: _ffat_create_decoder in libavcodec.a(audiotoolboxdec.o) _ffat_init_encoder in libavcodec.a(audiotoolboxenc.o) "_AudioFormatGetProperty", referenced from: _ffat_create_decoder in libavcodec.a(audiotoolboxdec.o) "_AudioFormatGetPropertyInfo", referenced from: _ffat_create_decoder in libavcodec.a(audiotoolboxdec.o) "_CMBlockBufferCopyDataBytes", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) "_CMBlockBufferCreateWithMemoryBlock", referenced from: _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) "_CMSampleBufferCreate", referenced from: _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) "_CMSampleBufferGetDataBuffer", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) "_CMSampleBufferGetDecodeTimeStamp", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) "_CMSampleBufferGetFormatDescription", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_output_callback in libavcodec.a(videotoolboxenc.o) "_CMSampleBufferGetPresentationTimeStamp", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) "_CMSampleBufferGetSampleAttachmentsArray", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) "_CMSampleBufferGetTotalSampleSize", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) "_CMTimeMake", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_CMVideoFormatDescriptionCreate", referenced from: _videotoolbox_start in libavcodec.a(videotoolbox.o) "_CMVideoFormatDescriptionGetH264ParameterSetAtIndex", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_CVPixelBufferGetBaseAddress", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferGetBaseAddressOfPlane", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferGetBytesPerRow", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferGetBytesPerRowOfPlane", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferGetHeight", referenced from: _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferGetPixelFormatType", referenced from: _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferGetPlaneCount", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferGetWidth", referenced from: _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferIsPlanar", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferLockBaseAddress", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) "_CVPixelBufferPoolCreatePixelBuffer", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_CVPixelBufferRelease", referenced from: _videotoolbox_buffer_release in libavcodec.a(videotoolbox.o) _ff_videotoolbox_uninit in libavcodec.a(videotoolbox.o) _videotoolbox_uninit in libavcodec.a(videotoolbox.o) _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) _videotoolbox_decoder_callback in libavcodec.a(videotoolbox.o) "_CVPixelBufferRetain", referenced from: _videotoolbox_decoder_callback in libavcodec.a(videotoolbox.o) "_CVPixelBufferUnlockBaseAddress", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vt_map_frame in libavutil.a(hwcontext_videotoolbox.o) _vt_unmap in libavutil.a(hwcontext_videotoolbox.o) "_VTCompressionSessionCompleteFrames", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_close in libavcodec.a(videotoolboxenc.o) _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_VTCompressionSessionCreate", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_VTCompressionSessionEncodeFrame", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_VTCompressionSessionGetPixelBufferPool", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_VTCompressionSessionPrepareToEncodeFrames", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_VTDecompressionSessionCreate", referenced from: _videotoolbox_start in libavcodec.a(videotoolbox.o) "_VTDecompressionSessionDecodeFrame", referenced from: _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) "_VTDecompressionSessionInvalidate", referenced from: _videotoolbox_uninit in libavcodec.a(videotoolbox.o) _av_videotoolbox_default_free in libavcodec.a(videotoolbox.o) _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) "_VTDecompressionSessionWaitForAsynchronousFrames", referenced from: _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o) "_VTSessionCopyProperty", referenced from: _vtenc_init in libavcodec.a(videotoolboxenc.o) "_VTSessionSetProperty", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms", referenced from: _videotoolbox_start in libavcodec.a(videotoolbox.o) "_kCMSampleAttachmentKey_NotSync", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) "_kCMTimeIndefinite", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_close in libavcodec.a(videotoolboxenc.o) _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCMTimeInvalid", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferColorPrimariesKey", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferColorPrimaries_ITU_R_709_2", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferGammaLevelKey", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferPixelAspectRatioHorizontalSpacingKey", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferPixelAspectRatioVerticalSpacingKey", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferTransferFunctionKey", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferTransferFunction_ITU_R_709_2", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferTransferFunction_SMPTE_240M_1995", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferTransferFunction_UseGamma", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferYCbCrMatrixKey", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferYCbCrMatrix_ITU_R_601_4", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferYCbCrMatrix_ITU_R_709_2", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVImageBufferYCbCrMatrix_SMPTE_240M_1995", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kCVPixelBufferHeightKey", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) _videotoolbox_start in libavcodec.a(videotoolbox.o) "_kCVPixelBufferIOSurfaceOpenGLTextureCompatibilityKey", referenced from: _videotoolbox_start in libavcodec.a(videotoolbox.o) "_kCVPixelBufferIOSurfacePropertiesKey", referenced from: _videotoolbox_start in libavcodec.a(videotoolbox.o) "_kCVPixelBufferPixelFormatTypeKey", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) _videotoolbox_start in libavcodec.a(videotoolbox.o) "_kCVPixelBufferWidthKey", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) _videotoolbox_start in libavcodec.a(videotoolbox.o) "_kVTCompressionPropertyKey_AllowFrameReordering", referenced from: _vtenc_init in libavcodec.a(videotoolboxenc.o) _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_AverageBitRate", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_ColorPrimaries", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_DataRateLimits", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_MaxKeyFrameInterval", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_MoreFramesAfterEnd", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_MoreFramesBeforeStart", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_PixelAspectRatio", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_ProfileLevel", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_TransferFunction", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTCompressionPropertyKey_YCbCrMatrix", referenced from: _vtenc_create_encoder in libavcodec.a(videotoolboxenc.o) "_kVTEncodeFrameOptionKey_ForceKeyFrame", referenced from: _vtenc_frame in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Baseline_1_3", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Baseline_3_0", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Baseline_3_1", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Baseline_3_2", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Baseline_4_1", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_High_5_0", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Main_3_0", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Main_3_1", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Main_3_2", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Main_4_0", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Main_4_1", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_kVTProfileLevel_H264_Main_5_0", referenced from: _vtenc_configure_encoder in libavcodec.a(videotoolboxenc.o) "_x265_api_get_169", referenced from: _libx265_encode_init_csp in libavcodec.a(libx265.o) _libx265_encode_init in libavcodec.a(libx265.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ```
SSE4 commented 4 years ago

missing symbols are from system frameworks, such as VideoToolbox, AudioToolbox and so on. this is because qmake generator doesn't support Apple frameworks. fix to be released soon (will require to update conan client). right now, you can only add needed frameworks manually to the qmake file.

MartinDelille commented 4 years ago

Ok I manage to remove most of the errors by adding the apple frameworks manually. I still have this one:

Undefined symbols for architecture x86_64:
  "_x265_api_get_169", referenced from:
      _libx265_encode_init_csp in libavcodec.a(libx265.o)
      _libx265_encode_init in libavcodec.a(libx265.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
MartinDelille commented 4 years ago

I retried with the latest conan version and I works now! I just have these annoying warning on my build log:


ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavformat.a(dump.o)) was built for newer macOS version (10.15) than being linked (10.10)
ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavutil.a(frame.o)) was built for newer macOS version (10.15) than being linked (10.10)
ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavutil.a(imgutils.o)) was built for newer macOS version (10.15) than being linked (10.10)
ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavcodec.a(avpacket.o)) was built for newer macOS version (10.15) than being linked (10.10)
ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavformat.a(utils.o)) was built for newer macOS version (10.15) than being linked (10.10)
ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavutil.a(error.o)) was built for newer macOS version (10.15) than being linked (10.10)
ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavcodec.a(options.o)) was built for newer macOS version (10.15) than being linked (10.10)
ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavcodec.a(codec_desc.o)) was built for newer macOS version (10.15) than being linked (10.10)
ld: warning: object file (/Users/build3/.conan/data/ffmpeg/4.2.1/bincrafters/stable/package/5d23a8e31858d63a2ae52f1e941cea11b507e9da/lib/libavcodec.a(allcodecs.o)) was built for newer macOS version (10.15) than being linked (10.10)
MartinDelille commented 4 years ago

I reproduced the problem when trying to build https://code.videolan.org/videolan/x264/ locally for information.

MartinDelille commented 4 years ago

This PR fix the issue: https://github.com/conan-io/conan/pull/7862