奇怪的文件:* . dll。它们是什么?(VLC windows build)如果可能,如何在windows上使用它们?

时间:2021-10-04 15:52:07

I wanted to write small streaming software using VLC compoents on windows. So i look for : lib and headers file for VLC on windows. Instead of compiling it , to make it faster i looked for ready builds for windows. And i found on: http://nightlies.videolan.org/build/win32/last/

我想用windows上的VLC组件编写小型流媒体软件。所以我在windows上寻找VLC的lib和header文件。我没有编译它,而是寻找为windows准备的构建。我发现:http://nightlies.videolan.org/build/win32/last/

I download it (debug) : Find include file directory and lib. But lib directory contains trange (at least for me) file extensions such as libvlc.la and libvlc.dll.a

我下载了它(调试):查找包含文件目录和lib。但是lib目录包含trange(至少对我来说)文件扩展名,比如libvlc。洛杉矶和libvlc.dll.a

What are they? Can i use them in Visual C++?

他们是什么?我可以在Visual c++中使用它们吗?

1 个解决方案

#1


3  

The .la files are libtool convenience libraries, they're useless and only cause trouble (in this case).

la文件是libtool便利库,它们是无用的,只会引起麻烦(在本例中)。

The .a files are (import) libraries for GCC/MinGW, just like .lib for MSVC.

一个文件是GCC/MinGW的(导入)库,就像MSVC的。lib。

VLC can only be built with GCC, because MSVC lacks the proper C99 support. So all debug info will be generated by and for a GNU toolchain (GCC/Binutils/GDB). If you want to use the proper DLL in Visual Studio, you should be able to create an import library from the included .def file and the dll.

VLC只能使用GCC来构建,因为MSVC缺少适当的C99支持。因此,所有调试信息都将由GNU工具链(GCC/Binutils/GDB)生成。如果您想在Visual Studio中使用适当的DLL,您应该能够从包含的.def文件和DLL创建一个导入库。

#1


3  

The .la files are libtool convenience libraries, they're useless and only cause trouble (in this case).

la文件是libtool便利库,它们是无用的,只会引起麻烦(在本例中)。

The .a files are (import) libraries for GCC/MinGW, just like .lib for MSVC.

一个文件是GCC/MinGW的(导入)库,就像MSVC的。lib。

VLC can only be built with GCC, because MSVC lacks the proper C99 support. So all debug info will be generated by and for a GNU toolchain (GCC/Binutils/GDB). If you want to use the proper DLL in Visual Studio, you should be able to create an import library from the included .def file and the dll.

VLC只能使用GCC来构建,因为MSVC缺少适当的C99支持。因此,所有调试信息都将由GNU工具链(GCC/Binutils/GDB)生成。如果您想在Visual Studio中使用适当的DLL,您应该能够从包含的.def文件和DLL创建一个导入库。