amiaopensource / amiaopensource/vrecord

Older Mac Compatibility Issues (Compiling C++ dependancies on installation)

未关闭
#864 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
204
派生
53
平均合并
3 天 2 小时
30 天内合并 PR
10

描述

I figured Id start this by defending my use of an older device for DV-specific projects. I think most people who are going to work capturing old footage like this will need Firewire compatible hardware. Ive found a sweet spot on MacOS11 with a firewire card. Im sure there is a mile-long cable that you could construct that would plug into new mac thunderbolt or usb-c connectors, but I dont have such a cable... or a new computer lol

I've not been able to get the installation through homebrew to work. Some of the dependencies (im finding mpv, vapoursynth in particular) throw the error:

Last 15 lines from /Users/me/Library/Logs/Homebrew/vapoursynth/03.make:
libtool: compile: llvm_clang++ -DPACKAGE_NAME=\"vapoursynth\" -DPACKAGE_TARNAME=\"vapoursynth\" -DPACKAGE_VERSION=\"70\" "-DPACKAGE_STRING=\"vapoursynth 70\"" -DPACKAGE_BUGREPORT=\"https://github.com/vapoursynth/vapoursynth/issues\" -DPACKAGE_URL=\"http://www.vapoursynth.com/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FSEEKO=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DNDEBUG=1 -DVS_TARGET_OS_DARWIN=1 -DVS_TARGET_CPU_X86=1 -DVS_CORE_EXPORTS=1 -DVS_USE_LATEST_API=1 -DVS_GRAPH_API=1 -DVS_USE_LATEST_API=1 -DVSSCRIPT_USE_LATEST_API=1 -I. -pthread -I/usr/local/Cellar/zimg/3.0.5/include -DVS_PATH_PLUGINDIR=\"/usr/local/lib/vapoursynth\" -DVS_CURRENT_RELEASE=70 -std=c++17 -O3 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-ignored-attributes -I./include -mfpmath=sse -msse2 -c src/core/simplefilters.cpp -o src/core/libvapoursynth_la-simplefilters.o >/dev/null 2>&1
libtool: link: llvm_clang++ -std=c++17 -O3 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-ignored-attributes -I./include -mfpmath=sse -msse2 -o .libs/vspipe src/vspipe/vspipe-vspipe.o src/vspipe/vspipe-printgraph.o src/vspipe/vspipe-vsjson.o src/common/vspipe-wave.o -Wl,-bind_at_load -L/usr/local/opt/llvm/lib/c++ ./.libs/libvapoursynth-script.dylib -L/usr/local/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/lib -lpython3.13
Undefined symbols for architecture x86_64:
"std::__1::to_chars(char*, char*, double, std::__1::chars_format)", referenced from:
frameDoneCallback(void*, VSFrame const*, int, VSNode*, char const*) in vspipe-vspipe.o
convertVSMapToJSON(VSMap const*, VSAPI const*) in vspipe-vsjson.o
ld: symbol(s) not found for architecture x86_64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [vspipe] Error 1
make: *** Waiting for unfinished jobs....

when compiling the vapoursynth dependancy. Other C++ programs seem to have issues compiling too. Wondering if anyone had a fix for this. For reference, my system has:

HOMEBREW_VERSION: 4.4.17
ORIGIN: https://github.com/Homebrew/brew
HEAD: *********
Last commit: 24 hours ago
Branch: stable
Core tap JSON: 20 Jan 20:42 UTC
Core cask tap JSON: 20 Jan 20:42 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.********
HOMEBREW_MAKE_JOBS: 16
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 3.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.7/bin/ruby
CPU: 16-core 64-bit nehalem (lol dont ask)
Clang: 13.0.0 build 1300
Git: 2.32.0 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.6.8-x86_64
CLT: 13.2.0.0.1.1637719136
Xcode: 13.2.1

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。