我刚刚在 cygwin 上构建并安装了 boost 并试图编译一个程序,但它给了我一个链接器错误,因为它正在寻找libboost_date_time
,而我libboost_date_time-mt
在 usr/local/lib 中尝试使用以下命令重新安装 boost(相同的命令我最初使用过)
./bootstrap.sh --with-libraries=chrono,date_time,exception,filesystem,graph,graph_parallel,iostreams,math,program_options,random,serialization,signals,system,test,thread,wave link=static link=shared threading=single threading=multi
但我得到了错误:
bash: ./bootstrap.sh: no such file or directory
知道为什么构建不会第一次使用上面的 ./boostrap 命令,以及如何修复它?