Compile VLC 2.2.0 on Windows MSYS

This forum is about all development around libVLC.
Khain
New Cone
New Cone
Posts: 3
Joined: 28 Oct 2013 11:26

Compile VLC 2.2.0 on Windows MSYS

Postby Khain » 28 Oct 2013 11:36

Hello,
I have a trouble when compiling VLC 2.2.0 on Windows (With Msys ... i follow the tutorial https://wiki.videolan.org/Win32CompileMSYSNew)
When I compile using the command "make package- win32 -base"
after a while I get the following error :

Code: Select all

. . /.. / / include / vlc_fixups.h : . . 187:38 : error : expected ') ' before ' struct ' . . /.. / / include / vlc_fixups.h : . . 187:38 : error : expected ') ' before ' struct ' . . /.. / / include / vlc_fixups.h : . . 187:38 : error : expected initializer before ' struct ' . . /.. / / include / vlc_fixups.h : . . 187:38 : error : expected unqualified -id before ' struct ' localtime_r structure tm * (const time_t * , struct tm *) ; . . /.. / / include / vlc_fixups.h : . . 191:41 : error : expected ') ' before ' struct ' . . /.. / / include / vlc_fixups.h : . . 191:41 : error : expected ') ' before ' struct ' . . /.. / / include / vlc_fixups.h : . . 187:38 : error : expected unqualified -id before ' struct ' make [ 7] : *** [ commands/libskins2_plugin_la-cmd_dvd.lo ] Error 1 .
I try to solve my problrem with this page https://wiki.videolan.org/Win32CompileM ... leShooting
but nothing works ...

Have you any idea?

Thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compile VLC 2.2.0 on Windows MSYS

Postby Jean-Baptiste Kempf » 05 Nov 2013 20:59

What mingw are you using?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

wytsylar
New Cone
New Cone
Posts: 2
Joined: 06 Nov 2013 04:57

Re: Compile VLC 2.2.0 on Windows MSYS

Postby wytsylar » 06 Nov 2013 05:04

I have the same trouble when i compile VLC 2.0.8
../../../include/vlc_fixups.h:168:38: error: expected unqualified-id before 'str
uct'
struct tm *gmtime_r (const time_t *, struct tm *);
^
../../../include/vlc_fixups.h:168:38: error: expected ')' before 'struct'
../../../include/vlc_fixups.h:168:38: error: expected ')' before 'struct'
../../../include/vlc_fixups.h:168:38: error: expected initializer before 'struct
'
../../../include/vlc_fixups.h:172:41: error: expected unqualified-id before 'str
uct'
struct tm *localtime_r (const time_t *, struct tm *);
^
../../../include/vlc_fixups.h:172:41: error: expected ')' before 'struct'
../../../include/vlc_fixups.h:172:41: error: expected ')' before 'struct'
../../../include/vlc_fixups.h:172:41: error: expected initializer before 'struct
'
make[6]: *** [libskins2_plugin_la-async_queue.lo] Error 1
make[6]: Leaving directory `/home/Administrator/vlc-2.0.8/modules/gui/skins2'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/Administrator/vlc-2.0.8/modules/gui/skins2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Administrator/vlc-2.0.8/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/Administrator/vlc-2.0.8/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Administrator/vlc-2.0.8/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/vlc-2.0.8'
make: *** [all] Error 2

addition---mingw version is 4.8.1

Khain
New Cone
New Cone
Posts: 3
Joined: 28 Oct 2013 11:26

Re: Compile VLC 2.2.0 on Windows MSYS

Postby Khain » 08 Nov 2013 09:47

Hello,

I install TDM-GCC 4.8.1-tdm-2 (With MingwRunime 3.20-2 / mingw32-make 3.82.90 ... )

erkable
New Cone
New Cone
Posts: 5
Joined: 16 Jan 2014 23:08

Re: Compile VLC 2.2.0 on Windows MSYS

Postby erkable » 03 Feb 2014 04:24

Was there any resolution to this problem? I am seeing the same thing.

mkmanoj009
New Cone
New Cone
Posts: 1
Joined: 10 Jan 2017 06:44

Re: Compile VLC 2.2.0 on Windows MSYS

Postby mkmanoj009 » 10 Jan 2017 07:54

hello
i have compiled vlc-2.2.4 32bit using mingw32(i686-5.4.0-release-win32-sjlj-rt_v5-rev0) and msys32 successfully for windows.
when i run vlc.exe on another windows system it could not. but using TDM-GCC this issue is also resolved (thanks Khain for this solution).

please help for :

** my question is to how get ride of TDM-gcc dependency.
** is there any other method which include TDM-gcc libraries during compilation phase, so that during run time on other system that will run properly.

Thanks in advance please help me.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compile VLC 2.2.0 on Windows MSYS

Postby Jean-Baptiste Kempf » 20 Jan 2017 00:27

What happens on the other computer?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests