[Gdal-dev] Re: HELP: GDAL for windows CE
Mateusz Łoskot
mateusz at loskot.net
Wed May 3 13:06:31 EDT 2006
Vasku Pech wrote:
> Hi there,
>
> OK, I finally managed to get the source from CVS. It was not a
> password problem. My company did not have the CVS port set up
> correctly so it was not possoble to download the code.
I am glad it works now.
> I thought all my problems would be solved once I got a proper stable
> version of Gdal for wince. Unfortunately I am still sitting at square
> one.
Yes, it's possible. Let's start to solve those problems :-)
> First, you need to install following software on your machine:
>
> 0. Compilation box running Windows NT/2000/XP
>
I assume you've fulfilled those software requirements.
> Initially EVC++ 4.0 had a problem even recognising the files. The
> CR/LF were missing.
Yes, it's possible.
> I opened the files in WordPad and save over the original file which
> seems to have solved the problem.
Yes, it should fix the problem. But I'd prefer to use notepad, instead
wordpad.
> I am able to see the Fileview and Classview of the project file. The
> problem is when I try building the project I initially get the
> following error 95 or so times:
>
> Cannot open include file: 'cpl_config.h': No such file or directory
Ups! It seems you've found it's missing in the README.
I've forgot to explain this step.
if you're using eVC++ project files, you have to rename file:
port/cpl_config.h.evc4
to read:
port/cpl_config.h
> I find this file in the OGR directory not the PORT directory where
> the compiler tries to look for it. I have copied the file and also
> updated the include path under Projects / Settings/ C/C++ tab
> (Additional inculde directories).
Hmm, I don't have this file there in the ogr subdir.
cpl_config.h should be renamed as I'm explaining above
> Still this does not work. It comes up with following error 113 times:
> eMbedded Visual C++ 3 and .NET don't have a errno.h header; STLport
> won't include native errno.h here
That's the problem. I mean, you need to have cpl_config.h renamed as
said above.
You can look into the port/cpl_config.h.evc4 file and you will see
dedicated #if's for errno.
> Can someone help me out here. I am getting desperate as I dont know
> what else to do.....
Please, follow my guidelines above related to cpl_config.h and it should
work. Simply, I've forgot to add appropriate instructions to the
wince/README file.
I'll fix it soon when I'm back home after Friday (I'm on small holidays).
> I have also tried compiling the file using the
> make file (makefile.evc4) supplied in the main directory. This is
> apparently suppose to give me 4 files.
>
> If everything went without any errors you should have following files
> in gdal root directory (C:\gdal): gdalce.lib - static library
> (PREFERED) gdalce13.dll - Dynamic-Link Library (DLL) (See IMPORTANT
> note) gdalce_i.exp - export file for DLL gdalce_i.lib - import
> library for DLL
>
> I cannot even get this to work... HELP, HELP.... Please if anybody
> can point me in the right direction I would be very gratefull.
What's the problem here?
What is the error message?
Please, first try to build using eVC++ project files with my
instructions how to get cpl_config.h files.
Cheers
--
Mateusz Łoskot
http://mateusz.loskot.net
More information about the Gdal-dev
mailing list