[fdo-dev] Building SHP Provider : error

Ytse bill_gfr at yahoo.fr
Wed Sep 20 07:03:58 EDT 2006


Ok, I've tried to restart from scratch.
I've created a new directory and proceeded to fdocore
and fdoshp SVN checkouts, matching this document :
https://fdo.osgeo.org/docs/BuildFDOOpenSource.pdf

Then in a new DOS command window I've done the
following actions :
- go to the c:\fdoopensource dir
- run setenvironment.bat
- run build_thirdparty.bat
- run build.bat -o=c:\fdobinaries
and I still have errors while building SHP_temp.sln
though this time it's not the same one to begin with.

All the errors occur while proceeeding to the target
"Common" (Utilities\Common\FdoCommon.vcproj),
compiling .\Src\FdoCommonOSUtil.cpp

It appears you modified the file yesterday, I guess
there's something wrong with your last submission as
I've reverted it to the previous revision and it works
(building SHP only, don't know about a full rebuild)


---
Here are the errors 
        .\Src\FdoCommonOSUtil.cpp(364): error C2664:
'GetUserNameW' : cannot convert parameter 1 from 'char
[256]' to 'LPWSTR'
        .\Src\FdoCommonOSUtil.cpp(365): warning C4003:
not enough actual parameters for macro
'multibyte_to_wide'
        .\Src\FdoCommonOSUtil.cpp(365): error C2552:
'wusername' : non-aggregates cannot be initialized
with initializer list
        .\Src\FdoCommonOSUtil.cpp(365): error C2143:
syntax error : missing '}' before 'const'
        .\Src\FdoCommonOSUtil.cpp(365): error C2143:
syntax error : missing ';' before 'const'
        .\Src\FdoCommonOSUtil.cpp(365): error C2143:
syntax error : missing ';' before 'const'
        .\Src\FdoCommonOSUtil.cpp(365): error C2065:
'p' : undeclared identifier
        .\Src\FdoCommonOSUtil.cpp(365): error C2440:
'=' : cannot convert from 'wchar_t *' to 'char [256]'
        .\Src\FdoCommonOSUtil.cpp(365): error C2440:
'=' : cannot convert from 'int' to 'char [256]'
        .\Src\FdoCommonOSUtil.cpp(366): error C2059:
syntax error : 'return'
        .\Src\FdoCommonOSUtil.cpp(376): error C2059:
syntax error : '}'
        .\Src\FdoCommonOSUtil.cpp(376): error C2143:
syntax error : missing ';' before '}'
        .\Src\FdoCommonOSUtil.cpp(376): error C2059:
syntax error : '}'



	

	
		
___________________________________________________________________________

Découvrez un nouveau moyen de poser toutes vos
questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos
connaissances, vos opinions et vos expériences. 
http://fr.answers.yahoo.com 



	

	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. 
http://fr.answers.yahoo.com 





More information about the Fdo-internals mailing list