Re: VFW Makefile Broken

Michael Militzer <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
Hi,

I have some gcc4-based mingw cross toolchain under linux, which failed with
the original 'CFLAGS += -D_WIN32_IE=0x0500' but compiled fine without...

Further research shows that 'CFLAGS += -D_WIN32_IE=0x0501' seems to work ok
for all (recent) mingw toolchains (windows/linux) I was able to test. So I
have now added this line to the Makefile on CVS.

Thanks for your report.

Regards,
Michael


Quoting Brendan Brewster <[email protected]>:

> Hi,
>
> I hope this is the correct mailing list to be sending this report to and I
> apologize if it is not.
>
> When compiling the latest Xvid 1.2.1 under Cygwin or MinGW, I have no
> problems with xvidcore itself or dshow. I did, however, run into one snag
> trying to compile the vfw component. The last change to
> xvidcore/vfw/bin/Makefile from revision 1.5 to 1.6 for 'WIN64 compatibility'
> removed the line:
>
> CFLAGS += -D_WIN32_IE=0x0500
>
> Compiling with the release vfw Makefile causes the following:
>
> $ make
>   D: =build
>   C: ./codec.c
>   C: ./config.c
> ../src/config.c: In function `main_proc':
> ../src/config.c:1964: warning: implicit declaration of function
> `ListView_GetExtendedListViewStyle'
> ../src/config.c:1971: warning: implicit declaration of function
> `ListView_SetExtendedListViewStyle'
>   C: ./driverproc.c
>   C: ./status.c
>   W: ./resource.rc
>   L: xvidvfw.dll
> config.obj:config.c:(.text+0x78f1): undefined reference to
> `_ListView_GetExtendedListViewStyle'
> config.obj:config.c:(.text+0x7916): undefined reference to
> `_ListView_SetExtendedListViewStyle'
> Creating library file: xvidvfw.dll.a
> collect2: ld returned 1 exit status
> make: *** [xvidvfw.dll] Error 1
>
> When the removed line is restored, everything works as it used to:
>
> $ diff Makefile.bak Makefile
> 26a27
>> CFLAGS += -D_WIN32_IE=0x0500
>
> $ make
>   D: =build
>   C: ./codec.c
>   C: ./config.c
>   C: ./driverproc.c
>   C: ./status.c
>   W: ./resource.rc
>   L: xvidvfw.dll
> Creating library file: xvidvfw.dll.a
>
> Thanks,
> Brendan
> _______________________________________________
> Xvid-devel mailing list
> [email protected]
> http://list.xvid.org/mailman/listinfo/xvid-devel
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.