msvc compile vlc forums
来源:互联网 发布:广告词制作软件 编辑:程序博客网 时间:2024/06/06 02:20
vlc 1.1.5 compile with VS2005/2008/2010
This forum is about all development around libVLC.
22 posts • Page 1 of 2 • 1,2
vlc 1.1.5 compile with VS2005/2008/2010
Hi. Everyone.
Happy new year!!!
Last year I was upload vlc 1.0.6 compile with VS2005, vlc 1.1.2 compile with VS2005 and vlc 1.1.3 compile with VS2005/2008/2010.
This is vlc 1.1.5.
If you want to more information(compile option's or etc...), please search previous posts.
vlc 1.1.5 compile with VS2005
http://www.megaupload.com/?d=TA26C8XL
vlc 1.1.5 compile with VS2008
http://www.megaupload.com/?d=NO7ASTGO
vlc 1.1.5 compile with VS2010
http://www.megaupload.com/?d=EYG5IAE6
This is subset for cygwin
http://www.megaupload.com/?d=PAHTZH68
Bye!!!
Happy new year!!!
Last year I was upload vlc 1.0.6 compile with VS2005, vlc 1.1.2 compile with VS2005 and vlc 1.1.3 compile with VS2005/2008/2010.
This is vlc 1.1.5.
If you want to more information(compile option's or etc...), please search previous posts.
vlc 1.1.5 compile with VS2005
http://www.megaupload.com/?d=TA26C8XL
vlc 1.1.5 compile with VS2008
http://www.megaupload.com/?d=NO7ASTGO
vlc 1.1.5 compile with VS2010
http://www.megaupload.com/?d=EYG5IAE6
This is subset for cygwin
http://www.megaupload.com/?d=PAHTZH68
Bye!!!
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
This is previous link.
vlc 1.0.6 compile with Visual Studio 2005
viewtopic.php?f=32&t=81474
vlc 1.1.2 with Visual Studio 2005
viewtopic.php?f=32&t=80807
vlc 1.1.3 compile with VC 2005(2008) and cover.dll source
viewtopic.php?f=32&t=81793
vlc 1.1.3 compile with VS2010
viewtopic.php?f=32&t=85647
vlc 1.0.6 compile with Visual Studio 2005
viewtopic.php?f=32&t=81474
vlc 1.1.2 with Visual Studio 2005
viewtopic.php?f=32&t=80807
vlc 1.1.3 compile with VC 2005(2008) and cover.dll source
viewtopic.php?f=32&t=81793
vlc 1.1.3 compile with VS2010
viewtopic.php?f=32&t=85647
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Hi
Thanks a lot for the Visual Studio versions of VLC. I'm using the 2010 version.
I've implemented streaming in of audio and video to memory using the smem module. I've been trying to implement streaming out but I think there isn't an equivalent smem module for that. So I've decided to change the VLC code to implement streaming out from memory and when I get it working to contribute the code to this great project. I had some success changing smem to work in the middle of a chain but got stuck because I can't get the visual studio project to accept arguments like --sout "#standard { access=udp, dst=192.168.1.77, port=1234}". I get the error message "stream_out_standard stream out error: no mux specified or found by extension" after the warning "main stream output warning: unknown option access (value=udp)". When I try the same arguments with normal VLC it all works fine, just not with the one built with visual studio 2010. Any help is greatly appreciated as I've been stuck with this problem for a week.
Thanks a lot for the Visual Studio versions of VLC. I'm using the 2010 version.
I've implemented streaming in of audio and video to memory using the smem module. I've been trying to implement streaming out but I think there isn't an equivalent smem module for that. So I've decided to change the VLC code to implement streaming out from memory and when I get it working to contribute the code to this great project. I had some success changing smem to work in the middle of a chain but got stuck because I can't get the visual studio project to accept arguments like --sout "#standard { access=udp, dst=192.168.1.77, port=1234}". I get the error message "stream_out_standard stream out error: no mux specified or found by extension" after the warning "main stream output warning: unknown option access (value=udp)". When I try the same arguments with normal VLC it all works fine, just not with the one built with visual studio 2010. Any help is greatly appreciated as I've been stuck with this problem for a week.
- synthmaker
- New Cone
- Posts: 2
- Joined: Mon Jan 17, 2011 6:44 pm
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Hi. synthmaker
I'm sorry.
Very sorry.
I made a mistake.
I fixed /src/config/chain.c
Line No 365.
free(name);
psz_name is same pointer with name.
but it is already free before to use.
this is fixed source.
http://www.megaupload.com/?d=O2WEYEX3
Sorry again.
I hope your debuging is success...
Bye!!!
I'm sorry.
Very sorry.
I made a mistake.
I fixed /src/config/chain.c
Line No 365.
free(name);
psz_name is same pointer with name.
but it is already free before to use.
this is fixed source.
http://www.megaupload.com/?d=O2WEYEX3
Sorry again.
I hope your debuging is success...
Bye!!!
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Thanks a lot for the vs version of vlc.
I use vlc 1.1.5 compile with VS2005,but i found 14 errors when compiling the vlc.
Could you give me some help?
errors:
error 20 error C2143: syntax error : missing ';' before '*' e:\vlcwin.15.up\include\vlc_windows_interfaces.h 69
error 21 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 69
error 22 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 69
error 23 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 69
error 24 error C2143: syntax error : missing ';' before '*' e:\vlcwin.15.up\include\vlc_windows_interfaces.h 173
error 25 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 173
error 26 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 173
error 27 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 173
error 28 error C2146: syntax error : missing ';' before identifier 'taskbl' e:\vlcwin.15.up\modules\video_output\msw\common.hh 295
error 29 error C2065: 'taskbl' : undeclared identifier e:\vlcwin.15.up\modules\video_output\msw\common.hh 295
error 30 error C2065: 'IID_ITaskbarList3' : undeclared identifier e:\vlcwin.15.up\modules\video_output\msw\common.hh 298
error 31 error C2227: left of '->HrInit' must point to class/struct/union/generic type e:\vlcwin.15.up\modules\video_output\msw\common.hh 300
error 32 error C2227: left of '->SetThumbnailClip' must point to class/struct/union/generic type e:\vlcwin.15.up\modules\video_output\msw\common.hh 314
error 33 error C2227: left of '->Release' must point to class/struct/union/generic type e:\vlcwin.15.up\modules\video_output\msw\common.hh 318
any help will be pleasure.
I use vlc 1.1.5 compile with VS2005,but i found 14 errors when compiling the vlc.
Could you give me some help?
errors:
error 20 error C2143: syntax error : missing ';' before '*' e:\vlcwin.15.up\include\vlc_windows_interfaces.h 69
error 21 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 69
error 22 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 69
error 23 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 69
error 24 error C2143: syntax error : missing ';' before '*' e:\vlcwin.15.up\include\vlc_windows_interfaces.h 173
error 25 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 173
error 26 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 173
error 27 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\vlcwin.15.up\include\vlc_windows_interfaces.h 173
error 28 error C2146: syntax error : missing ';' before identifier 'taskbl' e:\vlcwin.15.up\modules\video_output\msw\common.hh 295
error 29 error C2065: 'taskbl' : undeclared identifier e:\vlcwin.15.up\modules\video_output\msw\common.hh 295
error 30 error C2065: 'IID_ITaskbarList3' : undeclared identifier e:\vlcwin.15.up\modules\video_output\msw\common.hh 298
error 31 error C2227: left of '->HrInit' must point to class/struct/union/generic type e:\vlcwin.15.up\modules\video_output\msw\common.hh 300
error 32 error C2227: left of '->SetThumbnailClip' must point to class/struct/union/generic type e:\vlcwin.15.up\modules\video_output\msw\common.hh 314
error 33 error C2227: left of '->Release' must point to class/struct/union/generic type e:\vlcwin.15.up\modules\video_output\msw\common.hh 318
any help will be pleasure.
- jack_wen
- New Cone
- Posts: 1
- Joined: Thu Dec 23, 2010 6:40 am
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
You know, something cool would be to only add one header or 2 in the include/vlc* files, so we can compile almost everything directly with MSVC
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.
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.
- Jean-Baptiste Kempf
- Site Administrator
- Posts: 22802
- Joined: Fri Jul 22, 2005 3:29 pm
- Location: Cone, France
- VLC version: 2.1.0-git
- Operating System: Linux, Windows, Mac
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Hi. jack_wen
I think that looks like didn't set Windows SDK.
Please read "vlc 1.1.3 compile with VC 2005(2008) and cover.dll source"
viewtopic.php?f=32&t=80807
I hope that's enough.
Bye!!!
I think that looks like didn't set Windows SDK.
Please read "vlc 1.1.3 compile with VC 2005(2008) and cover.dll source"
viewtopic.php?f=32&t=80807
I hope that's enough.
Bye!!!
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Hi JoungEunKim
Thanks a lot for your help. The new chain.c file fixed the problem. I was able to change the smem module to work in the middle of a chain and I was able to insert some sound into it from memory.
The problem I have now is that there are memory leaks. If you run the code in debug, even without any arguments, when you exit VLC you should see a dump of memory leaks. I don't really know how to fix these, I was wondering if you'd know what could be causing it.
Thanks a lot for your help. The new chain.c file fixed the problem. I was able to change the smem module to work in the middle of a chain and I was able to insert some sound into it from memory.
The problem I have now is that there are memory leaks. If you run the code in debug, even without any arguments, when you exit VLC you should see a dump of memory leaks. I don't really know how to fix these, I was wondering if you'd know what could be causing it.
- synthmaker
- New Cone
- Posts: 2
- Joined: Mon Jan 17, 2011 6:44 pm
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Hi, JoungEunKim.
Thanks for the Visual Studio versions of VLC. I'm using the 2008 version.
When I downloaded you 2008 version, I debuged the version, but I did not get the libvlc.dll、the libvlccore.dll and the vlcwin.exe. Other question, when I get the libvlc.dll、libvlccore.dll and the vlcwin.exe, could I directly get the plugins in vlc installed files and put the plugins to the directory of vlcwin\Debug.
Look forward to you help, thank you!
Thanks for the Visual Studio versions of VLC. I'm using the 2008 version.
When I downloaded you 2008 version, I debuged the version, but I did not get the libvlc.dll、the libvlccore.dll and the vlcwin.exe. Other question, when I get the libvlc.dll、libvlccore.dll and the vlcwin.exe, could I directly get the plugins in vlc installed files and put the plugins to the directory of vlcwin\Debug.
Look forward to you help, thank you!
- Caven
- New Cone
- Posts: 5
- Joined: Mon Jan 17, 2011 3:45 am
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Hi. JoungEunKim
I'm sorry.
Very sorry.
I made a mistake when I submitted the last suply, I didnot see the directory of vlcwin.15.vs2008.NT.up\debug.
when I debuged the Visual Studio versions of VLC, I get the libvlc.dll、the libvlccore.dll and the vlcwin.exe in the directory of vlcwin.15.vs2008.NT.up\debug. Then, I get the plugins in vlc installed files and put the plugins to the directory of vlcwin.15.vs2008.NT.up\Debug\plugins, but still the vlcwin.exe is not work. I check the code of vlc1.1.5, and I find the "module_t **list = module_list_get( &module_count );" The module_count is 1, so I think the modules is not loaded success. Other , I compared you code of vlc1.1.5 and the vlc1.1.5 version of downloading from official webset, and I find that they are not the same.
How can I compile you vlc1.1.5 and get a executable vlcwin.exe, then, do more in-depth study vlc?
thank you!
I'm sorry.
Very sorry.
I made a mistake when I submitted the last suply, I didnot see the directory of vlcwin.15.vs2008.NT.up\debug.
when I debuged the Visual Studio versions of VLC, I get the libvlc.dll、the libvlccore.dll and the vlcwin.exe in the directory of vlcwin.15.vs2008.NT.up\debug. Then, I get the plugins in vlc installed files and put the plugins to the directory of vlcwin.15.vs2008.NT.up\Debug\plugins, but still the vlcwin.exe is not work. I check the code of vlc1.1.5, and I find the "module_t **list = module_list_get( &module_count );" The module_count is 1, so I think the modules is not loaded success. Other , I compared you code of vlc1.1.5 and the vlc1.1.5 version of downloading from official webset, and I find that they are not the same.
How can I compile you vlc1.1.5 and get a executable vlcwin.exe, then, do more in-depth study vlc?
thank you!
- Caven
- New Cone
- Posts: 5
- Joined: Mon Jan 17, 2011 3:45 am
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Hi. synthmaker
Sorry. My response is late.
I knew many leaks.
I think some leaks are not problem, because When VLC is finish, it does not free some memory.
And I made some array to alloc buffer, I think that has a some leaks. (I hardly check about that, but it's not enough)
But some leaks in Original VLC sources.
Please if you find a ploblem, report about that.
If that's my ploblem, I'll fix that.
Bye.
Sorry. My response is late.
I knew many leaks.
I think some leaks are not problem, because When VLC is finish, it does not free some memory.
And I made some array to alloc buffer, I think that has a some leaks. (I hardly check about that, but it's not enough)
But some leaks in Original VLC sources.
Please if you find a ploblem, report about that.
If that's my ploblem, I'll fix that.
Bye.
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 comptile with VS2005/2008/2010
Hi. Caven
Don't worry about that.
I always make a mistake.
And When I was debug set like this.
Menu. Project(or right mouse button) > Properties > Debugging > Working directory > $(Output) <-- write like this.
Then you can debug easy.
Or If you want to debug dll.
Menu. Project(or right mouse button) > Properties > Debugging > command > browse >> select debug/vlcwin.exe
Bye!!!
Don't worry about that.
I always make a mistake.
And When I was debug set like this.
Menu. Project(or right mouse button) > Properties > Debugging > Working directory > $(Output) <-- write like this.
Then you can debug easy.
Or If you want to debug dll.
Menu. Project(or right mouse button) > Properties > Debugging > command > browse >> select debug/vlcwin.exe
Bye!!!
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 compile with VS2005/2008/2010
Hi, JoungEunKim.
Thanks for you reply.
I followed you method to recompile and I get the plugins in vlc installed files and put the plugins to the directory of vlcwin.15.vs2008.NT.up\Debug\plugins, but still not compile success.
Now, my problem is when I compiled and got the libvlc.dll, libvlccore.dll and vlcwin.exe, then I press F5(Start Debugging),but not get a player windows。The last is "The program '[0x4D8] vlcwin.exe: Native' has exited with code 0 (0x0)."
when I bugged the vlc, and I found "char *userpaths = var_InheritString( p_this, "plugin-path" );"(src/modules/modules.c/833 lines). The userpaths is aways 0x00000000,bad ptr. so can not entry the next for loop。
for( paths_iter = userpaths; paths_iter; )
{
path = copy_next_paths_token( paths_iter, &paths_iter );
if( path )
vlc_array_append( arraypaths, path );
}
then “count = vlc_array_count( arraypaths );”the count is aways 1. Then "module_t **list = module_list_get( &module_count );" , the module_count is 1; The module was not added in.
So the return value of "libvlc_new (argc, (const char **)argv);" is 0x00000000。
what is my problem?Thank you!
Thanks for you reply.
I followed you method to recompile and I get the plugins in vlc installed files and put the plugins to the directory of vlcwin.15.vs2008.NT.up\Debug\plugins, but still not compile success.
Now, my problem is when I compiled and got the libvlc.dll, libvlccore.dll and vlcwin.exe, then I press F5(Start Debugging),but not get a player windows。The last is "The program '[0x4D8] vlcwin.exe: Native' has exited with code 0 (0x0)."
when I bugged the vlc, and I found "char *userpaths = var_InheritString( p_this, "plugin-path" );"(src/modules/modules.c/833 lines). The userpaths is aways 0x00000000,bad ptr. so can not entry the next for loop。
for( paths_iter = userpaths; paths_iter; )
{
path = copy_next_paths_token( paths_iter, &paths_iter );
if( path )
vlc_array_append( arraypaths, path );
}
then “count = vlc_array_count( arraypaths );”the count is aways 1. Then "module_t **list = module_list_get( &module_count );" , the module_count is 1; The module was not added in.
So the return value of "libvlc_new (argc, (const char **)argv);" is 0x00000000。
what is my problem?Thank you!
- Caven
- New Cone
- Posts: 5
- Joined: Mon Jan 17, 2011 3:45 am
Top
Re: vlc 1.1.5 compile with VS2005/2008/2010
Hello. Caven.
Do you find libplugin.dll in vlcwin.15.vs2008.NT.up\Debug\plugins ?
If you don't find that, I think you don't complete to compile.
Do you install windows SDK and Direct-X ?
Please check about this
viewtopic.php?f=32&t=80807
Or you find libplugin.dll...
Your OS is NT? If your OS is not NT.
Please ask me.
I'll finish Vista version and open it.
Bye!!!
Do you find libplugin.dll in vlcwin.15.vs2008.NT.up\Debug\plugins ?
If you don't find that, I think you don't complete to compile.
Do you install windows SDK and Direct-X ?
Please check about this
viewtopic.php?f=32&t=80807
Or you find libplugin.dll...
Your OS is NT? If your OS is not NT.
Please ask me.
I'll finish Vista version and open it.
Bye!!!
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 compile with VS2005/2008/2010
Hello JoungEunKim
Yes, I think I did not complete to compile. Because I did not find the libplugin.dll. when I compile the libplugin, they are some errors the same as jack_wen. Then I installed the windows SDK 7.1 and the Direct-X, but the error is still exist.
My OS is winXP. Does the OS and the SDK/Direct-X is not match?
What is you email?
Thank you!
Yes, I think I did not complete to compile. Because I did not find the libplugin.dll. when I compile the libplugin, they are some errors the same as jack_wen. Then I installed the windows SDK 7.1 and the Direct-X, but the error is still exist.
My OS is winXP. Does the OS and the SDK/Direct-X is not match?
What is you email?
Thank you!
- Caven
- New Cone
- Posts: 5
- Joined: Mon Jan 17, 2011 3:45 am
Top
Re: vlc 1.1.5 compile with VS2005/2008/2010
Hi. Caven
This is my e-mail.
Please read first this url.
viewtopic.php?f=32&t=81793
I was more discussed about information of compile .
Or to read my other posts.
Bye!!!
This is my e-mail.
Please read first this url.
viewtopic.php?f=32&t=81793
I was more discussed about information of compile .
Or to read my other posts.
Bye!!!
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 compile with VS2005/2008/2010
Hi. Caven
I remove my e-mail.
I hope your compile is successful.
Bye!!!
I remove my e-mail.
I hope your compile is successful.
Bye!!!
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 compile with VS2005/2008/2010
Hi, JoungEunKim
I have read the link of viewtopic.php?f=32&t=81793,then I compiled vlc1.1.5 as follows:
First: install the windows 7 SDK and DXSDK_Jun10.exe
Second: replace the /src/config/chain.c
Third: libplugin >> Properties >> Linker >> General >> Additional Library Directories >>
C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib
to modify
C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib
Fourth: remove modules\access\bda\bdagraph.cpp add source that :
// sunqueen add start
const GUID CLSID_ATSCLocator = { 0x8872ff1b,0x98fa,0x4d7a,{0x8d,0x93,0xc9,0xf1,0x05,0x5f,0x85,0xbb}}; ......
remove modules\video_output\msw\directx.c remove that :
//const GUID IID_ITaskbarList3 = { 0xea1afb91,0x9e28,0x4b86,{0x90,0xe9,0x9e,0x9f,0x8a,0x5e,0xef,0xaf}}; // sunqueen add
Add const GUID IID_IApplicationAssociationRegistrationUI = {0x1f76a169,0xf994,0x40ac, {0x8f,0xc8,0x09,0x59,0xe8,0x87,0x47,0x10}};//lootel add
in file modules\video_output\msw\directx.c
Fiveth: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
then, I found a error that the STRMBASD.LIB was not fount;
when I add STRMBASD.LIB to the directory of vlcwin.15.vs2008.NT.up\debug. then have other errors:
Creating library E:\work\vlcwin.15.vs2008.NT.up\Debug\plugins\libplugin.lib and object E:\work\vlcwin.15.vs2008.NT.up\Debug\plugins\libplugin.exp
libplugin.exp : warning LNK4078: multiple '.drectve' sections found with different attributes (00000200)
dshow.obj : error LNK2001: unresolved external symbol _CLSID_CaptureGraphBuilder2
dshow.obj : error LNK2001: unresolved external symbol _IID_ICaptureGraphBuilder2
dshow.obj : error LNK2001: unresolved external symbol _IID_IAMTVAudio
filter.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_IEEE_FLOAT
filter.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_YUYV
filter.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_IYUV
filter.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_ARGB32
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_ATSCLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IATSCLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IATSCChannelTuneRequest
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_ATSCNetworkProvider
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBTuningSpace2
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBTLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBTLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBTuneRequest
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBTNetworkProvider
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBCLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBCLocator
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBCNetworkProvider
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBSTuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBSLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBSLocator
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBSNetworkProvider
bdagraph.obj : error LNK2001: unresolved external symbol _IID_ITuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBSTuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBTuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_ATSCTuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_SystemTuningSpaces
bdagraph.obj : error LNK2001: unresolved external symbol _IID_ITuningSpaceContainer
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_MPEG2Demultiplexer
bdagraph.obj : error LNK2001: unresolved external symbol _IID_ISampleGrabber
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_SampleGrabber
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IScanningTuner
E:\work\vlcwin.15.vs2008.NT.up\Debug\plugins\libplugin.dll : fatal error LNK1120: 33 unresolved externals
Build log was saved at "file://e:\work\vlcwin.15.vs2008.NT.up\libplugin\Debug\BuildLog.htm"
libplugin - 35 error(s), 2 warning(s)
Sorry, When I want to email you, I found you remove it. My email is czg150@163.com.
I have read the link of viewtopic.php?f=32&t=81793,then I compiled vlc1.1.5 as follows:
First: install the windows 7 SDK and DXSDK_Jun10.exe
Second: replace the /src/config/chain.c
Third: libplugin >> Properties >> Linker >> General >> Additional Library Directories >>
C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib
to modify
C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib
Fourth: remove modules\access\bda\bdagraph.cpp add source that :
// sunqueen add start
const GUID CLSID_ATSCLocator = { 0x8872ff1b,0x98fa,0x4d7a,{0x8d,0x93,0xc9,0xf1,0x05,0x5f,0x85,0xbb}}; ......
remove modules\video_output\msw\directx.c remove that :
//const GUID IID_ITaskbarList3 = { 0xea1afb91,0x9e28,0x4b86,{0x90,0xe9,0x9e,0x9f,0x8a,0x5e,0xef,0xaf}}; // sunqueen add
Add const GUID IID_IApplicationAssociationRegistrationUI = {0x1f76a169,0xf994,0x40ac, {0x8f,0xc8,0x09,0x59,0xe8,0x87,0x47,0x10}};//lootel add
in file modules\video_output\msw\directx.c
Fiveth: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
then, I found a error that the STRMBASD.LIB was not fount;
when I add STRMBASD.LIB to the directory of vlcwin.15.vs2008.NT.up\debug. then have other errors:
Creating library E:\work\vlcwin.15.vs2008.NT.up\Debug\plugins\libplugin.lib and object E:\work\vlcwin.15.vs2008.NT.up\Debug\plugins\libplugin.exp
libplugin.exp : warning LNK4078: multiple '.drectve' sections found with different attributes (00000200)
dshow.obj : error LNK2001: unresolved external symbol _CLSID_CaptureGraphBuilder2
dshow.obj : error LNK2001: unresolved external symbol _IID_ICaptureGraphBuilder2
dshow.obj : error LNK2001: unresolved external symbol _IID_IAMTVAudio
filter.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_IEEE_FLOAT
filter.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_YUYV
filter.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_IYUV
filter.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_ARGB32
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_ATSCLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IATSCLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IATSCChannelTuneRequest
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_ATSCNetworkProvider
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBTuningSpace2
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBTLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBTLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBTuneRequest
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBTNetworkProvider
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBCLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBCLocator
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBCNetworkProvider
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBSTuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBSLocator
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IDVBSLocator
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBSNetworkProvider
bdagraph.obj : error LNK2001: unresolved external symbol _IID_ITuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBSTuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_DVBTuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_ATSCTuningSpace
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_SystemTuningSpaces
bdagraph.obj : error LNK2001: unresolved external symbol _IID_ITuningSpaceContainer
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_MPEG2Demultiplexer
bdagraph.obj : error LNK2001: unresolved external symbol _IID_ISampleGrabber
bdagraph.obj : error LNK2001: unresolved external symbol _CLSID_SampleGrabber
bdagraph.obj : error LNK2001: unresolved external symbol _IID_IScanningTuner
E:\work\vlcwin.15.vs2008.NT.up\Debug\plugins\libplugin.dll : fatal error LNK1120: 33 unresolved externals
Build log was saved at "file://e:\work\vlcwin.15.vs2008.NT.up\libplugin\Debug\BuildLog.htm"
libplugin - 35 error(s), 2 warning(s)
Sorry, When I want to email you, I found you remove it. My email is czg150@163.com.
- Caven
- New Cone
- Posts: 5
- Joined: Mon Jan 17, 2011 3:45 am
Top
Re: vlc 1.1.5 compile with VS2005/2008/2010
Hello. Caven.
If you install Window 7 SDK, please read ReleaseNotes.Htm, then Upgrade your VC2005.
And compile v7.0\Samples\multimedia\directshow\baseclasses(for STRMBASD.LIB).
Then copy to strmbasd.lib v7.0\Lib
Bye!!!
If you install Window 7 SDK, please read ReleaseNotes.Htm, then Upgrade your VC2005.
And compile v7.0\Samples\multimedia\directshow\baseclasses(for STRMBASD.LIB).
Then copy to strmbasd.lib v7.0\Lib
Bye!!!
- JoungEunKim
- Blank Cone
- Posts: 64
- Joined: Thu Dec 10, 2009 1:21 am
Top
Re: vlc 1.1.5 compile with VS2005/2008/2010
- mjesse88
- New Cone
- Posts: 2
- Joined: Tue Jan 10, 2012 4:31 am
Top
22 posts • Page 1 of 2 • 1,2
Return to Development around libVLC
Who is online
Users browsing this forum: No registered users and 7 guests
- msvc compile vlc forums
- msvc 编译 VLC
- vlc for android compile
- VLC compile for Android
- OGRE 1-7-3 Compile with MSVC
- android vlc compile error fix
- android vlc compile error fix
- VLC在Ubuntu下cross compile总结
- How to compile VLC media player for Windows
- How to compile VLC on Linux Platform (From the authority)
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)?
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)
- VLC
- VLC
- VLC
- VLC
- vlc
- MSVC工具
- 哈希 HDU 4334 trouble
- ld script
- 遗传算法的选择算子
- 项目开发
- Android中的日期控件和时间控件
- msvc compile vlc forums
- 多线程四 经典线程同步之互斥量Mutex
- Kademlia详解
- UIView 的 autoresizingMask 属性 详解。
- 多线程例子_幂计算而后求和
- ubuntu10.04手动安装gcc4.5
- 线段树 HDU 3397 Sequence operation
- 给定一个N位数,得到一个N-k位的数中最小的数
- 74HC00多谐振荡器的制作