[XviD-devel] compiling problem on different calling convention(stdcall)

Ik-Hwan Cho master at teddydino.com
Sat Nov 24 10:31:26 CET 2007


Dark Sylinc 쓴 글:
> Hi
>
>   
>> 1>qpel.obj : error LNK2001: unresolved external
>> symbol 
>> _mp4v_V_Pass_Avrg_Up_8_Add_mmx at 20
>>     
>
> It's been a while since I don't use nasm. But if I
> recall correctly, changing cdecl to stdcall in the C
> compiler wouldn't change NASM files. You would need to
> change each asm file to change the name of each
> function. Luckily they're all using a macro, so you
> should redefine that "cglobal" macro with the one
> explained here:
> http://www.codebreakers-journal.com/content/view/158/104/
>
> Not an easy task though. (but not hard enough)
>
> I also wonder how this would affect the asm coder, in
> case there is somewhere an assumption on how the
> parameters are given.
>
> Why do you *NEED* to use stdcall anyway??
>
>
> Cheers
> Dark Sylinc
>
>
>
>       Compartí video en la ventana de tus mensajes (y también tus fotos de Flickr). 
> Usá el nuevo Yahoo! Messenger versión Beta. http://ar.beta.messenger.yahoo.com/
> _______________________________________________
> XviD-devel mailing list
> XviD-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel
>
>
>   
:)
I just try to use xvid project with my own directshow application.
And even if I'm not sure I should use only 'stdcall' in directshow 
application, however, I just follow instruction from directshow textbook 
and use 'stdcall' for it.
whatever thanks for your comments.


More information about the XviD-devel mailing list