• Advertisement
  • entries
    422
  • comments
    1540
  • views
    489287

I broke something

Sign in to follow this  

79 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]
Sign in to follow this  


5 Comments


Recommended Comments

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>Linking...
1>LINK : ..\..\Bin\Utilities.dll not found or not built by the last incremental link; performing full link
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 ==========

Share this comment


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

Share this comment


Link to comment

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

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement