[tahoe-dev] preferred Windows Template Library for building tahoe-w32-client

Julien Lacroix newsl at aradriel.de
Thu Nov 4 18:49:45 UTC 2010


Cheers list,

i have a Tahoe-Node (v.1.8.0) builded & running on a Windows 7 x64 with 
Python 2.6.6 amd64.
After fitting the requirements from 
http://tahoe-lafs.org/trac/tahoe-w32-client i tryed to build
the databackup project. Result is the log file below, same result with 
WTL 7.1 or WTL 8.
Maybe i peek at the wrong spot?

Some version info about the build vm:
*Windows 7 x64
*Python 2.6.6 amd64
*Microsoft Visual Studio 2008 SP1 (latest security patches installed)
*Windows Driver Kit for Windows 7
*Windows Template Library 7.1 / 8.0
*Windows Platform SDK 6.0A / 7.0
*Volume Shadow Copy Service SDK (there seems to be only one from 2005)

thanks for your advice.

Sincerely yours,

Julien Lacroix


###logstart
Build started 04.11.2010 18:35:24.
Project "C:\_BUILD\tahoe-w32-client\AllmydataBackup\AllmydataBackup.sln" 
on node 0 (rebuild target(s)).
   Building solution configuration "Debug|Win32".
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\allmydataaccountdialog.h(35): 
error C2660: 'CAllmydataAccount::OnTimer' : function does not take 2 
arguments
c:\wtl71\include\atlmisc.h(1159): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1164): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1174): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1189): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C2146: syntax error : missing ';' before identifier 'view_'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(34): error 
C2660: 'CMainFrame::OnTimer' : function does not take 2 arguments
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(60): error 
C2065: 'TBVN_PAGEACTIVATED' : undeclared identifier
c:\wtl71\include\atlmisc.h(1159): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1164): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1174): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1189): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C2146: syntax error : missing ';' before identifier 'view_'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(34): error 
C2660: 'CMainFrame::OnTimer' : function does not take 2 arguments
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(60): error 
C2065: 'TBVN_PAGEACTIVATED' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\allmydatabackupview.cpp(52): 
error C2065: 'PANECNT_NOBORDER' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\drivemapping.cpp(164): 
warning C4996: 'wcscpy': This function or variable may be unsafe. 
Consider using wcscpy_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\drivemapping.cpp(184): 
warning C4996: 'wcscpy': This function or variable may be unsafe. 
Consider using wcscpy_s instead. To disable deprecation, use 
_CRT_SECURE_NO_WARNINGS. See online help for details.
c:\wtl71\include\atlmisc.h(1159): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1164): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1174): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1189): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1159): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1164): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1174): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1189): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C2146: syntax error : missing ';' before identifier 'view_'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(34): error 
C2660: 'CMainFrame::OnTimer' : function does not take 2 arguments
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(60): error 
C2065: 'TBVN_PAGEACTIVATED' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\allmydataaccountdialog.h(35): 
error C2660: 'CAllmydataAccount::OnTimer' : function does not take 2 
arguments
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(66): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(66): 
error C2228: left of '.PreTranslateMessage' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(82): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(82): 
error C2228: left of '.Create' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(83): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(83): 
error C2228: left of '.SetTitleBarWindow' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(85): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(85): 
error C2228: left of '.m_hWnd' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(87): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(87): 
error C2228: left of '.AddPage' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(89): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(89): 
error C2228: left of '.m_hWnd' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(90): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(90): 
error C2228: left of '.AddPage' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(91): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(91): 
error C2228: left of '.SetActivePage' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(95): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(95): 
error C2228: left of '.SetActivePage' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(332): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(332): 
error C2228: left of '.GetPageCount' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(335): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(335): 
error C2228: left of '.RemovePage' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(338): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(338): 
error C2228: left of '.m_hWnd' must have class/struct/union
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(339): 
error C2065: 'view_' : undeclared identifier
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.cpp(339): 
error C2228: left of '.AddPage' must have class/struct/union
c:\wtl71\include\atlmisc.h(1159): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1164): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1174): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1189): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1159): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1164): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1174): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1189): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C2146: syntax error : missing ';' before identifier 'view_'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(74): error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(34): error 
C2660: 'CMainFrame::OnTimer' : function does not take 2 arguments
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\mainfrm.h(60): error 
C2065: 'TBVN_PAGEACTIVATED' : undeclared identifier
c:\wtl71\include\atlmisc.h(1159): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1164): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1174): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\wtl71\include\atlmisc.h(1189): error C2440: 'return' : cannot convert 
from 'const wchar_t *' to 'TCHAR *'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\allmydataaccountdialog.h(35): 
error C2660: 'CAllmydataAccount::OnTimer' : function does not take 2 
arguments
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\utils.cpp(15): error 
C2011: '_TOKEN_ELEVATION_TYPE' : 'enum' type redefinition
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\utils.cpp(21): error 
C2011: '_TOKEN_ELEVATION' : 'struct' type redefinition
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\utils.cpp(107): 
error C2079: 'te' uses undefined struct '_TOKEN_ELEVATION'
c:\_build\tahoe-w32-client\allmydatabackup\allmydatabackup\utils.cpp(111): 
error C2228: left of '.TokenIsElevated' must have class/struct/union
Done Building Project 
"C:\_BUILD\tahoe-w32-client\AllmydataBackup\AllmydataBackup.sln" 
(rebuild target(s)) -- FAILED.

Build FAILED.


More information about the tahoe-dev mailing list