1.35 is too old to build Wt out of the box, you'll have to upgrade. Minimum version nowadays is 1.36, but if you're upgrading, I recommend to install the latest.
Best regards, Wim. 2010/3/9 <[email protected]>: > > Hey, Win > >> The problem is probably the inclusion of windows.h somewhere, that >> defines macros min, max, and other mishap. But normally, that should >> not happen while you are building Wt. Since it happens to you anyway, >> you can define NOMINMAX to mitigate the problem (add a line >> ADD_DEFINITIONS(-DNOMINMAX) in the toplevel CMakeLists.txt). > >> As I said, this should not happen, so I'm curious what causes it. What >> version of boost are you using? > > I will try it. > My boost version is 1.35, you thought it caused by boost the lower version? > > --- > B.R. > Jiongliang > > >> Best regards, >> Wim. > >> 2010/3/9 <[email protected]>: >> >> Hi, >> >> When I build wt-2.99.2 in MS VS2005, then everything is fine. >> But when I build wt-3.1.1b in MS VS2005, much error happen. >> >> The first step: cmake is fine, and generate VS solution is ok too, >> when I run the WT.sln, then press F, errors happen: >> >> 2>..\..\..\..\src\Wt\Ext\TableView.C(154) : error C2589: '(' : illegal >> token >> on right side of '::' >> 2>..\..\..\..\src\Wt\Ext\TableView.C(154) : error C2059: syntax error : >> '::' >> 2>..\..\..\..\src\Wt\Ext\TableView.C(154) : error C2589: '(' : illegal >> token >> on right side of '::' >> 2>..\..\..\..\src\Wt\Ext\TableView.C(154) : error C2589: '(' : illegal >> token >> on right side of '::' >> 2>..\..\..\..\src\Wt\Ext\TableView.C(155) : error C2589: '(' : illegal >> token >> on right side of '::' >> 2>..\..\..\..\src\Wt\Ext\TableView.C(155) : error C2059: syntax error : >> '::' >> 2>..\..\..\..\src\Wt\Ext\TableView.C(155) : error C2589: '(' : illegal >> token >> on right side of '::' >> 2>..\..\..\..\src\Wt\Ext\TableView.C(155) : error C2589: '(' : illegal >> token >> on right side of '::' >> 2>Build log was saved at >> "file://g:\wt-web\wt-3.1.1b\build\src\Wt\Ext\wtext.dir\Debug\BuildLog.htm" >> 2>wtext - 8 error(s), 4 warning(s) >> 1>..\..\src\Wt\Chart\WChart2DRenderer.C(703) : error C2589: '(' : illegal >> token on right side of '::' >> 1>..\..\src\Wt\Chart\WChart2DRenderer.C(703) : error C2059: syntax error : >> '::' >> 1>..\..\src\Wt\Chart\WChart2DRenderer.C(705) : error C2589: '(' : illegal >> token on right side of '::' >> 1>..\..\src\Wt\Chart\WChart2DRenderer.C(710) : error C2589: '(' : illegal >> token on right side of '::' >> 1>..\..\src\Wt\Chart\WChart2DRenderer.C(710) : error C2059: syntax error : >> '::' >> 1>..\..\src\Wt\Chart\WChart2DRenderer.C(712) : error C2589: '(' : illegal >> token on right side of '::' >> >> 1>..\..\src\Wt\Chart\WAxis.C(79) : error C2589: '(' : illegal token on >> right >> side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(79) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(80) : error C2589: '(' : illegal token on >> right >> side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(80) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(165) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(165) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(184) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(184) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(345) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(345) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(416) : warning C4003: not enough actual >> parameters for macro 'max' >> 1>..\..\src\Wt\Chart\WAxis.C(416) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(416) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(417) : warning C4003: not enough actual >> parameters for macro 'min' >> 1>..\..\src\Wt\Chart\WAxis.C(417) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(417) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(432) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(432) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(434) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(434) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(445) : warning C4003: not enough actual >> parameters for macro 'max' >> 1>..\..\src\Wt\Chart\WAxis.C(445) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(445) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(448) : error C2181: illegal else without >> matching if >> 1>..\..\src\Wt\Chart\WAxis.C(451) : warning C4003: not enough actual >> parameters for macro 'max' >> 1>..\..\src\Wt\Chart\WAxis.C(451) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(451) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(454) : error C2181: illegal else without >> matching if >> 1>..\..\src\Wt\Chart\WAxis.C(459) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(459) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(463) : error C2589: '(' : illegal token on >> right side of '::' >> 1>..\..\src\Wt\Chart\WAxis.C(463) : error C2059: syntax error : '::' >> 1>..\..\src\Wt\Chart\WAxis.C(494) : fatal error C1903: unable to recover >> from previous error(s); stopping compilation >> 1>WTreeView.C >> >> and so on... >> >> ========== Build: 2 succeeded, 23 failed, 5 up-to-date, 2 skipped >> ========== >> >> I don't know what's the matter with it, can anybody tell me why? >> >> PS: All install steps are follow Redmine wt about Installation Wt on ms >> windows. >> > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
