[fdo-dev] Building SHP Provider : error
Pierre Dalcourt
pierre.dalcourt at autodesk.com
Wed Sep 20 11:03:34 EDT 2006
Ytse,
To solve the compile errors you mentioned below, simply re-sync to the latest code in Utilities\Common and SHP\Src\UnitTest then rebuild these components and it should solve them.
Pierre
-----Original Message-----
From: Ytse [mailto:bill_gfr at yahoo.fr]
Sent: September 20, 2006 7:04 AM
To: dev at fdo.osgeo.org
Subject: [fdo-dev] Building SHP Provider : error
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at fdo.osgeo.org
For additional commands, e-mail: dev-help at fdo.osgeo.org
More information about the Fdo-internals
mailing list