开发者

libboost_date_time linker error

I just built and installed boost on cygwin and was trying to compile a program but it gave me a linker error because it was looking for libboost_date_time, and I have libboost_date_time-mt instead in usr/local/lib I tried to reinstall boost using the following (the same command I had used initially)

./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

but I get the error:

bash: ./bootstrap.sh: no such file or directory

any开发者_运维知识库 idea why the build wouldn't have worked with the ./boostrap command above the first time, and how I can fix it?


./bootstrap.sh means run the shell script bootstrap.sh in the cirrent directory.

So you need to be in the sirectory the script is in So

cd C:\cygwin\home\ba\boost_1_47_0

and then run the bootstrap script

An alternative is to install boost via cygwin itself if you can use 1.43

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