Comments (5)
The problem is that -I/opt/osm/include
is not appearing in your compile flags. I'm not familiar personally with mod_tile's build system enough to know why that is. You might be able to do:
export CFLAGS="-I/opt/osm/include"
before trying to build to solve this.
from mod_tile.
i think you're my hero for today ;)
for others who might have the same problem compiling mod_tile:
./configure --with-boost=/opt/boost/ --with-libmapnik=/opt/osm/bin/mapnik-config CXXFLAGS="-I/opt/osm/include"
from mod_tile.
even better (mod_tile really should be doing this):
./configure CXXFLAGS=`mapnik-config --includes`
from mod_tile.
This is from memory, so I might be entirely wrong. But I think the issue was that mapnik-config
in some version added a bunch of extra compiler flags that broke builds. Which is (if I remember correctly) why this was left out.
from mod_tile.
@apmon - 23be036. The problem was that the CXX specific flags were also being added to the targets than need to be compiled as C. The solution is to fix the mod_tile build system so that CXXFLAGS and CFLAGS are handled separately and applied to the right targets. Or at least this is the only solution if mapnik-config --cflags
is used. mapnik-config --cflags
specifically is a catch all for all compiler flags and to make this more flexible at Mapnik v.2.2.0 you now have access to each type of flag like mapnik-config --includes
for just the include paths for all mapnik dependencies (some of which are C like freetype and C++ like boost) and mapnik-config --defines
for just -DEFINES.
from mod_tile.
Related Issues (20)
- CPU/IO not fully utilized when under heavy load HOT 8
- Can not find renderd.init after compilation HOT 1
- Example TCP socket conf ignored HOT 2
- Read-Only File System on Mac (/usr/bin is write protected) HOT 2
- sudo renderd -f -c /etc/renderd.conf HOT 4
- `render_list` not using all cores HOT 9
- Add ability to automatically use all available cores for `renderd`
- Documentation clarity HOT 2
- Config: more than 10 configurations found HOT 8
- render_list multi threading is not working, it seems HOT 13
- 0.7.1 Lost leading "/" from "/var/cache/renderd/tiles" HOT 4
- Munin mod_tile_* hardcoded URL HOT 5
- render_list just sitting idle HOT 7
- Tiny typo HOT 2
- getting blank tile while using mod_tile with mapnik to serve geotiff file HOT 7
- [centos7 container image] mod_tile gives "no datasource plugin directories have been successfully registered" HOT 4
- Dirty tiles cached for 7 days HOT 4
- Examine memory usage for potential leaks HOT 9
- Document that JIT should be avoided on tileservers HOT 1
- Expire using metatiles zoom levels? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mod_tile.