PDA

View Full Version : First step to filter creation


MrTVideo
5th December 2004, 07:55
I am re-learning C and in attempting to compile the Invert.dll with a copy of avisynth.h it throws heaps of errors. I am using Lcc-win32 the free C compiler. I downloaded The avisynth source to get avisynth.h. I started to go through the code to correct it but then thought my version would be incompatable. It could be the compiler so I will try Microsofts one I think I saw a comment about it. Are there any issues that may help?.

I know I was a bit of a pain in the other forum but I hope to eventually be able to contribute.

Editing to add: Just read the issues in the sticky thread about compiling Avisynth so untill I can afford VC6 I will try and adapt to the compiler I have. Most of the calls appear to be basic API. Got nothing to loose only hours.

Have to learn to sit on my hands. sorry guys.

stickboy
5th December 2004, 09:07
You don't need to buy VC6. Microsoft's is giving away their VC7 compiler for free, and you can use that to compile AviSynth plug-ins.

Microsoft releases free optimizing C++ compiler (http://forum.doom9.org/showthread.php?s=&threadid=74608)

Fizick
5th December 2004, 13:00
MrTVideo,
VCtoolkit works OK.
And if you have VB, you probably can use its windows include and library files.
And may be IDE too.

tsp
5th December 2004, 14:10
visual c++ 2005 express beta is also quite usefull. It's a great help to have a good debugger. Get it here (http://lab.msdn.microsoft.com/express/)

MrTVideo
6th December 2004, 04:32
Ok I shall bit the bullet. As I use dialup internet it will take a few hours but I will stretch it over a couple of sessions. I would like to thank all of you for replying. I will have fun re-learning C havent programmed in it for 15 years, at least Ansi C hasent changed, have to get a handle (Parden the pun) on OOP. I am starting to get an idea on how to bit manipulate and interogate pixels within a frame. My ultimate goal is to create an object following routine. Smacks of image recognition within a video frame. So far I am having more success with RQbasic. a not so visual form of the language but it does accept the API.
@Fizick I do not have VB and a special thanks to you for replies in other posts.

Keep you all posted :D

Edit: It finaly downloaded but as I have Win98 it will not load Ahmmm!
nevermind back to plan A

Fizick
6th December 2004, 23:40
What did you finally download? :confused:

MrTVideo
7th December 2004, 02:56
@Fizick I do appreciate your reply, in answer this is what I did.
I downloaded the free Microsoft C++ compiler took just over 2hrs. On install I got the message that it was only for XP or Win2000. I do not have VB so I havent got that option. My problem is that I have got XP but found my pci cards including modem need upgrading so I will have to set up a dual booting system and repartition my system drive for the two operating systems. Strangly I seem to be getting success with correcting Avisynth.h to LCC-Win32 syntax I only have 1/3 of the way to go and most are just warnings now. It will be a good exercise and give me a better insite into the whole frame serving thing. I have a long journey ahead and never realised before just how video was displayed. I was and probably still am a video editing user, slightly more enlightened. I was a production engineer and if I can find an easier way to do things I will let you all know.