Opened 7 years ago

Closed 7 years ago

#829 closed defect (fixed)

Cmake build on mingw/msys failing with

Reported by: robe Owned by: mloskot
Priority: major Milestone: 3.7.0
Component: Build/Install (cmake) Version: 3.6.0
Severity: Critical Keywords:
Cc:

Description (last modified by mloskot)

Since commit

 Commit 133c801ff16a5755d915ef9a80cdb66ecf814730 by mateusz

[CMake] Fix geos-config is not installed on MinGW/MSYS builds
Closes #706

The file was modified	tools/CMakeLists.txt
Commit 667d18feff7acc6fa35fddc26d5884fc67b710dc by mateusz

Add explicit cast of sqrt arguments to double
Fixes parts of #801

The file was modified	tests/unit/capi/GEOSSTRtreeTest.cpp

Been getting failures on mingw64 cmake both 32-bit and 64-bit compile

[100%] [32m[1mLinking CXX executable ../../bin/xmltester.exe[0m
CMakeFiles/xmltester.dir/objects.a(XMLTester.cpp.obj): In function `geos::util::round(double)':
E:/jenkins/geos/branches/3.7cmake/include/geos/util/math.h:36: undefined reference to `geos::util::java_math_round(double)'
collect2.exe: error: ld returned 1 exit status
tests/xmltester/CMakeFiles/xmltester.dir/build.make:259: recipe for target `bin/xmltester.exe' failed
make[2]: *** [bin/xmltester.exe] Error 1
CMakeFiles/Makefile2:468: recipe for target `tests/xmltester/CMakeFiles/xmltester.dir/all' failed
make[1]: *** [tests/xmltester/CMakeFiles/xmltester.dir/all] Error 2
Makefile:138: recipe for target `all' failed
make: *** [all] Error 2

Change History (1)

comment:1 by mloskot, 7 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

Dup #831

Note: See TracTickets for help on using tickets.