Page 1 of 1

vlc 1.1.6 compile with VS2005/2008/2010

Posted: 30 Jan 2011 13:45
by JoungEunKim
Hi. Everyone.

This is vlc 1.1.6.
Hello. tommy382
I'm very rush about this.
I hope this is helpful for you. :)

vlc 1.1.6 compile with VS2005
http://www.megaupload.com/?d=YPAAS1L0

vlc 1.1.6 compile with VS2008
http://www.megaupload.com/?d=7HHKLC9X

vlc 1.1.6 compile with VS2010
http://www.megaupload.com/?d=CHCAEHH0

This is subset for cygwin
http://www.megaupload.com/?d=9IHBZF3O

First check.

If you want to run that, install Window 7 SDK and DXSDK_Jun10.exe.

And set like this.

VC2005 tools >> options >> Projects and Solutions >> VC++Directories >> Show Directories for: >> Include files and Library files

sample for Include files
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\gl

sample for Library files
C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib

And you need comple baseclasses for Windows 7 SDK. (If you compile width window 7 SDK and VC 2005, it has some problem. You are read ReleaseNotes.Htm. And patch your VC2005 with that!)


If you want to more information(compile option's or etc...), please search previous posts.

Bye!!!

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 01 Feb 2011 06:03
by esryu
Hi,
I appreciate your contributions and helps.

I have compile problem, could you please look over this?
The compiler couldn't find "types.h and compat.h".
I am using VS2008 on Windows XP.

Actually, I have 5 errors with those header files.
Can you help me with those compiling errors.

Error messages are as shown below.



1>c:\devel\vlcwin.16.vs2008.nt.up\libcompat\stdafx.h(55) : fatal error C1083: Cannot open include file: 'types.h': No such file or directory
1>Build log was saved at "file://c:\Devel\vlcwin.16.vs2008.NT.up\libcompat\Release\BuildLog.htm"
1>libcompat - 1 error(s), 1 warning(s)
2>------ Build started: Project: libvlccore, Configuration: Release Win32 ------
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>stdafx.cpp
2>c:\devel\vlcwin.16.vs2008.nt.up\libvlccore\stdafx.h(56) : fatal error C1083: Cannot open include file: 'compat.h': No such file or directory
2>Build log was saved at "file://c:\Devel\vlcwin.16.vs2008.NT.up\libvlccore\Release\BuildLog.htm"

(..................)

5>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
5>vlcwin.cpp
5>.\vlcwin.cpp(13) : warning C4005: 'UNICODE' : macro redefinition
5> command-line arguments : see previous definition of 'UNICODE'
5>.\vlcwin.cpp(14) : fatal error C1083: Cannot open include file: 'vlc/vlc.h': No such file or directory

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 01 Feb 2011 12:09
by JoungEunKim
Hi. esryu

I'm sorry. Release version is not working. :oops:
I only comile on debug mode.
Please change compile mode.

Bye!!! :)

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 01 Feb 2011 17:22
by esryu
Thanks for your kind answer.

By the way, please let me know if there is any way to get the codes which enables release-mode compile.

I still met a compiling error in Debug mode.
The code was as shown in below, and error message was "error C2143: syntax error : missing ';' before '*'"
.....................
struct _ITaskbarList3 { ITaskbarList3Vtbl* vt; };
#endif // sunqueen delete end
typedef ITaskbarList3 *LPTASKBARLIST3, *PTASKBARLIST3; // HERE, IT CAUSES ERRORS.


#if 0 // sunqueen delete start
#ifdef __cplusplus
.....................

Have you ever experienced this problem?
Thanks a lot.

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 02 Feb 2011 03:34
by MidnightCoder
Thanks JoungEunKim! I was able to compile both v1.15 and v.16 using VS08. However, the compiled VLC.exe can only play very few type of files. For MKV files, it crashed with the message below. When trying to use libvlc.dll in an external application, I get the error about not able to load libvlc.dll. The files libvlc.dll and libvlccore.dll and folder plugins are there where they needed to be. I noticed that the plugins folder only have one big dll named libplugin.dll instead of a bunch of smaller dlls like the official VLC came with. Any idea why?
Image

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 02 Feb 2011 10:38
by JoungEunKim
Hi. esryu

I think it means SDK directory or Direct-X directory problem.
Please check about libplugin properties.
include directory and link directory.
Change your own directory.

Bye!!!

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 02 Feb 2011 10:58
by JoungEunKim
Hi. tommy382.

I'm sorry.
I don't test enough.
Did you check about "Call Stack" ?
Can you send me your sampe file?

And I made all plugins in one dll.
That's easy way to debug for me. :)
Bye!!!

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 02 Feb 2011 11:17
by MidnightCoder
It failed on looking up the languages... Here is the call stack. Please check your PM for the sample file. I did have compile strmbasd.lib using Windows SDK 7.1 (my 7.0 SDK doens't have the sample projects) and this SDK 7.1 seems like it's 64-bit only. Maybe this file caused problems? Can you share your strmbasd.lib file (32-bit version).

Update: The fix here solved this problem.

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 20 May 2012 03:50
by bratao
Anyone have an mirror for this ??
Specifically an 2010 version ??

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 24 May 2012 20:07
by Claupacius
I'm also interested in this build setup.
Does anybody has a copy of the archive ?

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 16 Feb 2013 12:15
by JoungEunKim
Hi. everyone.

This is github URL this topic.

RSATom gives me an idea.

This version is so old, but I hope it's useful someone.

Oh. This files are so big, please download click zip icon. (Sorry, zip work twice...)

Have a nice day!!!

vlc-1.1.6 complie with VS2005
https://github.com/sunqueen/vlc-1.1.6-2005.git

vlc-1.1.6 compile with VS2008
https://github.com/sunqueen/vlc-1.1.6-2008.git

Re: vlc 1.1.6 compile with VS2005/2008/2010

Posted: 16 Feb 2013 12:16
by JoungEunKim
vlc-1.1.6 comtile with VS2010
https://github.com/sunqueen/vlc-1.1.6-2010.git

vlc-1.1.6 compile with cygwin (assembler part and some library)
https://github.com/sunqueen/vlc-1.1.6-cover.git