Opened 13 years ago

Closed 13 years ago

#441 closed defect (fixed)

Tar ball for geos 3.3.0 missing required CMake Files

Reported by: robe Owned by: pramsey
Priority: major Milestone: 3.3.0
Component: Build/Install Version: main
Severity: Unassigned Keywords: cmake
Cc:

Description

I had to add the following files to the tar extract (geos-3.3.0-rc1), for it to be able to successfully build VC solution files and compile.

1) Add cmake folder 2) Add CMakeLists.txt (from folders -- src, tools, capi, include, tests, tests\bigtests, tests\XMLTester, tests\unit) 3) include\geos\platform.h.cmake

It seemed to compile fine under VC 2008 express using the generated solution file except for this error and geos-unit failing to compile.

..\..\..\geos-3.3.0rc1\tests\unit\capi\GEOSIntersectsTest.cpp(127) : error C2124: divide or mod by zero

running the tests:

1>1/4 Test #1: geos_unit ........................***Not Run   0.00 sec
1>    Start 2: xmltester
1>2/4 Test #2: xmltester ........................   Passed   54.97 sec
1>    Start 3: bug234
1>3/4 Test #3: bug234 ...........................   Passed    0.01 sec
1>    Start 4: TestSweepLineSpeed
1>4/4 Test #4: TestSweepLineSpeed ...............   Passed   11.09 sec
1>75% tests passed, 1 tests failed out of 4
1>Total Test time (real) =  66.23 sec

Change History (3)

comment:1 by strk, 13 years ago

The "divide-or-mod-by-zero" issue should have been fixed by r3364

Do you have a patch for the CMake changes ?

comment:2 by strk, 13 years ago

Is there an official maintainer for the cmake build scripts ?

comment:3 by strk, 13 years ago

Resolution: fixed
Status: newclosed

Fixed by r3369

Note: See TracTickets for help on using tickets.