Project

General

Profile

Actions

Bug #6373

closed

Wt failed with error C2065 and C2228 when build with MSVC

Added by Quella Zhang over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/16/2018
Due date:
% Done:

0%

Estimated time:

Description

Hello,

We build Wt with VS2017 Update 5 on Windows. But it failed with error C2065 and C2228. This issue is caused by master revision 942cd3d. Could you please help take a look at this? Thanks!

Note:

Wt requires boost. You can get boost 32bits and 64bits from following address and Change the install path:

32bits: c:\boost_1_64_0\x86

64bits: c:\boost_1_64_0\x64

Boost: https://sourceforge.net/projects/boost/files/boost-binaries/1.64.0/

Repro steps:

  1. Open VS2017 x86 Native tools command tool
  2. git clone https://github.com/emweb/wt d:\Wt\src
  3. cd D:\Wt
  4. mkdir build_x86 && pushd build_x86
  5. cmake -G "Visual Studio 15 2017" -DCMAKE_SYSTEM_VERSION=10.0.16299.0 -DBOOST_PREFIX=C:\boost_1_64_0\x86 -DBOOST_LIBRARYDIR=C:\boost_1_64_0\x86\lib32-msvc-14.1 ..\src\
  6. msbuild /m /p:Configuration=Release;Platform=Win32 ALL_BUILD.vcxproj /t:Rebuild

Error information:

"D:\Wt\build_x86\ALL_BUILD.vcxproj" (Rebuild target) (1) ->

"D:\Wt\build_x86\test\test.wt.vcxproj" (default target) (49:2) ->

"D:\Wt\build_x86\src\wt.vcxproj" (default target) (30:54) ->

(ClCompile target) ->

D:\Wt\src\src\Wt\Chart\WCartesianChart.C (2539): error C2065: 'XAxis': undeclared identifier [D:\Wt\build_x86\src\wt.vcxproj]

D:\Wt\src\src\Wt\Chart\WCartesianChart.C (2539): error C2228: left of '.minZoom' must have class/struct/union [D:\Wt\build_x86\src\wt.vcxproj]


Files

Wt_log_x86_build.log (142 KB) Wt_log_x86_build.log Quella Zhang, 05/16/2018 09:19 AM
Actions #1

Updated by Roel Standaert over 6 years ago

  • Status changed from New to Closed

Those issues should be fixed already. I just pushed another fix for the widgetgallery example, so everything should build now.

Actions

Also available in: Atom PDF