CYGWin Compilation

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

CYGWin Compilation

Postby bijoy.sivan » 22 Jul 2006 19:46

Hi,

I would like to get following clarifications on vlc on cygwin:

Is there anyone who contributes to the VLC development using the CYGWIN environment ?

Has anyone compiled vlc source successfully using CYGWIN ?

Lurker
Blank Cone
Blank Cone
Posts: 34
Joined: 09 Jul 2006 23:16

Postby Lurker » 23 Jul 2006 00:50

I did with version 0.8.5. No problems, if you don't try to put the engine into a DLL, or to static link with all the modules and plugins.

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

cygwin compilation

Postby bijoy.sivan » 23 Jul 2006 01:01

Thanks for the reply

Did u follow the contrib way ?

Lurker
Blank Cone
Blank Cone
Posts: 34
Joined: 09 Jul 2006 23:16

Postby Lurker » 23 Jul 2006 02:22

Yes.

shreyas
Blank Cone
Blank Cone
Posts: 10
Joined: 22 Jul 2006 15:05
Location: india
Contact:

Postby shreyas » 23 Jul 2006 05:52

i was able to compile successfully just a few days back. in between my system crashed and i compiled again. it compiled successfully but while i start it, it shows no gui. i have also tried it with older vlc -sourcecode and older contrib and older gcc... with diffrent configurations with no gain..:(

does anybody know or even guess what the problem might be?
is the problem with cygwin or is it something else... but then vlc compiled without any error...?? *confused*
---
shreyas
--you are a student all your life--

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

cygwin compilation

Postby bijoy.sivan » 23 Jul 2006 07:56

Could u pls try out with revision 16066 and the lastest contrib ?

I am trying this out now.

This was a pointer given by Trax.

shreyas
Blank Cone
Blank Cone
Posts: 10
Joined: 22 Jul 2006 15:05
Location: india
Contact:

Postby shreyas » 23 Jul 2006 13:39

hmm... i'll give it a try... just now.
will post the results if unsuccessful ... and will definately post if sucessful...;)
--you are a student all your life--

shreyas
Blank Cone
Blank Cone
Posts: 10
Joined: 22 Jul 2006 15:05
Location: india
Contact:

Postby shreyas » 23 Jul 2006 13:46

oh... wait. is there any way of downloading this source code without svn....? i am behind a proxy server ..:(
--you are a student all your life--

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 23 Jul 2006 14:15

http://nightlies.videolan.org has daily source code packages available
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

cygwin compilation

Postby bijoy.sivan » 23 Jul 2006 14:25

Same error: VLC opening only in rc interface

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

cygwin compilation

Postby bijoy.sivan » 23 Jul 2006 19:11

I am getting the following error : How to rectify this ?

checking if $CXX accepts -fpermissive... yes

Warning: No config found to match: /usr/win32/bin/wx-config --unicode
in /usr/win32/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.

configure: WARNING: Probe disc disabled because ok libcdio library not found
configure: WARNING: VCD information on Probe disc disabled because ok libvcdinfo
not found
checking wx/wxprec.h usability... yes
checking wx/wxprec.h presence... yes
checking for wx/wxprec.h... yes
checking Cocoa/Cocoa.h usability... no

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

Lurker : Cygwin compilation

Postby bijoy.sivan » 31 Jul 2006 06:13

Lurker:

I did with version 0.8.5. No problems, if you don't try to put the engine into a DLL, or to static link with all the modules and plugins.

>> Which way did u use ? Static or Dynamic.
How can we specify that

Lurker
Blank Cone
Blank Cone
Posts: 34
Joined: 09 Jul 2006 23:16

Postby Lurker » 31 Jul 2006 14:22

See the following options (./configure --help):

--enable-shared-libvlc
--disable-plugins
--enable-mostly-builtin

By default they are in good states which do not prevent building. However, the release version is built with --enable-shared-libvlc.

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

cygwin compilation

Postby bijoy.sivan » 31 Jul 2006 16:59

could you please post the configure file that you have used ?

Here is my current ./configure-vlc file

./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-gnomevfs \
--enable-dts \
--enable-debug \

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

cygwin compilation

Postby bijoy.sivan » 01 Aug 2006 06:03

I have set the variables as per ur inputs: Now I am getting the following error:


/usr/win32/lib/libtwolame.a(get_set.o):get_set.c:(.text+0x100): multiple definit
ion of `_lame_set_scale_left'
/usr/win32/lib/libmp3lame.a(set_get.o):set_get.c:(.text+0x9c): first defined her
e
/usr/win32/lib/libtwolame.a(get_set.o):get_set.c:(.text+0x140): multiple definit
ion of `_lame_set_scale_right'
/usr/win32/lib/libmp3lame.a(set_get.o):set_get.c:(.text+0xc3): first defined her
e
Creating library file: ../src/libvlc.dll.a
collect2: ld returned 1 exit status
make[4]: *** [libvlc.dll] Error 1
make[4]: Leaving directory `/home/Administrator/vlc-0.8.5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Administrator/vlc-0.8.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Administrator/vlc-0.8.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/vlc-0.8.5'
make: *** [all] Error 2

Lurker
Blank Cone
Blank Cone
Posts: 34
Joined: 09 Jul 2006 23:16

Postby Lurker » 01 Aug 2006 15:47

Here it is:

Code: Select all

CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \ LDFLAGS=-L/usr/win32/lib \ PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \ CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \ ./configure \ --enable-sdl --with-sdl-config-path=/usr/win32/bin \ --disable-gtk \ --enable-nls \ --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib \ --enable-faad --enable-flac --enable-theora \ --with-wx-config-path=/usr/win32/bin \ --with-freetype-config-path=/usr/win32/bin \ --with-fribidi-config-path=/usr/win32/bin \ --enable-live555 --with-live555-tree=/usr/win32/live.com \ --enable-caca --with-caca-config-path=/usr/win32/bin \ --with-xml2-config-path=/usr/win32/bin \ --with-dvdnav-config-path=/usr/win32/bin \ --disable-cddax --disable-vcdx --enable-goom \ --enable-twolame --enable-dvdread \ --enable-dts \ --disable-debug \ --disable-activex \ --enable-shout \ --enable-realrtsp \ --enable-real
I'd suggest to "make clean" and "make distclean" before to be safe.

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

cygwin compilation

Postby bijoy.sivan » 01 Aug 2006 16:02

Thanks, will try this out and post the result

bijoy.sivan
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Jul 2006 19:38

cygwin compilation

Postby bijoy.sivan » 01 Aug 2006 18:48

Thank you so much Lurker.

It got compiled and working with full GUI

I m so thrilled to see it working.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests