VLC Win32 MSYS compile checklist

This forum is about all development around libVLC.
chalisas824
New Cone
New Cone
Posts: 1
Joined: 23 Jun 2010 10:26

Re: VLC Win32 MSYS compile checklist

Postby chalisas824 » 23 Jun 2010 10:43

Hi everyone,

I was first following your guidance and the URL is not working since they said there is more update version for MinGW.
And I don't get the point where u said C:\MinGW , does the files suppose to be in that folder after installing MinGW, right?

Well, at this moment the wiki page was under maintenance, and I am very serious about compiling this application, since I have to make them available within THIS WEEK!!! Could anyone be helpful for update the broken like for the required files that need for compiling the source?

I would be very thankful for your help since time doesn't wait for anyone, and I am approaching the finish line by no time, sarcastically its wiki just doesn't work at the moment.

Please do help.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: VLC Win32 MSYS compile checklist

Postby rogerdpack » 22 Sep 2010 00:28

Also, shouldn't "C:\MinGW\lib\gcc\mingw32\4.4.0\libstdc++.la" be 4.4.1 not 4.4.0?
My question is did anybody have success using "vanilla" 4.4.0 or 4.4.1, seeing as it uses dwarf-2 exception handling and some of the contribs require SlJl exception handling? (it fails for me, like C:/MinGW/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x2f37): undefined reference to `_Unwind_SjLj_Unregister

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: VLC Win32 MSYS compile checklist

Postby Jean-Baptiste Kempf » 22 Sep 2010 00:35

No. You NEED a sjlj compiler.
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.

op157
New Cone
New Cone
Posts: 5
Joined: 11 Oct 2010 01:15

Re: VLC Win32 MSYS compile checklist

Postby op157 » 13 Oct 2010 04:00

I am a complete amateur when it comes to this, but I did try to go through the MSYS compile instructions in the wiki. I got stuck with intl.dll originally, but managed to get around it with a copy I found on another website. I added a section, but I thought I would point it out. Perhaps someone that knows what they're doing could figure out a more proper solution.
My changes

gnosygnu
Blank Cone
Blank Cone
Posts: 45
Joined: 06 Jun 2010 16:06

Re: VLC Win32 MSYS compile checklist

Postby gnosygnu » 14 Oct 2010 00:44

Fwiw, I checked all three of my machines and none have a C:\msys\1.0\bin\intl.dll
I don't remember having any errors with regards to intl.dll.
I've compiled 1.1.4 recently. Maybe this is 1.2/git related?

Otherwise, see if you can post the original error, and someone else can offer ideas....

Congratulations on compiling though!

op157
New Cone
New Cone
Posts: 5
Joined: 11 Oct 2010 01:15

Re: VLC Win32 MSYS compile checklist

Postby op157 » 14 Oct 2010 01:55

Thanks!
Now if only I can figure out how to properly read/edit code =P

Here is a screenshot with the error I get w/o intl.dll: http://imgur.com/PFByG.png

I could be putting the dll file in the wrong directory too, but since it's part of the PATH it still works.

And some minor details. I compiled build 1.1.0rc3 following the instructions. The only confusion I had was with getting glib, I downloaded and extracted all the zip files in alphabetical order.

ImageMiner
New Cone
New Cone
Posts: 5
Joined: 09 Nov 2009 14:23
VLC version: 1.0.3
Operating System: Windows/Linux

Re: VLC Win32 MSYS compile checklist

Postby ImageMiner » 14 Oct 2010 11:19

Hi,

I used exactly the actual wiki page to setup a vlc compile on a windows system.
Multiple steps use the dir /usr/win32/...

I do not have any win32 dir in my setup in msys/1.0, but I'm quite sure that there have to be one named like this.
The zip-Files of PKG-Config do not have this dir inside. Maybe I had to extract to mysy/1.0/win32 instead of msys/1.0?
Where do the win32 dir come from? I'm sure it is one simple error in my setup.

I used the following files for setup (named by wiki):
tdm-gcc-4.5.1.exe
mingw-utils-0.3.tar.gz
MSYS-1.0.11.exe
msysDTK-1.0.1.exe
autoconf-2.63-1-msys-1.0.11-bin.tar.lzma
automake-1.11-1-msys-1.0.11-bin.tar.lzma
libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma
libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma
glib_2.26.0-2_win32.zip
glib-dev_2.26.0-2_win32.zip
pkg-config_0.23-3_win32.zip
pkg-config-dev_0.23-3_win32.zip
lua-5.1.4.tar.gz
vlc-1.1.3.tar.bz2

Something missing?

Please give me a hint, which information can help you to help me.
I'm not sure if this is enough to say "ah, you stupid guy, look at this ..."

Thanks

Kind Regards

ImageMiner

ImageMiner
New Cone
New Cone
Posts: 5
Joined: 09 Nov 2009 14:23
VLC version: 1.0.3
Operating System: Windows/Linux

Re: VLC Win32 MSYS compile checklist

Postby ImageMiner » 14 Oct 2010 14:36

OK, ... I solved my issue by myself.
I forgot to copy the contribs to the msys dir.
Grrrr ... let's see where I'll get stuck next (;-)

Kind Regards

ImageMiner

gnosygnu
Blank Cone
Blank Cone
Posts: 45
Joined: 06 Jun 2010 16:06

Re: VLC Win32 MSYS compile checklist

Postby gnosygnu » 15 Oct 2010 01:21

Here is a screenshot with the error I get w/o intl.dll:
Hmm... sorry, no good ideas. I just checked my local machine and I don't have intl.dll in either C:\msys\1.0\ or C:\MinGW\. My pkg-config.exe works fine without it.

If I were to offer a weak guess, I would say Operating System issue? (I have Windows XP SP 2 / 3 across all 3 machines)

Vicne
Blank Cone
Blank Cone
Posts: 40
Joined: 28 Feb 2010 22:11

Re: VLC Win32 MSYS compile checklist

Postby Vicne » 16 Oct 2010 10:18

Indeed, what is your OS ?
FWIW, searching for "pkg-config intl.dll not found" on Google, it returns the Win32CompileMSYSNew wiki page, although neither the current version nor the one from Google cache make any reference to this so I guess it's lost somewhere in the page history (?)..., but the excerpt on the Google results page can be improved to read "1) A good copy of intl.dll from https://svn.modevia.com/inkscape/devlibs/bin/. 2) And the directory to place the dll file: C:\msys\1.0\bin\..."
So maybe it's worth a try downloading and copying that file somewhere in the path.
But anyway it's more a workaround than a solution, so we should try to find what the differences are between your setup and one that works...

op157
New Cone
New Cone
Posts: 5
Joined: 11 Oct 2010 01:15

Re: VLC Win32 MSYS compile checklist

Postby op157 » 17 Oct 2010 00:38

I have xp pro sp3.

I was the one who updated the wiki page, but that was the workaround I figured out. It does feel kinda kludgey.

Vicne
Blank Cone
Blank Cone
Posts: 40
Joined: 28 Feb 2010 22:11

Re: VLC Win32 MSYS compile checklist

Postby Vicne » 17 Oct 2010 15:03

I have xp pro sp3.

I was the one who updated the wiki page, but that was the workaround I figured out. It does feel kinda kludgey.
:-) OK, forget about it then :-)

XP2 here, but I really don't understand where the difference is. I don't have any intl.dll in the path... The only one I find on my whole system is in Songbird's folder which is not in the path so I doubt pkg config finds it.

Looks like this file is related to internationalization (seriously :-)), so maybe it's needed due to your language settings ? I'm on a French system, what's yours ?

If not, then I would think about a recent change in pkg-config. Here are the versions of the files I used when building :
glib_2.18.2-1_win32.zip
pkg-config_0.23-3_win32.zip
pkg-config-dev_0.23-3_win32.zip

Did you use the exact same ?

Best regards,

Vicne

op157
New Cone
New Cone
Posts: 5
Joined: 11 Oct 2010 01:15

Re: VLC Win32 MSYS compile checklist

Postby op157 » 18 Oct 2010 03:02

Ahh, this is good info!

I am using an English setup, so that could be something

Also, I was using glib 2.26 (i don't see an intl.dll file in 2.18 tho). I am actually on my way out of the door right now to do some shopping for a trip and will be packing tonight. I will be MIA for a week, so I'll play around with glib 2.18 then.

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

Re: VLC Win32 MSYS compile checklist

Postby VLC_help » 23 Oct 2010 15:59

I also got intl.dll issue. I am running Windows 2003 under VMware Player which has its own intl.dll file (I am not sure if this causes problems). Anyhow, copying intl.dll to C:\msys\1.0\bin\ as Vicne said helps. I added this to trouble shooting section
http://wiki.videolan.org/Win32CompileMS ... leShooting.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 24 guests