View Full Version : Can't debug avisynth...
Jocko Homo
11th January 2007, 16:08
Okay, I've successfully compiled a debug version of avisynth.dll and stuck it in the system32 directory but it doesn't work. Playing any media player crashes. I did do something a little wonky by compiling against the runtime DLL, rather than statically linking it in but I don't really see how that could be my problem.
What's going on? How do you run a debug version of avisynth?
Any help in debugging avisynth would be greatly appreciated.
Thank you...
sh0dan
11th January 2007, 16:11
Run it through the debugger. Press "F5", select VirtualDub.exe as your application.
Jocko Homo
11th January 2007, 16:45
Run it through the debugger. Press "F5", select VirtualDub.exe as your application.Unfortunately, I know enough to do that (actually, I run it through wmplayer but same thing) and that's what's not working. The player blows up. Actually, it says that it can't load the file (VirtualDub will say the same thing). It's obviously because the avisynth.dll is not working but I don't understand why it wouldn't. My compiled release version works but the debug won't.
What's going on?
Thank you...
tsp
11th January 2007, 18:15
what is the exact error in virtualdub? With the default debug build I get a "AVI Import Filter error: (Unknown) (80040154)" while a release build works fine. The strange thing is that if I copy the settings for the release build and modify them so they are nearly the same as the debug build it stills works.
Jocko Homo
11th January 2007, 18:47
what is the exact error in virtualdub? With the default debug build I get a "AVI Import Filter error: (Unknown) (80040154)" while a release build works fine. The strange thing is that if I copy the settings for the release build and modify them so they are nearly the same as the debug build it stills works.The error I get is exactly the one you say, including that obscure number.
So, if anyone has any insight as to why these debug builds don't work, I'd really appreciate some comments. Even a testimony that your debug build works would be helpful, too.
Thank you...
tsp
11th January 2007, 19:14
what version of visual studio do you use?
tsp
11th January 2007, 20:18
for some reason my debug build now works. The only thing I have done is updating xvid to the latest version (1.2 beta). From reading some of the other threads the error can appear with codecs not properly installed.
sh0dan
11th January 2007, 21:02
It could be that the system cannot locate the debug runtime dll, or some other dependency. My compiled version (v2.6 - debug, VC8 Express) requires MSVCRTD.DLL, MSVCP60D.DLL and DevIL-d.dll to be in system32 or similar.
(if you want better answers, ask better questions next time ;) )
tsp
11th January 2007, 23:02
Ok in my case linking devil.lib instead of devil-d.lib solved the problem. A little weird as I have devil-d.dll in c:\windows\system32\ so it must be because devil-d.dll is missing some files.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.