2013-02-28 48 views
0

是有人在這裏誰下的Visual Studio 2008內置64位libpqxx? 我已經建立它。調試與libpqxx_staticD.lib工作正常,但libpqxx_static.lib釋放失敗在libpqxx 2008年64

pqxx ::連接康恩(...);

調用堆棧:

postgres.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,pqxx::notification_receiver *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,pqxx::notification_receiver *> >,1> >::_Init() + 0x60 bytes 
postgres.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,pqxx::notification_receiver *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,pqxx::notification_receiver *> >,1> >::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,pqxx::notification_receiver *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,pqxx::notification_receiver *> >,1> >() + 0x6c bytes  
postgres.exe!std::multimap<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,pqxx::notification_receiver *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,pqxx::notification_receiver *> > >::multimap<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,pqxx::notification_receiver *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,pqxx::notification_receiver *> > >() + 0x3f bytes  
postgres.exe!pqxx::connection_base::connection_base() + 0x83 bytes 
postgres.exe!pqxx::basic_connection<pqxx::connect_direct>::basic_connection<pqxx::connect_direct>(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & opt="host=localhost user=tka4 password=sga19791988 dbname=sfMakseq") Line 65 + 0x2d bytes C++ 
postgres.exe!main(int argc=5, char * * argv=0x00000000003470b0) Line 36 + 0x40 bytes C++ 
postgres.exe!__tmainCRTStartup() Line 586 + 0x19 bytes 

錯誤消息:

「訪問衝突寫入位置0x0000000077225418未處理的postgres.exe在0x000000013f0612e0例外:0000005。」

可能你知道些什麼我錯了嗎?

回答

1

所以,首先我用/機:64,而不是/機:I386。 這是我的錯誤。它應該是/機:AMD64與 「vcvarsall.bat AMD64」。