Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th June 2006, 18:43   #1  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
AviSynth 2.6 move to VC2005 Express.

I think it's about time that AviSynth moved off an 8 year old platform, so I have ported AviSynth 2.6 to VC++ 8 Express.

This makes it possible for you to compile and contribute to AviSynth 2.6 with Microsofts free Express Edition. It might also fix some of the bad compiler issues Ian has spent so much time tracking down.

If nobody have any serious objections, I'll commit the code to the 2.6 branch.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 8th June 2006, 11:58   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,922
Can VC++ 8 Express co-exist with earlier versions on one's PC, such as VC++ 6?
Guest is offline   Reply With Quote
Old 8th June 2006, 13:02   #3  |  Link
berrinam
Registered User
 
berrinam's Avatar
 
Join Date: Apr 2005
Posts: 1,740
What libraries are required, since VC2005 Express doesn't come with any at all? MS Platform SDK, perhaps?
berrinam is offline   Reply With Quote
Old 8th June 2006, 14:38   #4  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,348
Quote:
Originally Posted by neuron2
Can VC++ 8 Express co-exist with earlier versions on one's PC, such as VC++ 6?
15. Will the Visual Studio Express Editions install side-by-side with other versions of Visual Studio?

Yes, side-by-side compatibility with other versions of Visual Studio has been tested.

from the FAQ: http://msdn.microsoft.com/vstudio/ex...q/default.aspx

Quote:
Originally Posted by berrinam
What libraries are required, since VC2005 Express doesn't come with any at all? MS Platform SDK, perhaps?
They say you will want to install PSDK, so i guess that means yes

http://msdn.microsoft.com/vstudio/ex...alc/usingpsdk/


I guess you need to uninstall .NET Framework 1.1 or .NET Framework 2.0 first though.

installing without registering: http://forum.doom9.org/showthread.ph...161#post736161

Last edited by Wilbert; 10th June 2006 at 14:07.
Wilbert is offline   Reply With Quote
Old 8th June 2006, 19:11   #5  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,563
I didn't have to, and even the pro version needs an updated PSDK as soon as you install it. VC Express does come with basic header files, but I'm not sure if it's missing libraries like openMP.
foxyshadis is offline   Reply With Quote
Old 9th June 2006, 08:07   #6  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
Call me a ludite but I will still be working with good ol' VC6! I see no reason to break support for that.
IanB is offline   Reply With Quote
Old 9th June 2006, 08:56   #7  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Quote:
Can VC++ 8 Express co-exist with earlier versions on one's PC
Yes - works very nicely on my PCs. "DSW" files open in VC6, "VCPROJ" in VC7, "SLN" in VC8.

Quote:
What libraries are required, since VC2005 Express
There is no MFC support in VC2005, but AviSynth doesn't use MFC, expecpt for adding the version number to the DLL. Other than that the PSDK is required for AviSynth, and DirectX for compiling the Directshow plugin. TCPDEliver needed to have some AFX-related stuff removed, but I've already done that.

@IanB:
The main change is that variables declared in a for loop will no longer work outside the for-loop scope - that will not compile in VC6. I had to recompile the Soundtouch library with VC8, but beside that nothing much besides loops had to be changed.

Quote:
I see no reason to break support for that
Well, the world moves on. VC8 is free, which I think is a great thing for OS software, it's supported, and has a better compiler.
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 9th June 2006 at 09:01.
sh0dan is offline   Reply With Quote
Old 9th June 2006, 14:47   #8  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
How will be VC6-compiled plugin compatibility?
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 9th June 2006, 15:23   #9  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,563
Seamless, as far as I can tell, except that once in a while you have to substitute the VC6 or 7 ml.exe while assembling, or disable for loop conformance (as sh0dan mentions). For the most part every plugin I've loaded has compiled without errors on the new one.

Oh, and DXSDK isn't required at all anymore (unless you're building MPC or something), DS is all in PSDK, although the version of PSDK that comes with 2005Pro is so dated that it doesn't include DirectShow at all.

