Linker errors in 0.262

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Avenger
Posts: 3
Joined: 2003-09-29 14:14

Linker errors in 0.262

Post by Avenger » 2003-09-29 14:18

I have many linker errors in the new version 0.262.
Other versions such as 0.261 compiles all fine, even the 0.262 compiles in debug mode, but not with all projects set to release mode.

Here are some of the errors I get:

Code: Select all

DCPlusPlus error LNK2001: unresolved external symbol "private: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > * ResourceManager::strings" (?strings@ResourceManager@@0PAV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@A)
DCPlusPlus error LNK2019: unresolved external symbol "private: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > * ResourceManager::strings" (?strings@ResourceManager@@0PAV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@A) referenced in function "protected: long __thiscall ATL::CRegParser::RegisterSubkeys(char *,struct HKEY__ *,int,int)" (?RegisterSubkeys@CRegParser@ATL@@IAEJPADPAUHKEY__@@HH@Z)
DCPlusPlus error LNK2001: unresolved external symbol "private: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > * ResourceManager::strings" (?strings@ResourceManager@@0PAV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@A)
DCPlusPlus error LNK2001: unresolved external symbol "private: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > * ResourceManager::strings" (?strings@ResourceManager@@0PAV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@A)


I have VS.net 2002 ed. and I have tried the fix stlport fix for 2003, but it won't work.

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 19:37

Post by TheParanoidOne » 2003-09-29 14:29

0.262 Changelog wrote:* Upgraded to STLPort 4.5.0725 (should be compatible with msvc 7.1)


Might this be the problem?
The world is coming to an end. Please log off.

DC++ Guide | Words

Avenger
Posts: 3
Joined: 2003-09-29 14:14

Post by Avenger » 2003-09-29 21:47

nope I have downloaded and installed the updated version from the DC++ sourceforge development page .

Gratch06
Posts: 141
Joined: 2003-05-25 06:48
Location: USA

Post by Gratch06 » 2003-09-29 22:12

Make sure you have the includes correct. Those are some errors you will get if the includes are wrong. see compile.txt for instructions.

-Gratch06

Avenger
Posts: 3
Joined: 2003-09-29 14:14

Post by Avenger » 2003-09-30 18:47

Well, the includes are correct, 0.261 compiles without errors, and 0.262 in debug mode compiles just fine.

EDIT:
Just downloaded the 0.263 source, and it works perfekt.

Who is online

Users browsing this forum: Google [Bot] and 0 guests