Compiling libVLC on Windows 7
Posted: 21 Dec 2016 13:42
Hi everybody. I have two cameras and wanna see streaming from them both in my program. For this i need libVLC.
I've never worked with RSTP so i've tried this example to understand how it works.
It also requires these libraries to work but they are only for the release version.
So to write my own program i need library for debug version, so i have to compile it from the sources.
I've downloaded sources from here and tried to compile it using CMake but i have an error:
Instruction says:
but what have to be in these folders and where i can get it?
I've never worked with RSTP so i've tried this example to understand how it works.
It also requires these libraries to work but they are only for the release version.
So to write my own program i need library for debug version, so i have to compile it from the sources.
I've downloaded sources from here and tried to compile it using CMake but i have an error:
Code: Select all
CMake Error at cmake/FindLIBVLC.cmake:99 (MESSAGE):
Could not find LibVLC
Call Stack (most recent call first):
config/Dependencies.cmake:59 (FIND_PACKAGE)
CMakeLists.txt:50 (INCLUDE)
Code: Select all
-DLIBVLC_LIBRARY="E:/vlc/win64/sdk/lib/libvlc.lib" ^
-DLIBVLCCORE_LIBRARY="E:/vlc/win64/sdk/lib/libvlccore.lib" ^
-DLIBVLC_INCLUDE_DIR="E:/vlc/win64/sdk/include"