Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help building with VS2016 please #4

Open
tig opened this issue Feb 16, 2020 · 1 comment
Open

Help building with VS2016 please #4

tig opened this issue Feb 16, 2020 · 1 comment

Comments

@tig
Copy link

tig commented Feb 16, 2020

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.

@versaloon
Copy link

versaloon commented May 23, 2022

+1, fixed by including string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants