View Single Post
Old 26th January 2008, 16:54   #9  |  Link
AMSS0815
Registered User
 
Join Date: Aug 2006
Posts: 29
Hi Fizick,
Quote:
Originally Posted by Fizick View Post
Fixed version is distributed with Avisynth 2.5.7 setup:
avisynth_c.h is with FilterSDK option (and folder)
and avisynth.lib is with Extras option (and folder).
I tried and failed. To be precise, I (re)placed AviSynth_C.h and AviSynth.lib with the ones comming with AviS 2.5.7, and changed the makefile (so it uses AviSynth.lib). It compiles fine, but linking with the lib-file results in a lot of errors like:
Code:
AVSInpaint.obj(.text+0x6e1):AVSInpaint.c: undefined reference to `_imp__avs_release_video_frame@4'
AVSInpaint.obj(.text+0x1ec7):AVSInpaint.c: undefined reference to `_imp__avs_release_clip@4'
.....
The line #define AVSC_USE_STDCALL 1 suggests that it uses standard calling convention (as far as I looked into the header file, this holds for the imported functions, too).

Quote:
Originally Posted by Fizick View Post
See also Yadif plugin package.
I uncompressed it, and running make resulted in similar error messages (but not so much).
I wonder if my compiler is improperly configured .
By the way: It's gcc 4.2.1 (compiled with some older gcc), and linker is GNU ld 2.15.91 (delivered with MinGW).

AMSS
AMSS0815 is offline   Reply With Quote