litebrowser
litebrowser copied to clipboard
Help building with VS2016 please
I need to fix some issues in litehtml
. My project is C#-based using litehtmlsharp
and being able to build/test/debug in C++ will make the work in litehml
easier (I believe).
To this end, I really want to do everything in VS2016. But I can't get litebrowser
to build. It appears to be some C++ language feature issue:
4>tordexhttp.cpp
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.h(25,8): error C2039: 'wstring': is not a member of 'std'
4>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.24.28314\include\vector(24): message : see declaration of 'std'
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.h(25,22): error C3646: 'm_url': unknown override specifier
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.h(25,22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.cpp(165,2): error C2065: 'm_url': undeclared identifier
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.cpp(183,7): error C2039: 'wstring': is not a member of 'std'
4>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.24.28314\include\vector(24): message : see declaration of 'std'
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.cpp(183,15): error C2065: 'wstring': undeclared identifier
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.cpp(183,15): error C2146: syntax error: missing ';' before identifier 'host'
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.cpp(183,15): error C2065: 'host': undeclared identifier
4>C:\Users\ckindel\s\litebrowser\src\tordexhttp.cpp(184,7): error C2039: 'wstring': is not a member of 'std'
....
Its been decades since I've done heavy C++ dev, so I'm pretty rusty. I'd appreciate any tips you can give me on getting past this. Thanks.
+1, fixed by including string