简体   繁体   English

在Windows中用cygwin编译ncmpcpp

[英]compiling ncmpcpp with cygwin in windows

So I'm trying to compile ncmpcpp using cygwin. 所以我正在尝试使用cygwin编译ncmpcpp。 I'm running windows 7, so you can understand the difficulty I'm having. 我正在运行Windows 7,因此您可以了解我遇到的困难。 Whenever I ./configure, I get an error message: "checking for main in -lboost_filesystem-mt... no configure: error: no boost.filesystem library found" I have every required and optional library in my cygwin/(username)/home/ncmpcpp-0.6 folder. 每当我执行./configure时,我都会收到一条错误消息:“正在-lboost_filesystem-mt中检查主文件...没有配置:错误:未找到boost.filesystem库”我的cygwin /(用户名)中有每个必需的和可选的库/home/ncmpcpp-0.6文件夹。 I have compiled everything I can, or know how to compile. 我已经编译了一切,或者知道如何编译。 I don't really understand what the boost.filesystem is, and I don't know how to compile or build it. 我真的不了解boost.filesystem是什么,也不知道如何编译或构建它。 Please help. 请帮忙。

Configure script uses BOOST_LIB_SUFFIX, which is by default set to "-mt". 配置脚本使用BOOST_LIB_SUFFIX,默认情况下设置为“ -mt”。 It's possible you have boost libraries compiled in a way so that they don't have it. 您可能以某种方式编译了boost库,使它们没有了。 In this case you need to invoke $ BOOST_LIB_SUFFIX=<suffix> ./configure , and <suffix> in most cases would be empty. 在这种情况下,您需要调用$ BOOST_LIB_SUFFIX=<suffix> ./configure ,在大多数情况下<suffix>将为空。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM