How to create a WT project in MSVC?

If someone successfully used WT with MSVC (my 2005), could you please provide some details on how this can be done? I installed WT fine and then did some examples. Problems begin when I try to create my own project, as simple as hello.C. I get thousands of compiler errors, such as:

C: \ Program Files \ Microsoft Visual Studio 8 \ VC \ include \ cstdio (25): error C2143: syntax error: missing '{' before ':'

Perhaps some kind of project setup is required, which I could not understand, despite the fact that I tried for many hours ... Any help would be appreciated.

[Edit] WT - Witty (webtoolkit.eu)

+3
source share
2 answers

Well, after searching and searching for several days, it seems that using CMake is required to create a WT project. This page explains the procedure. Hope this saves you some time.

+2
source

Taking a random hit: try renaming the file "hello.cpp". MSVC compiles .c files as C by default, not C ++.

The first result for WT that I found through google is the associated Jason D. This is a C ++ library, not a C library.

If this does not help, provide more information, including what β€œWT” means and some of your short code examples.

0
source

Source: https://habr.com/ru/post/1725673/


All Articles