奇怪的文件: *.dll.a * .la 它们是什么? (VLC windows build)如果可能的话如何在Windows上使用它们?
我想在 Windows 上使用 VLC 组件编写小型流媒体软件。所以我寻找:Windows 上 VLC 的 lib 和头文件。为了使其更快,我没有编译它,而是寻找适用于 Windows 的现成版本。我发现:http://nightlies.videolan.org/build/win32/last/< /a>
我下载它(调试):找到包含文件目录和lib。但是 lib 目录包含奇怪的(至少对我来说)文件扩展名,例如 libvlc.la 和 libvlc.dll.a
它们是什么?我可以在 Visual C++ 中使用它们吗?
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/
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
What are they? Can i use them in Visual C++?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
.la
文件是 libtool 便利库,它们没有用,只会造成麻烦(在本例中)。.a
文件是 GCC/MinGW 的(导入)库,就像 MSVC 的.lib
一样。VLC 只能使用 GCC 构建,因为 MSVC 缺乏适当的 C99 支持。因此,所有调试信息都将由 GNU 工具链 (GCC/Binutils/GDB) 生成。如果您想在 Visual Studio 中使用正确的 DLL,您应该能够从包含的
.def
文件和 dll 创建导入库。The
.la
files are libtool convenience libraries, they're useless and only cause trouble (in this case).The
.a
files are (import) libraries for GCC/MinGW, just like.lib
for MSVC.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.