Justin Hanhart
Justin Hanhart

Reputation: 1

compiling ncmpcpp with cygwin in windows

So I'm trying to compile ncmpcpp using cygwin. I'm running windows 7, so you can understand the difficulty I'm having. 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. 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. Please help.

Upvotes: 0

Views: 664

Answers (1)

Andrzej Rybczak
Andrzej Rybczak

Reputation: 78

Configure script uses BOOST_LIB_SUFFIX, which is by default set to "-mt". It's possible you have boost libraries compiled in a way so that they don't have it. In this case you need to invoke $ BOOST_LIB_SUFFIX=<suffix> ./configure, and <suffix> in most cases would be empty.

Upvotes: 2

Related Questions