powiedzcie mi ludzie jakich bibliotek jeszcze potrzebuje bo

0

jak w temacie. MS VC++ EXPRESS 2008

1>dns.obj : error LNK2019: unresolved external symbol _DnsFree@8 referenced in function "public: static class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,int> > > __cdecl gloox::DNS::resolve(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class gloox::LogSink const &)" (?resolve@DNS@gloox@@SA?AV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HU?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@00ABVLogSink@2@@Z)


1>dns.obj : error LNK2019: unresolved external symbol _DnsQuery_A@24 referenced in function "public: static class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,int> > > __cdecl gloox::DNS::resolve(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class gloox::LogSink const &)" (?resolve@DNS@gloox@@SA?AV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HU?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@00ABVLogSink@2@@Z)
0

Wrzuć błąd w Google - 'unresolved external symbol _DnsQuery_A@24'... ew. idź do wróżki.

0

poszedłem do wróżki i powiedziała mi ze szklanej kuli: Dnsapi.lib :-D

0

Szukaj class gloox. To jedyna klasa spoza biblioteki standardowej. No chyba, że nie linkuje Ci standardowej.

0
Olamagato napisał(a)

Szukaj class gloox. To jedyna klasa spoza biblioteki standardowej. No chyba, że nie linkuje Ci standardowej.

@up - nie rób z siebie idioty... Widać, że chodzi o dwie niemanglowane funkcje - funkcje z C/externowane jako "C", tutaj klasy nic do gadania nie mają. Poza tym nazwa funkcji/błąd kompilacji wrzucone w Google podają, że jest to funkcja z WINAPI - gdzie Ty tutaj jakieś klasy widzisz? Skoro problem jest rozwiązany - gość znalazł czego potrzebuje to go w błąd może nie wprowadzaj?

0

klasy widzi tutaj:
"symbol _DnsFree@8 referenced in function (...........) __cdecl gloox::resolve(class (............)
a to, ze nie zrozumial tekstu bledu i patrzy nie na to co trzeba, to inna sprawa :P

1 użytkowników online, w tym zalogowanych: 0, gości: 1