Build instructions are rather outdated:
- it should be sufficient to install just Xcode command line tools
- there’s no need to install git from homebrew because it’s already provided by Xcode (and with Xcode command line tools as well iirc)
- brew install sdl2_mixer –with-smpeg2 is no longer possible. Instead I followed this approach: https://github.com/veandco/go-sdl2/issues/299#issuecomment-611681191
- it’s not required to install Qt with homebrew if you used Qt Installer, just point PATH to bin of your Qt directory
Build issues I faced.
- Cmake warnings that don’t fail build (might be already known):
log
-- Checking for module 'minizip'
-- Found minizip, version 1.2.11
CMake Warning (dev) at /usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to `find_package_handle_standard_args` (MINIZIP)
does not match the name of the calling package (Minizip). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake_modules/FindMinizip.cmake:70 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:218 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to `find_package_handle_standard_args` (FL) does
not match the name of the calling package (FuzzyLite). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake_modules/FindFuzzyLite.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
AI/CMakeLists.txt:12 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find FL (missing: FL_LIBRARIES FL_INCLUDE_DIRS)
- cpack is unable to build dmg:
log
❯ cpack -C Debug
CPack: Create package using DragNDrop
CPack: Install projects
CPack: - Install project: VCMI [Debug]
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/MacOS/vcmilauncher", "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/MacOS/AI/libBattleAI.dylib", "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/MacOS/AI/libEmptyAI.dylib", "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/MacOS/AI/libStupidAI.dylib", "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/MacOS/AI/libVCAI.dylib", "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/MacOS/libvcmi.dylib")
ERROR: no file at "/usr/lib/libvcmi.dylib"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets_debug"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets_debug"
Log: copy: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtWidgets.framework/Resources" "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtWidgets.framework/Versions/5/Resources"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtWidgets.framework/Resources/Info.plist"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtWidgets.framework/Versions/5/Resources/Info.plist"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtWidgets.framework/QtWidgets_debug"
Log: points to "Versions/Current/QtWidgets_debug"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtWidgets.framework/Resources"
Log: points to "Versions/Current/Resources"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtWidgets.framework/Versions/Current"
Log: points to "5"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork_debug"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork_debug"
Log: copy: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtNetwork.framework/Resources" "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtNetwork.framework/Versions/5/Resources"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtNetwork.framework/Resources/Info.plist"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtNetwork.framework/Versions/5/Resources/Info.plist"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtNetwork.framework/QtNetwork_debug"
Log: points to "Versions/Current/QtNetwork_debug"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtNetwork.framework/Resources"
Log: points to "Versions/Current/Resources"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtNetwork.framework/Versions/Current"
Log: points to "5"
Log: copied: "/usr/local/opt/minizip/lib/libminizip.1.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libminizip.1.dylib"
Log: copied: "/usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libSDL2-2.0.0.dylib"
Log: copied: "/usr/local/opt/boost/lib/libboost_date_time-mt.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libboost_date_time-mt.dylib"
Log: copied: "/usr/local/opt/boost/lib/libboost_filesystem-mt.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libboost_filesystem-mt.dylib"
Log: copied: "/usr/local/opt/boost/lib/libboost_locale-mt.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libboost_locale-mt.dylib"
Log: copied: "/usr/local/opt/boost/lib/libboost_chrono-mt.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libboost_chrono-mt.dylib"
Log: copied: "/usr/local/opt/boost/lib/libboost_program_options-mt.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libboost_program_options-mt.dylib"
Log: copied: "/usr/local/opt/boost/lib/libboost_system-mt.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libboost_system-mt.dylib"
Log: copied: "/usr/local/opt/boost/lib/libboost_thread-mt.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libboost_thread-mt.dylib"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtGui.framework/Versions/5/QtGui_debug"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui_debug"
Log: copy: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtGui.framework/Resources" "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtGui.framework/Versions/5/Resources"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtGui.framework/Resources/Info.plist"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtGui.framework/Versions/5/Resources/Info.plist"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtGui.framework/QtGui_debug"
Log: points to "Versions/Current/QtGui_debug"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtGui.framework/Resources"
Log: points to "Versions/Current/Resources"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtGui.framework/Versions/Current"
Log: points to "5"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore_debug"
Log: copy: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Resources" "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtCore.framework/Versions/5/Resources"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Resources/Info.plist"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtCore.framework/Versions/5/Resources/Info.plist"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtCore.framework/QtCore_debug"
Log: points to "Versions/Current/QtCore_debug"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtCore.framework/Resources"
Log: points to "Versions/Current/Resources"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtCore.framework/Versions/Current"
Log: points to "5"
Log: copied: "/usr/local/opt/icu4c/lib/libicudata.67.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libicudata.67.dylib"
Log: copied: "/usr/local/opt/icu4c/lib/libicui18n.67.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libicui18n.67.dylib"
Log: copied: "/usr/local/opt/icu4c/lib/libicuuc.67.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks//libicuuc.67.dylib"
Log:
Log: Deploying plugins from "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/platforms/libqcocoa_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/platforms/libqcocoa_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/platforms/libqcocoa_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtDBus.framework/Versions/5/QtDBus_debug"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtDBus.framework/Versions/5/QtDBus_debug"
Log: copy: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtDBus.framework/Resources" "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtDBus.framework/Versions/5/Resources"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtDBus.framework/Resources/Info.plist"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtDBus.framework/Versions/5/Resources/Info.plist"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtDBus.framework/QtDBus_debug"
Log: points to "Versions/Current/QtDBus_debug"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtDBus.framework/Resources"
Log: points to "Versions/Current/Resources"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtDBus.framework/Versions/Current"
Log: points to "5"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport_debug"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport_debug"
Log: copy: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtPrintSupport.framework/Resources" "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/Resources"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtPrintSupport.framework/Resources/Info.plist"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/Resources/Info.plist"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtPrintSupport.framework/QtPrintSupport_debug"
Log: points to "Versions/Current/QtPrintSupport_debug"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtPrintSupport.framework/Resources"
Log: points to "Versions/Current/Resources"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtPrintSupport.framework/Versions/Current"
Log: points to "5"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/printsupport/libcocoaprintersupport_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/printsupport/libcocoaprintersupport_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/printsupport/libcocoaprintersupport_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/styles/libqmacstyle_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/styles/libqmacstyle_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/styles/libqmacstyle_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/bearer/libqgenericbearer_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/bearer/libqgenericbearer_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/bearer/libqgenericbearer_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqgif_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqgif_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqgif_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqicns_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqicns_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqicns_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqico_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqico_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqico_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqjpeg_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqjpeg_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqjpeg_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqmacheif_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqmacheif_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqmacheif_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqmacjp2_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqmacjp2_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqmacjp2_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqtga_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqtga_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqtga_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqtiff_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqtiff_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqtiff_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqwbmp_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqwbmp_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqwbmp_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/imageformats/libqwebp_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqwebp_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/imageformats/libqwebp_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/plugins/iconengines/libqsvgicon_debug.dylib"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/iconengines/libqsvgicon_debug.dylib"
Log:
Log: Deploying Qt frameworks found inside: ("/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns/iconengines/libqsvgicon_debug.dylib")
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtSvg.framework/Versions/5/QtSvg_debug"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg_debug"
Log: copy: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtSvg.framework/Resources" "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtSvg.framework/Versions/5/Resources"
Log: copied: "/Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtSvg.framework/Resources/Info.plist"
Log: to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtSvg.framework/Versions/5/Resources/Info.plist"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtSvg.framework/QtSvg_debug"
Log: points to "Versions/Current/QtSvg_debug"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtSvg.framework/Resources"
Log: points to "Versions/Current/Resources"
Log: symlink "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Frameworks/QtSvg.framework/Versions/Current"
Log: points to "5"
Log: Created configuration file: "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/Resources/qt.conf"
Log: This file sets the plugin search path to "/Volumes/hdd/dev/vcmi-build/_CPack_Packages/Darwin/DragNDrop/vcmi-0.99/VCMI.app/Contents/PlugIns"
CMake Error at /usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/BundleUtilities.cmake:454 (message):
otool -l failed: 1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump:
error: '@rpath/QtCore.framework/Versions/5/QtCore_debug': No such file or
directory
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/BundleUtilities.cmake:523 (get_item_rpaths)
/usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/BundleUtilities.cmake:645 (set_bundle_key_values)
/usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/BundleUtilities.cmake:930 (get_bundle_keys)
/Volumes/hdd/dev/vcmi-build/osx/cmake_install.cmake:50 (fixup_bundle)
/Volumes/hdd/dev/vcmi-build/cmake_install.cmake:68 (include)
CPack Error: Error when generating package: VCMI
Failure to start Launcher:
log
❯ ./vcmilauncher
objc[26679]: Class QMacAutoReleasePoolTracker is implemented in both /Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x114c316b0) and /Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x111a331e8). One of the two will be used. Which one is undefined.
objc[26679]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x114c31728) and /Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x111a33260). One of the two will be used. Which one is undefined.
objc[26679]: Class KeyValueObserver is implemented in both /Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x114c31750) and /Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x111a33288). One of the two will be used. Which one is undefined.
objc[26679]: Class RunLoopModeTracker is implemented in both /Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x114c317a0) and /Volumes/hdd/Applications/Qt/5.13.1/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x111a332d8). One of the two will be used. Which one is undefined.
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
ASSERT failure in QVariant: "Trying to clear an unknown type", file kernel/qvariant.cpp, line 1426
fish: './vcmilauncher' terminated by signal SIGABRT (Abort)
Solution is to launch like this:
DYLD_IMAGE_SUFFIX=_debug ./vcmilauncher
I’ve been using macOS 10.14.6, Cmake 3.19.2, Xcode 11.3.1, Qt 5.13.1