Issue building on Mac 10.15 - libmadplugin.dylib 0 bytes?
Posted: Thu Jan 14, 2021 2:19 am
I have followed the instructions to build on mac, but I seem to be running into an issue.
I'm on macOS 10.15.7
I've installed:
Xcode
Qt5.5.1
Dependencies/Ports
I've cloned QLC source, (and checked out tag QLC+_4.12.3)
And I've followed the command line steps for building.
But `make install` seems to run into a problem:
If anyone can offer any input or suggestions, I'd greatly appreciate it.
If there is any further info I can provide, please let me know. Thanks!
Full terminal output of `make install` is below:
I'm on macOS 10.15.7
I've installed:
Xcode
Qt5.5.1
Dependencies/Ports
I've cloned QLC source, (and checked out tag QLC+_4.12.3)
And I've followed the command line steps for building.
But `make install` seems to run into a problem:
Code: Select all
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: input file: libmadplugin.dylib is not a Mach-O file
If anyone can offer any input or suggestions, I'd greatly appreciate it.
If there is any further info I can provide, please let me know. Thanks!
Full terminal output of `make install` is below:
Code: Select all
jhays-mbp:qlcplus jhays$ make install
cd hotplugmonitor/ && ( test -e Makefile || /Users/jhays/Qt5.5.1/5.5/clang_64/bin/qmake /Users/jhays/Dev/qlcplus/hotplugmonitor/hotplugmonitor.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
cd src/ && ( test -e Makefile || /Users/jhays/Qt5.5.1/5.5/clang_64/bin/qmake /Users/jhays/Dev/qlcplus/hotplugmonitor/src/src.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
make[2]: Nothing to be done for `install'.
cd test/ && ( test -e Makefile || /Users/jhays/Qt5.5.1/5.5/clang_64/bin/qmake /Users/jhays/Dev/qlcplus/hotplugmonitor/test/test.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
make[2]: Nothing to be done for `install'.
cd engine/ && ( test -e Makefile || /Users/jhays/Qt5.5.1/5.5/clang_64/bin/qmake /Users/jhays/Dev/qlcplus/engine/engine.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
cd audio/ && ( test -e Makefile || /Users/jhays/Qt5.5.1/5.5/clang_64/bin/qmake /Users/jhays/Dev/qlcplus/engine/audio/audio.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
cd plugins/ && ( test -e Makefile || /Users/jhays/Qt5.5.1/5.5/clang_64/bin/qmake /Users/jhays/Dev/qlcplus/engine/audio/plugins/plugins.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
cd mad/ && ( test -e Makefile || /Users/jhays/Qt5.5.1/5.5/clang_64/bin/qmake /Users/jhays/Dev/qlcplus/engine/audio/plugins/mad/mad.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
install_name_tool -change /opt/local/lib/libmad.0.dylib @executable_path/../Frameworks/libmad.0.dylib libmadplugin.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: input file: libmadplugin.dylib is not a Mach-O file
make[4]: *** [install_nametool] Error 1
make[3]: *** [sub-mad-install_subtargets-ordered] Error 2
make[2]: *** [sub-plugins-install_subtargets-ordered] Error 2
make[1]: *** [sub-audio-install_subtargets-ordered] Error 2
make: *** [sub-engine-install_subtargets-ordered] Error 2
jhays-mbp:qlcplus jhays$