I am trying to build boost and generate dll's but whatever I have done did
not solve the problem.
Here what I have got:
Creating library
bin.v2\libs\thread\build\msvc-11.0\dbg\adrs-mdl-32\async-excpt-on\thrd-mlt\boost_thread-vc110-mt-gd-1_53.lib
and object bin.v2\libs\thread\build\msvc-11.0\dbg\adrs-mdl-32\async-excpt-on\thrd-mlt\boost_thread-vc110-mt-gd-1_53.exp
thread.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
boost::gregorian::greg_month::greg_month(unsigned short)"
(__imp_??0greg_month@gregorian@boost@@QAE@G@Z) referenced in function
"public: __thiscall boost::gregorian::date::date(enum
boost::date_time::special_values)"
(??0date@gregorian@boost@@QAE@W4special_values@date_time@2@@Z)
thread.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
boost::gregorian::greg_month::operator unsigned short(void)const "
(__imp_??Bgreg_month@gregorian@boost@@QBEGXZ) referenced in function
__catch$?make_external_thread_data@?A0x9b8c45f0@boost@@YAXXZ$0
bin.v2\libs\thread\build\msvc-11.0\dbg\adrs-mdl-32\async-excpt-on\thrd-mlt\boost_thread-vc110-mt-gd-1_53.dll
: fatal error LNK1120: 2 unresolved externals
Here some information about the setup:
OS: W7 x64
Command to build:
b2 -j%NUMBER_OF_PROCESSORS% --abbreviate-paths toolset=msvc-11.0
define=_SECURE_SCL=0 define=_CRT_SECURE_NO_DEPRECATE
define=_CRT_SECURE_NO_WARNINGS --without-mpi address-model=32 variant=debug
install link=shared runtime-link=shared threading=multi
asynch-exceptions=on exception-handling=on extern-c-nothrow=off
--prefix=..\boost
cd ..
I have CYGWin installed to the computer.
*Here what I have tried till now;*
*I have tried to build it in 32 bit command window (I am using jenkins to
build boost)