ortoni
4th February 2019, 04:33
Wonder if anyone else has had a go at compiling Assrender for AVISynth+? I got as far as Libass, Freetype, Hrfbuzz and Fribidi libraries done using MSVC, and libfontconfig.a created using MSys, but just can't quite get past some unresolved external symbols, e.g. '__imp__avs_is_yv12'.
I also had to remove the inline modifier from (void) definitions of col2rgb, col2yuv601, col2yuv709 and col2yuv2020 in render.c to get around a similar unresolved external symbols error on these functions. MSVC is VS2017 x86 compiler.
Any thoughts gratefully received, and TIA!
Edit: solved this one - wasn't correctly linked to AviSynth.lib (duh). Moved the inline definitions to the header and that solved that unresolved external error. She compiles now, but next problem is error "Cannot load file AssRender.dll. Platform returned code 193: %1 is not a valid Win32 Application." Appears one of the source libraries may be compiled for x64 - anyone?
I also had to remove the inline modifier from (void) definitions of col2rgb, col2yuv601, col2yuv709 and col2yuv2020 in render.c to get around a similar unresolved external symbols error on these functions. MSVC is VS2017 x86 compiler.
Any thoughts gratefully received, and TIA!
Edit: solved this one - wasn't correctly linked to AviSynth.lib (duh). Moved the inline definitions to the header and that solved that unresolved external error. She compiles now, but next problem is error "Cannot load file AssRender.dll. Platform returned code 193: %1 is not a valid Win32 Application." Appears one of the source libraries may be compiled for x64 - anyone?