Vlc compile problem at Windows XP

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.
foruok
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2008 06:34

Vlc compile problem at Windows XP

Postby foruok » 20 Mar 2008 06:40

I'd try to compile VLC(0.8.6e) at Winows XP with Cygwin,I followed the http://wiki.videolan.org/Win32CompileCygwinNew , but I got the error:configure:3502: error: C compiler cannot create executables?

Who can help me? thanks a lot.

Add I want to use libvlc to develop my media player, so, Can I get the .lib file(for VC7.1) through compiling VLC? If possible, How ?
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: Vlc compile problem at Windows XP

Postby Jean-Baptiste Kempf » 20 Mar 2008 08:09

Well, you are not following the good howto, as stated... In the new howto, that you HAVE to use 0.9.x for the new howto.

Then, this is because you didn't set correctly the CC variable when you did configure.
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.

foruok
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2008 06:34

Re: Vlc compile problem at Windows XP

Postby foruok » 21 Mar 2008 10:20

Thanks, I'll try next week.

mobbe
New Cone
New Cone
Posts: 2
Joined: 21 Mar 2008 16:01

Re: Vlc compile problem at Windows XP

Postby mobbe » 21 Mar 2008 16:03

If you have access to the dll it is easy to create a lib file from it...just using standard microsoft dev tools.

1. Create a def file
Use Dumpbin /exports <path to libvlc.dll>

2. Create a def file that has exports in them

Will look something like this...

NAME
"LIBRARY ""libvlc.dll"""
EXPORTS
ACL_AddNet
ACL_Check
....

3 Use LIB /DEF <deffilename> to build the library

Here is an more in depth explanation:

http://support.microsoft.com/?id=131313

Hope this helps

bsrealm
New Cone
New Cone
Posts: 6
Joined: 22 Mar 2008 12:05

Re: Vlc compile problem at Windows XP

Postby bsrealm » 22 Mar 2008 22:30

Thanks a lot mobbe. I had a question at viewtopic.php?f=14&t=45309. VLC_help pointed out this topic for me. It works like a charm. I learnt a lot in the process as well!


Thanks again,
Balki

bobber205
Blank Cone
Blank Cone
Posts: 12
Joined: 16 Sep 2006 05:37

Re: Vlc compile problem at Windows XP

Postby bobber205 » 17 Apr 2008 06:30

I am trying to do the same...

the format of the file I got from the dumpbin was

1 0 00057FD0 ACL_AddNet
2 1 00057F30 ACL_Check
3 2 000581B0 ACL_Destroy

it'll take HOURS AND HOURS to remove all the extra data. I so do not want to do that. How do I get that gone?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests