1. Build boost from scratch.
C:\boost\boost_1_36_0>bjam --build-dir="c:\tmp\build-boost"
--toolset=msvc --build-type=complete stage
C:\boost\boost_1_36_0>bjam --build-dir="c:\tmp\build-boost"
--toolset=msvc --build-type=complete install
2.
Create a windows form application. add nothing but the line
#include
3. Update project re: inc and lib dirs.
4. link. Error output follows:
1>------ Build started: Project: b136_test, Configuration: Debug Win32
------
1>Linking...
1>b136_test.obj : error LNK2028: unresolved token (0A00000E) "public:
virtual char const * __clrcall
boost::thread_resource_error::what(void)const "
(?what@thread_resource_error@boost@@$$FUBMPBDXZ) referenced in function
"void __clrcall `dynamic initializer for 'const
boost::thread_resource_error::`vftable'''(void)"
(???__E??_7thread_resource_error@boost@@6B@@@YMXXZ@?A0xa2903452@@$$FYMXXZ)
1>b136_test.obj : error LNK2028: unresolved token (0A00000F) "public:
virtual char const * __clrcall boost::lock_error::what(void)const "
(?what@lock_error@boost@@$$FUBMPBDXZ) referenced in function "void
__clrcall `dynamic initializer for 'const
boost::lock_error::`vftable'''(void)"
(???__E??_7lock_error@boost@@6B@@@YMXXZ@?A0xa2903452@@$$FYMXXZ)
1>b136_test.obj : error LNK2028: unresolved token (0A00001E) "public:
virtual __clrcall boost::lock_error::~lock_error(void)"
(??1lock_error@boost@@$$FUAM@XZ) referenced in function "public: virtual
void * __clrcall boost::lock_error::`vector deleting
destructor'(unsigned int)" (??_Elock_error@boost@@$$FUAMPAXI@Z)
1>b136_test.obj : error LNK2028: unresolved token (0A00003B) "public:
virtual __clrcall boost::thread_exception::~thread_exception(void)"
(??1thread_exception@boost@@$$FUAM@XZ) referenced in function "public:
virtual void * __clrcall boost::thread_exception::`vector deleting
destructor'(unsigned int)" (??_Ethread_exception@boost@@$$FUAMPAXI@Z)
1>b136_test.obj : error LNK2028: unresolved token (0A00003C) "public:
virtual __clrcall
boost::thread_resource_error::~thread_resource_error(void)"
(??1thread_resource_error@boost@@$$FUAM@XZ) referenced in function
"public: virtual void * __clrcall boost::thread_resource_error::`vector
deleting destructor'(unsigned int)"
(??_Ethread_resource_error@boost@@$$FUAMPAXI@Z)
1>b136_test.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall
boost::thread_resource_error::~thread_resource_error(void)"
(??1thread_resource_error@boost@@$$FUAM@XZ) referenced in function
"public: virtual void * __clrcall boost::thread_resource_error::`vector
deleting destructor'(unsigned int)"
(??_Ethread_resource_error@boost@@$$FUAMPAXI@Z)
1>b136_test.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall boost::thread_exception::~thread_exception(void)"
(??1thread_exception@boost@@$$FUAM@XZ) referenced in function "public:
virtual void * __clrcall boost::thread_exception::`vector deleting
destructor'(unsigned int)" (??_Ethread_exception@boost@@$$FUAMPAXI@Z)
1>b136_test.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall boost::lock_error::~lock_error(void)"
(??1lock_error@boost@@$$FUAM@XZ) referenced in function "public: virtual
void * __clrcall boost::lock_error::`vector deleting
destructor'(unsigned int)" (??_Elock_error@boost@@$$FUAMPAXI@Z)
1>b136_test.obj : error LNK2019: unresolved external symbol "public:
virtual char const * __clrcall boost::lock_error::what(void)const "
(?what@lock_error@boost@@$$FUBMPBDXZ) referenced in function "void
__clrcall `dynamic initializer for 'const
boost::lock_error::`vftable'''(void)"
(???__E??_7lock_error@boost@@6B@@@YMXXZ@?A0xa2903452@@$$FYMXXZ)
1>b136_test.obj : error LNK2019: unresolved external symbol "public:
virtual char const * __clrcall
boost::thread_resource_error::what(void)const "
(?what@thread_resource_error@boost@@$$FUBMPBDXZ) referenced in function
"void __clrcall `dynamic initializer for 'const
boost::thread_resource_error::`vftable'''(void)"
(???__E??_7thread_resource_error@boost@@6B@@@YMXXZ@?A0xa2903452@@$$FYMXXZ)
1>C:\code\merlot\av8b\software\prototypes\b136_test\Debug\b136_test.exe
: fatal error LNK1120: 10 unresolved externals
1>Build log was saved at
"file://c:\code\merlot\av8b\software\prototypes\b136_test\b136_test\Debug\BuildLog.htm"
1>b136_test - 11 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Verified that thread stuff is there
C:\boost\lib>dir *thread*
Volume in drive C has no label.
Volume Serial Number is 1CFE-113F
Directory of C:\boost\lib
09/08/2008 10:56 AM 35,328 boost_thread-vc90-mt-1_36.dll
09/08/2008 10:56 AM 31,348 boost_thread-vc90-mt-1_36.lib
09/08/2008 10:41 AM 52,736 boost_thread-vc90-mt-gd-1_36.dll
09/08/2008 10:41 AM 31,634 boost_thread-vc90-mt-gd-1_36.lib
09/08/2008 10:41 AM 31,634 boost_thread-vc90-mt-gd.lib
09/08/2008 10:56 AM 31,348 boost_thread-vc90-mt.lib
09/08/2008 11:18 AM 312,458 libboost_thread-vc90-mt-1_36.lib
09/08/2008 11:07 AM 1,281,058 libboost_thread-vc90-mt-gd-1_36.lib
09/08/2008 11:07 AM 1,281,058 libboost_thread-vc90-mt-gd.lib
09/08/2008 11:42 AM 353,712 libboost_thread-vc90-mt-s-1_36.lib
09/08/2008 11:42 AM 353,712 libboost_thread-vc90-mt-s.lib
09/08/2008 11:28 AM 1,270,890 libboost_thread-vc90-mt-sgd-1_36.lib
09/08/2008 11:28 AM 1,270,890 libboost_thread-vc90-mt-sgd.lib
09/08/2008 11:18 AM 312,458 libboost_thread-vc90-mt.lib
14 File(s) 6,650,264 bytes
0 Dir(s) 834,019,328 bytes free
Suggestions for next step in figuring out what the problem is ?
--
alfonso e. urdaneta
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this e-mail in error please notify the
originator of the message. This footer also confirms that this
e-mail message has been scanned for the presence of computer viruses.
Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Indra Systems, Inc.