[XviD-devel] Found an issue and solution to compiling currentCVS on VS .NET.

Joe Millenbach jmillenbach at hotmail.com
Wed Jun 4 20:14:25 CEST 2003


Using current version of NASM
"NASM version 0.98.36 compiled on Mar 13 2003"

And yes I saw that thread, but the issue for me was that it seemed like NASM 
itself didn't accept a quoted -I parameter (don't have another OS to try on 
to see if it's just on XP).  The source file's name wasn't quoted in the 
custom build step, so I'd assume it'd still choke if there was a space in 
the name.

There are additional optimization options that could be set for vc7, but I'm 
not sure of the impact (if it's worth it or not).  Basically I just try to 
open the vc6 files and it says I have to convert them to view them (so not a 
lot of work).  There are a few options I'd set differently for the projects 
(assuming the created code still works correctly), like one of the 
optimization options, if enabled, can't have precompiled headers turned on 
too (which should be fine as there aren't any being used, but the option 
seems to be turned on anyway).

VC7 doesn't seem slower to me, but I didn't use VC6 a whole lot either...And 
yes, it does appear to need Windows 2000 or higher (in the NT tree--so XP or 
.NET Server).

Another issue is the directory for the DirectShow library is in a different 
location for the DX9 SDK than the instructions say to use (now it's in 
C:\DXSDK\Samples\C++\DirectShow\BaseClasses).

I'll experiment a bit with the new optimizations in VC7 and make sure they 
don't break anything, but either way I still don't understand why one option 
was in quotes (and that it doesn't work for me) and the other wasn't.  Would 
think all pathes should be quoted, or none.

>From: suxen_drol <suxen_drol at hotmail.com>
>Reply-To: xvid-devel at xvid.org
>To: xvid-devel at xvid.org
>Subject: Re: [XviD-devel]  Found an issue and solution to compiling 
>currentCVS on VS .NET.
>Date: Wed, 04 Jun 2003 18:40:06 +1000
>
>On Mon, 02 Jun 2003 23:06:47 -0700 "Joe Millenbach" 
><jmillenbach at hotmail.com> wrote:
> > I followed the instructions on DiscDude's page, but I got an error at a
> > specific ASM file.
> >
> > ..
> > Assembling c:\XVID\xvidcore\src\image\x86_asm\interpolate8x8_3dne.asm
> > Assembling c:\XVID\xvidcore\src\image\x86_asm\interpolate8x8_3dn.asm
> > Assembling c:\XVID\xvidcore\src\image\x86_asm\colorspace_yuyv_mmx.asm
> > nasm: error: no input file specified
>
>first: what version of nasm do u have? be sure to try nasm v0.98.34.
>
> > There are about 15-20 above this that worked fine. There isn't a space 
>in
> > the name (looked at that thread already). The command line it used from 
>the
> > build log is below (looks like it should be fine to me, by the NASM 
>docs)...
> >
> > nasm -f win32 -DPREFIX -I"c:\XVID\xvidcore\src\image\x86_asm\" -o
> > \Release\colorspace_yuyv_mmx.obj
> > c:\XVID\xvidcore\src\image\x86_asm\colorspace_yuyv_mmx.asm
> >
> > If I change the custom build steps to remove the double quotes around 
>the -I
> > parameter then it works fine (I have to change the 3 colorspace*.asm 
>files
> > in the x86 folder).
> >
> > Why are they there in the first place?  And would removing them break
>
>iirc, a long time ago somebody complained about xvid not compiling on
>winxp platforms, where the xvid code was stored in a directory with
>spaces. something silly like: "c:/my documents/xvidcore/src...".
>adding quotes fixed this.
>
> > something?  Also how would I go about submitting vc7 versions of the 
>project
> > and workspace files?  They use a different extension/format than vc6.
>
>post the files to this list if they're less than 40kb. otherwise dump
>them on a website and post a link. note: not many people use vc7 here.
>are you willing to maintain the project files as we add/remove files
>from the linux and vc6 makefiles?
>
><!--
>anyway, isnt vc7 slow and difficult to use? i ask this, because i cant
>even install it on my machine. apparently my "windows millenium" is too
>old, but "windows 2000" is not. if my memory serves me correctly,
>windows 2000 was released well before millenium....
>-->
>
>-- pete
>
>
>_______________________________________________
>XviD-devel mailing list
>XviD-devel at xvid.org
>http://list.xvid.org/mailman/listinfo/xvid-devel

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



More information about the XviD-devel mailing list