
16 May
2007
16 May
'07
2:40 a.m.
I'm trying to build a small test program for boost.signals on my windows machine, and I get the following linker error (code below): test.obj : error LNK2019: unresolved external symbol "void __cdecl boost::throw_exception(class exception const &)" (?throw_exception@boost@@YAXAEBVexception@@@Z) referenced in function main My command line is: icl /I. test.cpp /link /LIBPATH:./stage/lib Test.cpp is: #include <boost/signal.hpp> #include <iostream> void hello (void) { std::cout << "Hello, world!" << std::endl; } int main(void) { boost::signal<void ()> sig; sig.connect(&hello); sig(); return 0; } -- Nick