Page 1 of 1
compiling for win and twolame
Posted: 17 Aug 2009 22:01
by cantinflas
Hi,
I'm trying to compile versuin from git using cygwin.
I used contribs from site:
contrib-20080528-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2, and
contrib-1.0.0.tar.bz2
after configure using script from the compiling for win32 article, I get:
"configure: error: Library twolame needed for twolame was not found"
I tried to compile and install twolame for unix under cygwin, for win static under VC, and for win Dynamic under VC.
Non seem to work.
Any ideas how to proceed?
Thanks in advance.
Re: compiling for win and twolame
Posted: 18 Aug 2009 17:26
by VLC_help
Twolame support is broken ATM in contribs, so disable it.
--enable-twolame -> --disable-twolame to configure-vlc.sh
Re: compiling for win and twolame
Posted: 22 Aug 2009 20:05
by Jean-Baptiste Kempf
1) Do not use configure-vlc.sh
2) Take newer contribs.
Re: compiling for win and twolame
Posted: 23 Aug 2009 13:48
by cantinflas
Thanks,
What should be affected by disabling twolame?
Also, I didn't understand the last post.
What do you mean: "Take last contribs"?
I do take those, but I also use configure-vlc.sh as suggested by this manual:
http://wiki.videolan.org/Win32CompileCygwinNew
Re: compiling for win and twolame
Posted: 23 Aug 2009 18:36
by VLC_help
What should be affected by disabling twolame?
TwoLAME is an optimised MPEG Audio Layer 2 (MP2)
you only need it, if you transcode audio to MP2 format.
Re: compiling for win and twolame
Posted: 24 Aug 2009 11:23
by cantinflas
Disabling twolame worked. Everything compiled successfuly.
Many thanks.
Perhaps it should be considered to alter the configure-vlc.sh script on the tutorial...
Re: compiling for win and twolame
Posted: 24 Aug 2009 22:44
by VLC_help
I will if it becomes constant issue, but it should be fixed in next contrib update (or it might be already, I haven't tested the latest ones).
Re: compiling for win and twolame
Posted: 24 Aug 2009 22:57
by cantinflas
To my short experience:
contrib-20080528-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 has a "live555" problem, Whitch I didn't try to resolve (Version mismatch or something like that).
contrib-1.0.0.tar.bz2 passes the live555 part, but quits on TwoLame.
Using contrib-1.0.0.tar.bz2 + Disabling twolame works for me.
Another thing with the cygwin tutorial, I've noticed that new cygwin setups come with gettext 0.17, while the tutorial assumes version 0.15.
This does not affect new users too much, since 0.15 works just as fine.
Regards,
Re: compiling for win and twolame
Posted: 25 Aug 2009 22:40
by VLC_help
contrib-20080528-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 is way too old.
Another thing with the cygwin tutorial, I've noticed that new cygwin setups come with gettext 0.17, while the tutorial assumes version 0.15.
This does not affect new users too much, since 0.15 works just as fine.
I will fix this.
Re: compiling for win and twolame
Posted: 25 Aug 2009 23:59
by cantinflas
contrib-20080528-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 is the latest file with that filename format on the vlc ftp win directory.
does 1.0.0 replaces it? (It is unclear...)
Re: compiling for win and twolame
Posted: 26 Aug 2009 09:34
by Jean-Baptiste Kempf
people.videolan.org/~jb
Re: compiling for win and twolame
Posted: 26 Aug 2009 09:45
by cantinflas
Thanks jb,
Talking from a noobie point of view, I find it irritating that there are new contribs that are not published on the main tutorial, and not copied to the main ftp directory.
I find the contrib integration the hardest part of trying to compile VLC on my own.
I think it should be made easier.
Perhaps the tutorial should point a specific VLC version and a specific contrib file that are known to go together well, and every now and then this could change with newer VLCs...
Re: compiling for win and twolame
Posted: 26 Aug 2009 23:22
by Jean-Baptiste Kempf
I am so glad you are proposing yourself to help us!
Re: compiling for win and twolame
Posted: 27 Aug 2009 00:29
by arof3000
j-b,
This is what I was exactly writing before your post.
I suffered same problem than 'cantinflas'.. I spent dozen of hours but now I could find a good contrib on the forum.
Is there any way I could help to organize this information or maintain the compilation wiki for Win32?
I built VLC using MSYS as you suggested (after doing this with cygwin last month). unfortunatelly at this moment it builds but crashes when it start. now I'm trying with this new contrib. I miss my debugger from Visual Studio .. hehehe!!!
a bien tot
AROF
Re: compiling for win and twolame
Posted: 27 Aug 2009 00:46
by cantinflas
I'd gladly help.
Don't know how though. Is it Ok for anyone to update the formal tutorials?
I think it's better to move the newer contribs to the official directory. Don't think I'm able to do that...

Re: compiling for win and twolame
Posted: 27 Aug 2009 08:23
by Jean-Baptiste Kempf
I'd gladly help.
Don't know how though. Is it Ok for anyone to update the formal tutorials?
I think it's better to move the newer contribs to the official directory. Don't think I'm able to do that...

It is a wiki...
Re: compiling for win and twolame
Posted: 09 Sep 2009 02:12
by arof3000
I updated the Win32CompileMSYSNew topic explaining about this new contrib folder.
j-b, I guess that as
http://people.videolan.org/~jb/Contribs/ breaks some location rules for storing this contribs. Is this correct? If yes, Is there any way that I can copy/move the files to the standard contribs folder ?
a question: how are these contrib packages created? Do you collect all libs from different sources, make required adjustments, compile and zip?
Lex
Re: compiling for win and twolame
Posted: 09 Sep 2009 12:53
by Jean-Baptiste Kempf
Re: compiling for win and twolame
Posted: 09 Sep 2009 18:23
by arof3000
Should these contribs be moved to the standard folders like
ftp://ftp.videolan.org/pub/vlc/version/ ... ly.tar.bz2 as most wikis refers ?
or as they are from development versions shouldn't be there ?
I'm available to help doing this administrative/infra tasks if required.
Re: compiling for win and twolame
Posted: 10 Sep 2009 07:31
by Jean-Baptiste Kempf
Well, they will be moved when I am sure about those.
Re: compiling for win and twolame
Posted: 25 Sep 2009 19:57
by arof3000
if you need any help, please, let me know.