• 9
• 9
• 10
• 10
• 11
• entries
422
1540
• views
489618

# I broke something

81 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

##### Link to comment
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 ==========

##### Link to comment
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.

##### Link to comment
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

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

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account