Con più domande
As we were readying Casablanca for release, a rather innocuous bug snuck in and we decided to not hold up the release for it. However, it does affect one of the samples that are included, and you need to know about it.
When the HTTP listener produces any information about what's going on, it uses a default logging object, which sends text to stdout and stderr. This object is created on demand, and the path taken by the first sample (unlike the other samples) does not properly make demands. Therefore, the object is not created and no output is visible.
When you start TrivialServer, the console window will be empty, but the server will otherwise work as expected. To see the output from the HTTP server properly, add this line to the program, as the first statement in main():
We're sorry about this little mishap and hope you enjoy Casablanca!
Casablanca Teamdomenica 29 aprile 2012 22:38Proprietario
Tutte le risposte
I had trouble right off the bat. I'm using Visual Studio 2012 Professional RC. Below is my error message.
1>------ Rebuild All started: Project: TrivialServer, Configuration: Debug Win32 ------
1>TrivialServer.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) referenced in function __unwindfunclet$??R<lambda_bcd11482effe09a0d9179373df280cb2>@@QBE?AV?$task@_N@pplx@@V?$task@H@2@@Z$3
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(612,5): error MSB6006: "link.exe" exited with code 1120.
1>D:\visualstudio10ISODDD\Casablanca_Samples\Samples\VC11\TrivialServer\Debug\TrivialServer.exe : fatal error LNK1120: 1 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========lunedì 11 giugno 2012 05:52
When we released Casablanca, VS 2012 RC was not ready, so we built it to work with the VS Beta. Unfortunately, we have not had the resources to make an RC-compatible version of Casablanca available yet, but we're working on it. This is one of the known RC-related bugs.
Niklaslunedì 11 giugno 2012 14:52Proprietario