[geos-devel] geos Help

Elavazhagan.M elavazhagan.mouniandy at kcubeconsulting.com
Tue Nov 28 07:20:06 EST 2006


Mateusz,

I am trying to build 'geos3.0.0rc2'. With 'geos_c.h' downloaded from
'http://geos.refractions.net/ro/doxygen_docs/html/geos__c_8h-source.html'
and with the latest geos_c.cpp from 'geos3.0.0rc2', it builds successfully.

Is my approach correct?

Regards,
Ela

-----Original Message-----
From: geos-devel-bounces at geos.refractions.net
[mailto:geos-devel-bounces at geos.refractions.net] On Behalf Of Mateusz Loskot
Sent: Tuesday, November 28, 2006 1:25 PM
To: GEOS Development List
Subject: Re: [geos-devel] geos Help

Elavazhagan,

What version of GEOS are you trying to build now?

Elavazhagan.M wrote:
> I downloaded the MSVS 2005 solution files from the website you mentioned
and
> used the files 'version.h' and 'platform.h' from the same website.

These two files are old.
I've just put new versions on my website, please, re-download it.

> I renamed
> 'capi\geos_c.h.in' to 'capi\geos_c.h' and then I copied some of the
missing
> files (for e.g. 'acconfig.h', 'config.h' and some '.cpp' files) from other
> versions of 'geos' and compiled. But I am still stuck with those errors I
> mentioned earlier. Please find the MSVS 'build report' with this mail for
> details.
>
> Are there any specific settings I need to make before building 'geos'?
> Or do I need to refer any 'lib' files in the project?

Hmm, what config.h file you mean?
There is no such file GEOS that's required for Visual C++ compiler.
Also, please, don't copy any files across GEOS versions.

OK, I checked my project file and updated it.
Please, download it again from the same location, direct link is:

http://mateusz.loskot.net/download/projects/geos/geos-msvc-2005-project.zip

There are 3 projects:
- DLL with GEOS C API
- Static library with both: C and C++ APIs
- Unit Test runner

Run Rebuild and you should get both libraries compiled and next unit
tests should compile and link and run all tests automatically as
post-build event, so after all you should see tests results in the
output window.

NOTE: I build sources checkouted from GEOS SVN:
svn checkout http://svn.refractions.net/geos/trunk geos

Give me a note if it works for you.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net
_______________________________________________
geos-devel mailing list
geos-devel at geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.19/555 - Release Date: 11/27/2006





More information about the geos-devel mailing list