[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)

Greg Troxel notifications at github.com
Sun Oct 25 15:57:06 UTC 2015


alex85k <notifications at github.com> writes:

> @gdt: Thank you for sharing your experience! We'll add the most common
> steps to success into Readme.md. For now there is only
> CMAKE_PREFIX_PATH and BOOST_ROOT there, we need to write something
> about changing compilers too.  According LD_LIBRARY_PATH,
> C_INLCUDE_PATH etc. - I have just copied them long ago from
> stackouverflow. As far as I remember, they help to build Autotools
> projects (pass its checks and so on) and cmake seems to be smart
> enough.
>
> Or maybe you just still use headers and stdlibc++ from system - could
> you please check the pathes found in CMakeLists.txt ?

I wasn't able to figure out paths, but libstdc++ from the system is from
gcc 4.5, so that surely isn't going to work.  Paul is quite right that
for code that needs C++11, one has to install gcc 4.8 or higher and
build everything with it.  That's unfortunate; due to OS release cycles
and conservatism about moving to newer compilers, systems that can't
fairly be called crufty have < 4.8, even though 4.8.1 has been out 2.5
years.  All that said, it's clear that the issues are about any program
in C++11, and not about osm2pgsql in particular.  Hence I will withdraw
my trouble report, because it's clear what I should do to build on a
system with gcc 4.5.

Thanks for the help; I quickly came to understand the real issues from
all the helpful comments.



---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460#issuecomment-150937201
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151025/d6dc190b/attachment.html>


More information about the Tile-serving mailing list