Open GoogleCodeExporter opened 8 years ago
Update: Once I commented out the strptime function (which I noticed had a
comment regarding 'fixing' it for win32) and the actual call in date_time.cc
(bool DateTime::ParseXsdDateTime(const string& xsd_date_time)) I simply
returned false. I then ran into the following issue with mkstemp:
------------------------------------
$ make
make all-recursive
make[1]: Entering directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0'
Making all in third_party
make[2]: Entering directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/third_party'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/third_party'
Making all in src
make[2]: Entering directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/src'
Making all in kml
make[3]: Entering directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/src/kml'
Making all in .
make[4]: Entering directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/src/kml'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/src/kml'
Making all in base
make[4]: Entering directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/src/kml/base'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../.. -I../../../src -I../../../third_party/boost_1_34_1
-I../../../third_party/googletest-r108/include
-I../../../third_party/uriparser-0.7.5/include
-I../../../third_party/zlib-1.2.3/contrib -Wall -Wextra -Wno-unused-parameter
-Werror -ansi -pedantic -fno-rtti -g -O2 -MT file_posix.lo -MD -MP -MF
.deps/file_posix.Tpo -c -o file_posix.lo file_posix.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src
-I../../../third_party/boost_1_34_1
-I../../../third_party/googletest-r108/include
-I../../../third_party/uriparser-0.7.5/include
-I../../../third_party/zlib-1.2.3/contrib -Wall -Wextra -Wno-unused-parameter
-Werror -ansi -pedantic -fno-rtti -g -O2 -MT file_posix.lo -MD -MP -MF
.deps/file_posix.Tpo -c file_posix.cc -DDLL_EXPORT -DPIC -o .libs/file_posix.o
file_posix.cc: In static member function ‘static bool
kmlbase::File::CreateNewTempFile(std::string*)’:
file_posix.cc:64:29: error: ‘mkstemp’ was not declared in this scope
Makefile:821: recipe for target `file_posix.lo' failed
make[4]: *** [file_posix.lo] Error 1
make[4]: Leaving directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/src/kml/base'
Makefile:271: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/src/kml'
Makefile:245: recipe for target `all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0/src'
Makefile:288: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/cygdrive/c/Users/martin.beynon/Downloads/libkml-1.2.0'
Makefile:218: recipe for target `all' failed
make: *** [all] Error 2
------------------------------------
I searched the headers for mkstemp and it doesn't appear to exist anywhere in
CygWin.
Original comment by martin.b...@bbsr.co.uk
on 8 Feb 2012 at 4:26
Original issue reported on code.google.com by
martin.b...@bbsr.co.uk
on 8 Feb 2012 at 3:30