I am having problems very similar to http://activemq.2283324.n4.nabble.com/Building-ActiveMQCpp-3-2-4-on-Windows-7-x64-td3229732.html#a3229940
However, I am not creating a 64 bit app. I created a new project that references activemq-cppd.lib and the apr libs. If I put "#include <activemq/library/ActiveMQCPP.h>" I get no compilation errors but when I try and include anything in decaf (e.g. <decaf/lang/Thread.h>) I get a ton of errors. From including decaf/lang/Thread .h I get the following: MessagingTest.obj : error LNK2028: unresolved token (0A00000E) "protected: virtual void __clrcall decaf::lang::Exception::setStackTrace(class std::vector<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int> > > const &)" (?setStackTrace@Exception@lang@decaf@@$$FMAMXABV?$vector@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@V?$allocator@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@@2@@std@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A00000F) "public: virtual void __clrcall decaf::lang::Exception::setMessage(char const *,...)" (?setMessage@Exception@lang@decaf@@$$FUAMXPBDZZ) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A000010) "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __clrcall decaf::lang::Exception::getStackTraceString(void)const " (?getStackTraceString@Exception@lang@decaf@@$$FUBM?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A000011) "public: virtual void __clrcall decaf::lang::Exception::printStackTrace(void)const " (?printStackTrace@Exception@lang@decaf@@$$FUBMXXZ) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A000012) "public: virtual void __clrcall decaf::lang::Exception::printStackTrace(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?printStackTrace@Exception@lang@decaf@@$$FUBMXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A000013) "public: virtual class std::vector<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int> > > __clrcall decaf::lang::Exception::getStackTrace(void)const " (?getStackTrace@Exception@lang@decaf@@$$FUBM?AV?$vector@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@V?$allocator@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@@2@@std@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A000014) "public: virtual void __clrcall decaf::lang::Exception::initCause(class std::exception const *)" (?initCause@Exception@lang@decaf@@$$FUAMXPBVexception@std@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A00001E) "public: virtual void __clrcall decaf::lang::Exception::setMark(char const *,int)" (?setMark@Exception@lang@decaf@@$$FUAMXPBDH@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A00001F) "protected: virtual void __clrcall decaf::lang::Exception::buildMessage(char const *,class System::ArgIterator &)" (?buildMessage@Exception@lang@decaf@@$$FMAMXPBDAAVArgIterator@System@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2028: unresolved token (0A000020) "public: class decaf::lang::Exception & __clrcall decaf::lang::Exception::operator=(class decaf::lang::Exception const &)" (??4Exception@lang@decaf@@$$FQAMAAV012@ABV012@@Z) referenced in function "public: __clrcall decaf::lang::exceptions::IllegalThreadStateException::IllegalThreadStateException(class decaf::lang::exceptions::IllegalThreadStateException const &)" (??0IllegalThreadStateException@exceptions@lang@decaf@@$$FQAM@ABV0123@@Z) 1>MessagingTest.obj : error LNK2028: unresolved token (0A000021) "public: virtual __clrcall decaf::lang::Exception::~Exception(void)" (??1Exception@lang@decaf@@$$FUAM@XZ) referenced in function "public: __clrcall decaf::lang::exceptions::IllegalThreadStateException::IllegalThreadStateException(class decaf::lang::exceptions::IllegalThreadStateException const &)" (??0IllegalThreadStateException@exceptions@lang@decaf@@$$FQAM@ABV0123@@Z) 1>MessagingTest.obj : error LNK2028: unresolved token (0A000022) "public: __clrcall decaf::lang::Exception::Exception(void)" (??0Exception@lang@decaf@@$$FQAM@XZ) referenced in function "public: __clrcall decaf::lang::exceptions::IllegalThreadStateException::IllegalThreadStateException(class decaf::lang::exceptions::IllegalThreadStateException const &)" (??0IllegalThreadStateException@exceptions@lang@decaf@@$$FQAM@ABV0123@@Z) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: virtual __clrcall decaf::lang::Exception::~Exception(void)" (??1Exception@lang@decaf@@$$FUAM@XZ) referenced in function "public: __clrcall decaf::lang::exceptions::IllegalThreadStateException::IllegalThreadStateException(class decaf::lang::exceptions::IllegalThreadStateException const &)" (??0IllegalThreadStateException@exceptions@lang@decaf@@$$FQAM@ABV0123@@Z) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: class decaf::lang::Exception & __clrcall decaf::lang::Exception::operator=(class decaf::lang::Exception const &)" (??4Exception@lang@decaf@@$$FQAMAAV012@ABV012@@Z) referenced in function "public: __clrcall decaf::lang::exceptions::IllegalThreadStateException::IllegalThreadStateException(class decaf::lang::exceptions::IllegalThreadStateException const &)" (??0IllegalThreadStateException@exceptions@lang@decaf@@$$FQAM@ABV0123@@Z) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: __clrcall decaf::lang::Exception::Exception(void)" (??0Exception@lang@decaf@@$$FQAM@XZ) referenced in function "public: __clrcall decaf::lang::exceptions::IllegalThreadStateException::IllegalThreadStateException(class decaf::lang::exceptions::IllegalThreadStateException const &)" (??0IllegalThreadStateException@exceptions@lang@decaf@@$$FQAM@ABV0123@@Z) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "protected: virtual void __clrcall decaf::lang::Exception::buildMessage(char const *,class System::ArgIterator &)" (?buildMessage@Exception@lang@decaf@@$$FMAMXPBDAAVArgIterator@System@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "protected: virtual void __clrcall decaf::lang::Exception::setStackTrace(class std::vector<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int> > > const &)" (?setStackTrace@Exception@lang@decaf@@$$FMAMXABV?$vector@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@V?$allocator@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@@2@@std@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: virtual void __clrcall decaf::lang::Exception::setMessage(char const *,...)" (?setMessage@Exception@lang@decaf@@$$FUAMXPBDZZ) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __clrcall decaf::lang::Exception::getStackTraceString(void)const " (?getStackTraceString@Exception@lang@decaf@@$$FUBM?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: virtual void __clrcall decaf::lang::Exception::printStackTrace(void)const " (?printStackTrace@Exception@lang@decaf@@$$FUBMXXZ) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: virtual void __clrcall decaf::lang::Exception::printStackTrace(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?printStackTrace@Exception@lang@decaf@@$$FUBMXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: virtual class std::vector<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int> > > __clrcall decaf::lang::Exception::getStackTrace(void)const " (?getStackTrace@Exception@lang@decaf@@$$FUBM?AV?$vector@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@V?$allocator@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@@2@@std@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: virtual void __clrcall decaf::lang::Exception::setMark(char const *,int)" (?setMark@Exception@lang@decaf@@$$FUAMXPBDH@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) 1>MessagingTest.obj : error LNK2019: unresolved external symbol "public: virtual void __clrcall decaf::lang::Exception::initCause(class std::exception const *)" (?initCause@Exception@lang@decaf@@$$FUAMXPBVexception@std@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const decaf::lang::exceptions::IllegalThreadStateException::`vftable'''(void)" (???__E??_7IllegalThreadStateException@exceptions@lang@decaf@@6B@@@YMXXZ@?A0x53af6257@@$$FYMXXZ) -- View this message in context: http://activemq.2283324.n4.nabble.com/Building-App-Using-ActiveMQCpp-3-2-4-on-Windows-7-tp3253304p3253304.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
