[geos-devel] [GEOS] #630: CMake with mingw fail

GEOS geos-trac at osgeo.org
Tue Jun 4 22:27:52 PDT 2013


#630: CMake with mingw fail
------------------------+---------------------------------------------------
 Reporter:  robe        |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:                            
Component:  Default     |     Version:  svn-trunk                 
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------

Comment(by robe):

 The ctest issue was because I didn't have cmake bin folder in my search
 path. I was using an alias for cmake to run.  After adding to my path --
 yeh complete success.


 {{{
 Linking CXX executable ../../bin/TestSweepLineSpeed.exe
 [100%] Built target TestSweepLineSpeed
 Scanning dependencies of target bug234
 [100%] Building CXX object
 tests/bigtest/CMakeFiles/bug234.dir/bug234.cpp.obj
 c:/ming64/projects/geos/branches/geos-3.4/tests/bigtest/bug234.cpp:1:0:
 warning:
  -fPIC ignored for target (all code is position independent) [enabled by
 default
 ]
  #include <vector>
  ^
 Linking CXX executable ../../bin/bug234.exe
 [100%] Built target bug234
 Running tests...
 Test project C:/ming64/projects/geos/branches/geos-3.4/build/mingw
     Start 1: geos_unit
 1/4 Test #1: geos_unit ........................   Passed    0.13 sec
     Start 2: xmltester
 2/4 Test #2: xmltester ........................   Passed    6.44 sec
     Start 3: bug234
 3/4 Test #3: bug234 ...........................   Passed    0.01 sec
     Start 4: TestSweepLineSpeed
 4/4 Test #4: TestSweepLineSpeed ...............   Passed    1.72 sec

 100% tests passed, 0 tests failed out of 4

 Total Test time (real) =   8.32 sec
 Scanning dependencies of target check
 Test project C:/ming64/projects/geos/branches/geos-3.4/build/mingw
     Start 1: geos_unit
 1/4 Test #1: geos_unit ........................   Passed    0.11 sec
     Start 2: xmltester
 2/4 Test #2: xmltester ........................   Passed    6.43 sec
     Start 3: bug234
 3/4 Test #3: bug234 ...........................   Passed    0.01 sec
     Start 4: TestSweepLineSpeed
 4/4 Test #4: TestSweepLineSpeed ...............   Passed    1.71 sec

 100% tests passed, 0 tests failed out of 4

 Total Test time (real) =   8.29 sec
 Built target check
 }}}


  I'll attach a patch once I've cleaned up the junk I shouldn't have put
 in. n test wt my curent mingw64.  This is using mingw64 gcc 4.8
 x86_64-w64-mingw32-gcc-4.8.0-win64_rubenvb.7z from

 http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/gcc-4.8-release/

 I still need to test with win32 also.

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/630#comment:3>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list