Comments (4)
Looks like the stackoverflow question you link to is the right one. To confirm can you change osmium/index/map/vector.hpp:112 to typedef TVector<element_type, std::allocator<element_type>> vector_type;
?
This could make serdump.hpp
compile but will blow up in other cases, so it is no fix.
from libosmium.
Replacing helped! No other errors are caused on Windows.
alex85k@dfca41a
(not sure about other OSes and usage cases)
from libosmium.
Can you try a different workaround instead of the one above?
In osmium/index/map/stl_vector.hpp
line 49: add
template <typename T>
using MyVector = std::vector<T>;
and then use MyVector
instead of std::vector
:
using SparseMapMem = VectorBasedSparseMap<TId, TValue, MyVector>;
from libosmium.
Yes, that helps but errors in multimap remains:
D:\build_d\libosmium2\include\osmium/index/multimap/vector.hpp(55): error C2976: 'std::vector' : too few template arguments [D:\build_d\libosmium2\build-cmake\examples\osmium_serdump.vcxproj]
P.S. Applied analogous fix, it helped alex85k@00c2504
from libosmium.
Related Issues (20)
- opl parsing issue HOT 2
- o5m parser issue HOT 2
- o5m parser issue, part 2 HOT 3
- Anychance to have a C interface ? HOT 1
- ctest failing on newly compiled code HOT 1
- Please reconsider the fadvise() usage HOT 3
- Increase maximimum integers in opl_parser_functions.hpp HOT 4
- Lots of warnings after #5d50405 in VS2019 HOT 5
- Unable to compile with c++20 when using precompiled binaries HOT 8
- Failing to compile libosmium: 'protozero/types.hpp' file not found HOT 5
- Incorrect proj usage HOT 1
- libosmium no longer successfully builds after `v2.17.1` on CentOS 7 HOT 2
- Need help, how to add altitude to libosmium HOT 2
- Missing prepare_for_lookup in test_members_database.cpp HOT 1
- heads-up: PROJ_LIB is now deprecated (use PROJ_DATA instead)
- io_test_bzip2 fails on Alpine Linux HOT 3
- AppVeyor builds fail due to missing LZ4 HOT 5
- Print offending string in PBF-Decoder
- installation make error HOT 2
- Does libosmium work with MacOS (M series chip)
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 libosmium.