Menu

Build errors on OSX

bouke vahl
2017-11-12
2017-11-12
  • bouke vahl

    bouke vahl - 2017-11-12

    Running 10,12,6, just did a fresh install of Xcode
    For the life of me I can't get the stuff build.
    Can anyone help me, or are there OSX binaries available somewhere?

    Thx!
    Bouke

    My steps so far:
    cd /Users/sierra/Desktop/bmx/bmxlib-bmx

    ./autogen.sh
    (seems fine)

    ./configure --disable-examples
    (Or ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig )

    Then I get…
    ....
    checking for pkg-config... /usr/local/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for libMXF-1.0 >= 1.0.3... no
    configure: error: Package requirements (libMXF-1.0 >= 1.0.3) were not met:

    No package 'libMXF-1.0' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables LIBMXF_CFLAGS
    and LIBMXF_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

    —— new plan, install libMXF first
    git clone git://git.code.sf.net/p/bmxlib/libmxf bmxlib-libmxf
    cd yadda
    But on Make, I get:

              — some more errorstuff &&
    

    MXFDump.cpp:969:18: warning: 'FSGetForkPosition' is deprecated: first deprecated in macOS 10.8
    [-Wdeprecated-declarations]
    OSErr status = FSGetForkPosition(infile, &position);
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:3376:15: note:
    'FSGetForkPosition' has been explicitly marked deprecated here
    extern OSErr FSGetForkPosition(FSIORefNum forkRefNum, SInt64 position) __OSX_AVAILABLE...
    ^
    MXFDump.cpp:980:18: warning: 'FSGetForkSize' is deprecated: first deprecated in macOS 10.8
    [-Wdeprecated-declarations]
    OSErr status = FSGetForkSize(infile, &size);
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:3480:15: note:
    'FSGetForkSize' has been explicitly marked deprecated here
    extern OSErr FSGetForkSize(FSIORefNum forkRefNum, SInt64
    forkSize) __OSX_AVAILABLE...
    ^
    8 warnings and 2 errors generated.
    make[3]: *** [MXFDump.o] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

     
  • jamie_parry

    jamie_parry - 2017-11-15

    this stuff should run on 10.11.4 (no promises past that sorry!)
    and isn't the most recent build but may work for you need anyway.
    The programs AND libraries needed are in there hopefully
    you may need to manually move the libraries to the correct place for yourself.
    hope this helps a bit...
    j

     
MongoDB Logo MongoDB