• entries
422
1540
• views
490994

I broke something

113 views

The sheer length of the following message is enough to tell me I must've done something wrong:

1>LogFile.obj : error LNK2019: unresolved external symbol "class std::basic_string,class std::allocator > __cdecl Util::System::GetTimeAsText(int)" (?GetTimeAsText@System@Util@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@H@Z) referenced in function "bool __cdecl Util::LogFile::WriteLogEntry(int const &,class std::basic_string,class std::allocator > const &,class std::basic_string,class std::allocator > const &,class std::basic_string,class std::allocator > const &,int const &,class std::basic_string,class std::allocator > const &)" (?WriteLogEntry@LogFile@Util@@YA_NABHABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@1101@Z)

Would be nice if they came up with a compiler that actually stripped this crap out of the way. VC8 sort of does, but not well enough [lol]

lol templates

Much Better:

1>------ Rebuild All started: Project: Utilities, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'Utilities', configuration 'Debug|Win32'
1>Compiling...
1>cpuid.c
1>Compiling...
1>Utilities.cpp
1>Unicode.cpp
1>LogFile.cpp
1>System.cpp
1>Generating Code...
1>Compiling manifest to resources...
1> Creating library ..\..\Bin\Utilities.lib and object ..\..\Bin\Utilities.exp
1>Embedding manifest...
1>Build Time 0:05
1>Build log was saved at "file://k:\Development\F1CM Work\F1CM Research\Modular\Components\Utilities\Bin\BuildLog.htm"
1>Utilities - 0 error(s), 0 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

There is a program which sanitizes these kinds of error messages:
http://www.bdsoft.com/tools/stlfilt.html

Not sure what compiler you use, it may not work properly on VC++ 2005.

Yeah, I've heard of those sorts of tools before. I just think it should be a basic part of any IDE.

I mean, really - even the most advanced programmers in the most complex of problems probably doesn't need 90% of the content in that error message. Its just extra "stuff" [smile]

Jack

pfft, thats a simple error message to parse, get better at it [razz]

Create an account

Register a new account

• What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.