oops, beru zpět, řešení je v diskusi K.
Dne St 8. července 2009 Karel Volný napsal(a): > zdravím, > > (ad rendering pro OpenTrackMap) > tak jsem na to konečně trošku kouknul ... a mám zásek :-( > > > Pokud byste ten rendering rozjížděl, tak budete potřebovat PostgreSQL, > > PostGIS, Mapnik 0.6, osm2pgsql, demtools a SRTM data z [3]. Další > > informace můžu poskytnout přes Jabber a případně Vám můžu poslat > > shapefile se souřadnicemi a GeoTIFF se stínovou mapou. > > nedaří se mi zkompilovat demtools - > > $ make compile > Demtools compilation ... > g++ hillshade.cpp -lgdal -o bin/hillshade > g++ color-relief.cpp -lgdal -o bin/color-relief > In file included from color-relief.cpp:35: > stringtok.h:10: error: ‘string’ has not been declared > stringtok.h: In function ‘void stringtok(Container&, const int&, const > char*)’: > stringtok.h:13: error: ‘string’ has not been declared > stringtok.h:13: error: expected initializer before ‘len’ > stringtok.h:14: error: ‘string’ has not been declared > stringtok.h:14: error: expected `;' before ‘i’ > stringtok.h:16: error: ‘i’ was not declared in this scope > stringtok.h:16: error: ‘len’ was not declared in this scope > stringtok.h:19: error: request for member ‘find_first_not_of’ in ‘in’, > which is of non-class type ‘const int’ > stringtok.h:20: error: ‘string’ has not been declared > stringtok.h:24: error: ‘string’ has not been declared > stringtok.h:24: error: expected `;' before ‘j’ > stringtok.h:27: error: ‘j’ was not declared in this scope > stringtok.h:27: error: ‘string’ has not been declared > stringtok.h:28: error: request for member ‘substr’ in ‘in’, which is of > non- class type ‘const int’ > stringtok.h:31: error: request for member ‘substr’ in ‘in’, which is of > non- class type ‘const int’ > stringtok.h:34: error: ‘j’ was not declared in this scope > color-relief.cpp: In function ‘void ReadColorScale(const std::string&)’: > color-relief.cpp:85: error: no matching function for call to > ‘stringtok(std::list<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::allocator<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > > >&, std::string&, const > char [2])’ > make: *** [compile] Error 1 > > > ... nějaké rady/nápady? > > jaktože ‘string’ has not been declared když #include <string>? > > K. > > _______________________________________________ > Talk-cz mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/talk-cz _______________________________________________ Talk-cz mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-cz

