compiling for win and twolame

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
cantinflas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Jul 2008 11:51

compiling for win and twolame

Postby cantinflas » 17 Aug 2009 22:01

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.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: compiling for win and twolame

Postby VLC_help » 18 Aug 2009 17:26

Twolame support is broken ATM in contribs, so disable it.
--enable-twolame -> --disable-twolame to configure-vlc.sh

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: compiling for win and twolame

Postby Jean-Baptiste Kempf » 22 Aug 2009 20:05

1) Do not use configure-vlc.sh
2) Take newer contribs.
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.

cantinflas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Jul 2008 11:51

Re: compiling for win and twolame

Postby cantinflas » 23 Aug 2009 13:48

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: compiling for win and twolame

Postby VLC_help » 23 Aug 2009 18:36

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.

cantinflas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Jul 2008 11:51

Re: compiling for win and twolame

Postby cantinflas » 24 Aug 2009 11:23

Disabling twolame worked. Everything compiled successfuly.
Many thanks.
Perhaps it should be considered to alter the configure-vlc.sh script on the tutorial...

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: compiling for win and twolame

Postby VLC_help » 24 Aug 2009 22:44

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).

cantinflas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Jul 2008 11:51

Re: compiling for win and twolame

Postby cantinflas » 24 Aug 2009 22:57

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,

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: compiling for win and twolame

Postby VLC_help » 25 Aug 2009 22:40

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.

cantinflas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Jul 2008 11:51

Re: compiling for win and twolame

Postby cantinflas » 25 Aug 2009 23:59

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...)

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: compiling for win and twolame

Postby Jean-Baptiste Kempf » 26 Aug 2009 09:34

people.videolan.org/~jb
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.

cantinflas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Jul 2008 11:51

Re: compiling for win and twolame

Postby cantinflas » 26 Aug 2009 09:45

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...

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: compiling for win and twolame

Postby Jean-Baptiste Kempf » 26 Aug 2009 23:22

I am so glad you are proposing yourself to help us!
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.

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: compiling for win and twolame

Postby arof3000 » 27 Aug 2009 00:29

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

cantinflas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Jul 2008 11:51

Re: compiling for win and twolame

Postby cantinflas » 27 Aug 2009 00:46

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... :)

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: compiling for win and twolame

Postby Jean-Baptiste Kempf » 27 Aug 2009 08:23

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...
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.

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: compiling for win and twolame

Postby arof3000 » 09 Sep 2009 02:12

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

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: compiling for win and twolame

Postby Jean-Baptiste Kempf » 09 Sep 2009 12:53

http://people.videolan.org/~jb/Contribs/ is where I put contribs to be tested.
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.

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: compiling for win and twolame

Postby arof3000 » 09 Sep 2009 18:23

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.

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: compiling for win and twolame

Postby Jean-Baptiste Kempf » 10 Sep 2009 07:31

Well, they will be moved when I am sure about those.
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.

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: compiling for win and twolame

Postby arof3000 » 25 Sep 2009 19:57

if you need any help, please, let me know.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 42 guests