Last edited by foxyshadis; 9th June 2006 at 15:26.
foxyshadis is offline   Reply With Quote
Old 9th June 2006, 15:41   #10  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
Quote:
Originally Posted by sh0dan
The main change is that variables declared in a for loop will no longer work outside the for-loop scope - that will not compile in VC6.
It won't compile only if you don't fix the code correctly.
IanB is offline   Reply With Quote
Old 11th June 2006, 04:17   #11  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
Sh0dan, you are really pushing it here. Yes, I think it is a good idea to feed the source through the new compiler and amend the code to clean up all the warning/errors in preparation. And we should do this at the maximum winge level. And yes we should be exercising this new environment. But it does not mean that we should not be able to still develope and debug under familiar VC6. When finding and fixing insideous bugs in a major new release I really don't need the extra headache of fighting to learn a new environment.
Quote:
Originally Posted by http://www.virtualdub.org/blog/pivot/entry.php?id=108
One little change that can bite you is that catch(...) no longer catches Win32 exceptions, most notably access violations.
This is a very serious problem! Do we really want to spend a lot of time reworking this, instead of getting the new core functionality written.
Quote:
Note that Express does not include the Win32 resource editor, ...
This also effect the ICON as well as the REV block. It will probably be good for the soul to relearn to manuallly edit .RC files.
IanB is offline   Reply With Quote
Old 11th June 2006, 05:35   #12  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,563
Express doesn't include the resource editor but that doesn't mean you can't import from VC6/7. Odd about the other one though. (Avery has amazingly informative blogs about VS.)
foxyshadis is offline   Reply With Quote
Old 11th June 2006, 14:16   #13  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
@IanB: ok - never mind. Let's just keep the old VC6, then.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 13th June 2006, 02:04   #14  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
@sh0dan: - By all means checkin any syntax polishing you have worked on. Getting the source syntax cross compatible is a very important first step.

My thoughts for doing a platform change would be to do it as a null functionality change so we can do A - B cross checking. Something like develope 2.6.0 under VC6, with near as possible 2005Exp compatible syntax. Do 2.6.1 as a bug fix release + reworking of things like the *.ASM's and the try/catch(...)'s that will choke in 2005Exp. Then do 2.6.2 as an Identical 2005Exp release of 2.6.1 i.e. no new features just pure base translation.
IanB is offline   Reply With Quote
Old 13th June 2006, 05:37   #15  |  Link
devaster
Duke is my hero
 
devaster's Avatar
 
Join Date: Jan 2006
Posts: 79
where is source ???
i have checked cvs yesterday and avs26 folder is empty ...
__________________
NVIDIA CUDA(5.0 RC) on 460M
devaster is offline   Reply With Quote
Old 13th June 2006, 07:33   #16  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
It's in the regular tree as CVS branch "avisynth_2_6"
IanB is offline   Reply With Quote
Old 13th June 2006, 21:53   #17  |  Link
devaster
Duke is my hero
 
devaster's Avatar
 
Join Date: Jan 2006
Posts: 79
IanB :
when I select this CVS branch its still empty ...
Iam using a tortoise CVS for checking ...
__________________
NVIDIA CUDA(5.0 RC) on 460M
devaster is offline   Reply With Quote
Old 14th June 2006, 08:51   #18  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
Wander around the CVS Tree with a web browser to get your bearings first. The files changed specifically for 2.6 have revision stamps like 1.22.2.6 (4 part numbers)
IanB is offline   Reply With Quote
Old 14th June 2006, 22:38   #19  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,348
I attached two screenshots for you. pm the relevant mods if it they forget to approve them
Attached Images
  
Wilbert is offline   Reply With Quote
Old 16th June 2006, 23:02   #20  |  Link
devaster
Duke is my hero
 
devaster's Avatar
 
Join Date: Jan 2006
Posts: 79
Thanx Wilbert
__________________
NVIDIA CUDA(5.0 RC) on 460M
devaster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.