Project

General

Profile

Actions

Bug #6355

closed

Wt failed due to error C2026 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:
04/27/2018
Due date:
% Done:

0%

Estimated time:

Description

Hello,

We build Wt with VS2017 Update 5 on Windows. But it failed with error C2026: string too big, trailing characters truncated. This issue is caused by master revision 3457bb5. 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

  1. git clone https://github.com/emweb/wt d:\Wt\src
  2. cd D:\Wt
  3. mkdir build_x86 && pushd build_x86
  4. 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\
  5. msbuild /m /p:Configuration=Release;Platform=Win32 ALL_BUILD.vcxproj /t:Rebuild

Error information:

The whole log file please see attachment.

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

"D:\Wt\build_x86\examples\dialog\dialog.wt.vcxproj" (default target) (3:2) ->

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

(ClCompile target) ->

D:\Wt\src\src\js/WCartesianChart.min.js(36): error C2026: string too big, trailing characters truncated (compiling source file D:\Wt\src\src\Wt\Chart\WCartesianChart.C) [D:\Wt\build_x86\src\wt.vcxproj]


Files

log_x86_build.log (142 KB) log_x86_build.log Quella Zhang, 04/27/2018 09:55 AM
Actions #1

Updated by Roel Standaert over 6 years ago

I am aware that the version of Wt on GitHub is currently broken on Windows.

Actions #2

Updated by Quella Zhang over 6 years ago

Thanks, @Roel Janssen Standaert. This issue still can be reproduced with latest master revision 10c77a8.

Actions #3

Updated by Quella Zhang over 6 years ago

We are no longer hit this issue in the latest master revision a99db99. Thanks!

Actions #4

Updated by Roel Standaert over 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF