compiling problem of vlc in VC6.0

Gildas Bazin gbazin at netcourrier.com
Mon Jun 17 09:57:01 CEST 2002


On Wednesday 12 June 2002 15:24, dspmpeg wrote:
> hi,all
> i'm tring to compile the vlc in VC,but i get a problem 
> about the libdvdcss,the error is like follow:
> f:\liutao\libdvdcss\src\libdvdcss.h(79) : error C2054: expected '(' to 
follow '__inline__'
> f:\liutao\libdvdcss\src\libdvdcss.h(80) : error C2085: '_dvdcss_error' : 
not in formal parameter list
> f:\liutao\libdvdcss\src\libdvdcss.h(80) : error C2143: syntax error : 
missing ';' before '{'
> f:\liutao\libdvdcss\src\libdvdcss.h(89) : error C2054: expected '(' to 
follow '__inline__'
> f:\liutao\libdvdcss\src\libdvdcss.h(90) : error C2085: '_dvdcss_debug' : 
not in formal parameter list
> f:\liutao\libdvdcss\src\libdvdcss.h(90) : error C2143: syntax error : 
missing ';' before '{'
> f:\liutao\libdvdcss\src\css.c(83) : warning C4013: '_dvdcss_error' 
undefined; assuming extern returning int
> f:\liutao\libdvdcss\src\css.c(115) : warning C4013: '_dvdcss_debug' 
undefined; assuming extern returning int
> ................
> 
> Is there some difference in the linux enviroment and 
> in the windows so i need to modify the source
> code of the libdvdcss? in fact i don't need to read dvd.
> and  can i delete the libdvdcss from my vlc project?
> 

The MSVC project for VLC is really in bad shape because nobody in the 
developpement team is using this compiler, so it's not expected to work out 
of the box as you already noticed :(

For this particular problem, I think it comes from the fact that MSVC 
doesn't recognize the __inline__ keyword, so to get rid of this problem you 
should define __inline__ as __inline somewhere.
Alternatively you can just not compile the dvd plugin, for this you have to 
disable the libdvdcss and plugins/dvd files in the project.

By the way, if you fix the MSVC build, we are interested in patches :)

Hope this helps,

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list