[XviD-devel] libxvidcore compiling

Dark Sylinc dark_sylinc at yahoo.com.ar
Tue Apr 1 02:03:02 CEST 2008


I believe you're trying to compile XviD as a Codec for
personal use, rather than compiling XviD to use with
your custom application.
Am I correct?

> '.\Release/sad.obj'; permission denied
Looks more like a temporary Windows issue that could
be fixed on reboot.
Anyway where's that error happening?
Looking at your compile log, it says it compiled the
DLL successfully.
If the dlls weren't successfully built, you can try a
Clean Build: "Build->Rebuild Solution"

The Dll should be at C:\xvidcore-1.1.3\build\win32\bin
To actually install the codec for home use, you need
now to build the VFW (Video-for-Windows) and DDShow
codec.
VFW is requiered for encoding, and both can be used
for for decoding. If you can compile DDShow it's
better, as it will be faster for decoding in your
favourite Media Player.

The VFW should be at
C:\xvidcore-1.1.3\vfw\vfw.dsp
Compile it, and then go to 
C:\xvidcore-1.1.3\vfw\bin\xvid.inf
Right click on that file and choose "Install"
If all goes well, the VFW XviD codec should be
installed now in your system (note: you may be
prompted to specify the DLLs folder path).

Compiling DDShow may be painfull as M$ deprecates
codecs interfaces all the time.
My recomendation, install VFW, download and install
ffdshow, and configure the ffdshow to use the XviD dll
in the settings dialog.
That way you have the benefits of using DDshow (using
ff's interface) and your XviD Dll.
If your intention is to specifically use the DDShow
interface, then you can invest time yourself on it
(and good luck!)
It isn't actually thaaat hard, but definately not as
straight-forward as the other dlls.

Cheers
Dark Sylinc

--- reno reballos <rreballos at yahoo.com> escribió:

> 
> Hi Expert Dark Sylinc,
> 
> thanks for your tips, i got almost to compile the
> libxvidcore, but the problem still persist:
> error: cannot open compiler generated file:
> '.\Release/sad.obj'; permission denied
> i dont think so whether this is an error or not,
> because after i clicked the debug button it prompts 
> me to choices: default web browser, ActiveX Control
> Test Container, regsvr32 and browse...
> which is which i am going to choose?
> 
> i have tried choosing regsvr32 and it prompt me with
> message box "no dll name specified"
> 
> pertaining to the build log (it said that i dont
> have an error)  here is the build log:
>   
> Build Log
>   Build started: Project: libxvidcore,
> Configuration: Release|Win32
> 
> Command Lines
>   Creating temporary file
>
"c:\xvidcore-1.1.3\build\win32\Release\RSP0000B93564864.rsp"
> with contents
> [
> /OUT:"bin\xvidcore.dll" /VERSION:1.0 /INCREMENTAL:NO
> /DLL /MANIFEST
>
/MANIFESTFILE:".\Release\xvidcore.dll.intermediate.manifest"
> /DEF:"..\generic\libxvidcore.def"
> /PDB:".\Release/xvidcore.pdb" /SUBSYSTEM:WINDOWS
> /IMPLIB:"bin\xvidcore.dll.a" /MACHINE:X86
> kernel32.lib user32.lib gdi32.lib winspool.lib
> comdlg32.lib advapi32.lib shell32.lib ole32.lib
> oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
> 
> ".\release\cbp_3dne.obj"
> 
> ".\release\cbp_mmx.obj"
> 
> ".\release\cbp_sse2.obj"
> 
> ".\release\bitstream.obj"
> 
> ".\release\cbp.obj"
> 
> ".\release\mbcoding.obj"
> 
> ".\release\fdct_mmx_ffmpeg.obj"
> 
> ".\release\fdct_mmx_skal.obj"
> 
> ".\release\fdct_sse2_skal.obj"
> 
> ".\release\idct_3dne.obj"
> 
> ".\release\idct_mmx.obj"
> 
> ".\release\idct_sse2_dmitry.obj"
> 
> ".\release\simple_idct_mmx.obj"
> 
> ".\release\fdct.obj"
> 
> ".\release\idct.obj"
> 
> ".\release\simple_idct.obj"
> 
> ".\release\colorspace_rgb_mmx.obj"
> 
> ".\release\colorspace_yuv_mmx.obj"
> 
> ".\release\colorspace_yuyv_mmx.obj"
> 
> ".\release\interpolate8x8_3dn.obj"
> 
> ".\release\interpolate8x8_3dne.obj"
> 
> ".\release\interpolate8x8_mmx.obj"
> 
> ".\release\interpolate8x8_xmm.obj"
> 
> ".\release\postprocessing_mmx.obj"
> 
> ".\release\postprocessing_sse2.obj"
> 
> ".\release\qpel_mmx.obj"
> 
> ".\release\reduced_mmx.obj"
> 
> ".\release\colorspace.obj"
> 
> ".\release\font.obj"
> 
> ".\release\image.obj"
> 
> ".\release\interpolate8x8.obj"
> 
> ".\release\postprocessing.obj"
> 
> ".\release\qpel.obj"
> 
> ".\release\reduced.obj"
> 
> ".\release\sad_3dn.obj"
> 
> ".\release\sad_3dne.obj"
> 
> ".\release\sad_mmx.obj"
> 
> ".\release\sad_sse2.obj"
> 
> ".\release\sad_xmm.obj"
> 
> ".\release\estimation_bvop.obj"
> 
> ".\release\estimation_common.obj"
> 
> ".\release\estimation_gmc.obj"
> 
> ".\release\estimation_pvop.obj"
> 
> ".\release\estimation_rd_based.obj"
> 
> ".\release\estimation_rd_based_bvop.obj"
> 
> ".\release\gmc.obj"
> 
> ".\release\motion_comp.obj"
> 
> ".\release\sad.obj"
> 
> ".\release\vop_type_decision.obj"
> 
> ".\release\mbprediction.obj"
> 
> ".\release\quantize_h263_3dne.obj"
> 
> ".\release\quantize_h263_mmx.obj"
> 
> ".\release\quantize_mpeg_mmx.obj"
> 
> ".\release\quantize_mpeg_xmm.obj"
> 
> ".\release\quant_h263.obj"
> 
> ".\release\quant_matrix.obj"
> 
> ".\release\quant_mpeg.obj"
> 
> ".\release\cpuid.obj"
> 
> ".\release\interlacing_mmx.obj"
> 
> ".\release\mem_transfer_3dne.obj"
> 
> ".\release\mem_transfer_mmx.obj"
> 
> ".\release\emms.obj"
> 
> ".\release\mbtransquant.obj"
> 
> ".\release\mem_align.obj"
> 
> ".\release\mem_transfer.obj"
> 
> ".\release\timer.obj"
> 
> ".\release\plugin_2pass1.obj"
> 
> ".\release\plugin_2pass2.obj"
> 
> ".\release\plugin_dump.obj"
> 
> ".\release\plugin_lumimasking.obj"
> 
> ".\release\plugin_psnr.obj"
> 
> ".\release\plugin_single.obj"
> 
> ".\release\decoder.obj"
> 
> ".\release\encoder.obj"
> 
> ".\release\xvid.obj"
> ]
> Creating command line "link.exe
>
@"c:\xvidcore-1.1.3\build\win32\Release\RSP0000B93564864.rsp"
> /NOLOGO /ERRORREPORT:PROMPT"
> Creating temporary file
>
"c:\xvidcore-1.1.3\build\win32\Release\RSP0000BA3564864.rsp"
> with contents
> [
> /outputresource:".\bin\xvidcore.dll;#2" /manifest
> 
> ".\release\xvidcore.dll.intermediate.manifest"
> ]
> Creating command line "mt.exe
>
@"c:\xvidcore-1.1.3\build\win32\Release\RSP0000BA3564864.rsp"
> /nologo"
> Creating temporary file
>
"c:\xvidcore-1.1.3\build\win32\Release\BAT0000BB3564864.bat"
> with contents
> [
> @echo Manifest resource last updated at %TIME% on
> %DATE% > ".\release\mt.dep"
> ]
> Creating command line
>
"""c:\xvidcore-1.1.3\build\win32\Release\BAT0000BB3564864.bat"""
> 
> Output Window
>   Linking...
>    Creating library bin\xvidcore.dll.a and object
> bin\xvidcore.dll.exp
> Embedding manifest...
> 
> Results
>   Build log was saved at
>
"file://c:\xvidcore-1.1.3\build\win32\Release\BuildLog.htm"
> libxvidcore - 0 error(s), 0 warning(s)
> 
> 
> thank you,
> reno
> 
> ----- Original Message ----
> From: Dark Sylinc <dark_sylinc at yahoo.com.ar>
> To: xvid-devel at xvid.org
> Sent: Sunday, March 30, 2008 5:54:22 AM
> Subject: Re: [XviD-devel] libxvidcore compiling
> 
> 1) Check you're using version 0.98.xx (not the
> latest
> one)
> 2) Try nasm -f win32 -DPREFIX -I$(InputDir) -o
> $(IntDir)\$(InputName).obj $(InputPath)
> (note it's different from the command you wrote)
> 
> Also check with WordPad that there are no strange
> characters in those lines. Sometimes happens and
> MSVC
> doesn't tell.
> 
> Dark Sylinc
> 
> --- reno reballos <rreballos at yahoo.com> escribió:
> 
> > Hi Everyone,
> > 
> > I just wanna ask, experts out there or who have
> > experience compiling the xvidcore with MS Visual
> > Studio 2005, i just want to ask on this error
> > message:
> > 
> > error PRJ0019: A tool returned an error code from
> >
>
"Assembling...xvidcore-1.1.3\xvidcore-1.1.3\src\utils\x86_asm\mem_transfer_mmx.asm"
> > at the libxvidcore file... which is located at the
> > ...xvidcore-1.1.3\build\win32\libxvidcore.dsp
> > 
> > i have set already the custom build environment
> with
> > regards to the .asm file that has error during
> > compilation process with this value: nasm -f win32
> > -DPREFIX -I"$(InputDir)" -o
> > $(IntDir)\$(InputName).obj $(InputPath)
> > 
> > 
> > and i have no more idea on how i gonna do this...
> > 
> > if you have any ideas please share to keep me from
> > the error on .asm files...
> > 
> > 
> > thank you,
> > reno
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> >      
> >
>
____________________________________________________________________________________
> > Be a better friend, newshound, and 
> > know-it-all with Yahoo! Mobile.  Try it now. 
> >
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > _______________________________________________
> > XviD-devel mailing list
> > XviD-devel at xvid.org
> > http://list.xvid.org/mailman/listinfo/xvid-devel
> > 
> 
> 
> IMPORTANT:
> The information contained in this email may be
> commercially sensitive and/or legally privileged. It
> is intended solely for the person(s) to whom it is
> addressed. If the reader of this message is not the
> intended recipient, you are on notice of its status
> and hereby notified that your access is
> unauthorized, and any review, dissemination,
> distribution, disclose or copying of this message
> including any attachments is strictly prohibited.
> Please notify the sender immediately by reply e-mail
> and then delete this message from your system.
> 
> 
>       Los referentes más importantes en compra/
> venta de autos se juntaron:
> Demotores y Yahoo!
> Ahora comprar o vender tu auto es más fácil. Vistá
> ar.autos.yahoo.com/
> _______________________________________________
> XviD-devel mailing list
> XviD-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel

IMPORTANT:
The information contained in this email may be commercially sensitive and/or legally privileged. It is intended solely for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient, you are on notice of its status and hereby notified that your access is unauthorized, and any review, dissemination, distribution, disclose or copying of this message including any attachments is strictly prohibited. Please notify the sender immediately by reply e-mail and then delete this message from your system.


      Yahoo! Encuentros.

Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros http://yahoo.cupidovirtual.com/servlet/NewRegistration


More information about the XviD-devel mailing list