Page 1 of 1
Vlc compile problem at Windows XP
Posted: 20 Mar 2008 06:40
by foruok
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.
Re: Vlc compile problem at Windows XP
Posted: 20 Mar 2008 08:09
by Jean-Baptiste Kempf
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.
Re: Vlc compile problem at Windows XP
Posted: 21 Mar 2008 10:20
by foruok
Thanks, I'll try next week.
Re: Vlc compile problem at Windows XP
Posted: 21 Mar 2008 16:03
by mobbe
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
Re: Vlc compile problem at Windows XP
Posted: 22 Mar 2008 22:30
by bsrealm
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
Re: Vlc compile problem at Windows XP
Posted: 17 Apr 2008 06:30
by bobber205
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?