Project

General

Profile

Support #2587

Running Wt with windows without Visual Studio

Added by David Georg Reichelt over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/21/2014
Due date:
% Done:

0%

Estimated time:

Description

Hi,

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?

Best regards,

DaGeRe

#1

Updated by Wim Dumon over 8 years ago

MinGW installation is explained here:

http://redmine.emweb.be/projects/wt/wiki/Installing_Wt_on_MinGW

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).

Wim.

Also available in: Atom PDF