Running Wt with windows without Visual Studio
I want to run Wt with windows without visual studio. When running Wt without doing anything (but including boost etc.) I get the error
Wt/WConfig.h: No such file or directory
So it seems like I have to compile Wt. Sticking to INSTALL.html delivered with Wt 3.1, I tried to run CMake in the build-folder (with -G "MinGW Makefiles", which worked fine. But when compiling with make, I get the following error:
C:\cppLib\wt-3.3.1\src\web\random_device.cpp:125:42: Fehler: »const char* const boost::random::random_device::default_token« ist kein statisches Element von »class boost::random::random_device«
Does anyone has an explanation of this, or an hint, how to solve it?
Updated by Wim Dumon over 8 years ago
MinGW installation is explained here:
The error you get is because you didn't set the BOOST_PREFIX correct at the first run of cmake. CMake remembers that it didn't find boost_random the first time and won't look for it again. You can fix this in CMakeCache.txt in your build directory, and change the value for WT_NO_BOOST_RANDOM (IIRC it should be set to OFF).