gorbatschow / imosmdemo Goto Github PK
View Code? Open in Web Editor NEWRenders OpenStreetMap in ImGui window
License: MIT License
Renders OpenStreetMap in ImGui window
License: MIT License
when compiling, the compiler will throw an error:
g++ main.cpp -o main -std=c++20 D:\MinGW64\home\38097\Test\ImOsmDemo\external\imgui\imgui*.cpp D:\MinGW64\home\38097\Test\ImOsmDemo\external\imgui\backends\imgui_impl_glfw.cpp D:\MinGW64\home\38097\Test\ImOsmDemo\external\imgui\backends\imgui_impl_opengl3.cpp -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\imgui\backends -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\imgui -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\imapp -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\imosm -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\imosm\include -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\implot -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\imwrap -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\imwrap\include -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\latlon -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\imfonts -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\mini\src\mini -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\stb -ID:\MinGW64\home\38097\Test\ImOsmDemo\external\glfw\include\GLFW -lglfw3 -lopenGL32
In file included from D:\MinGW64\home\38097\Test\ImOsmDemo\external\imosm/imosm.h:7,
from ImOsmDemoApp.h:3,
from main.cpp:1:
D:\MinGW64\home\38097\Test\ImOsmDemo\external\imosm\include/ImOsmTile.h:14:23: error: conflicting return type specified for 'virtual std::size_t ImOsm::Tile::rawBlobSize() const'
14 | virtual std::size_t rawBlobSize() const override;
| ^~~~~~~~~~~
In file included from D:\MinGW64\home\38097\Test\ImOsmDemo\external\imosm\include/ImOsmTile.h:2:
D:\MinGW64\home\38097\Test\ImOsmDemo\external\imosm\include/ImOsmTileDummy.h:29:18: note: overridden function is 'virtual ImOsm::size_t ImOsm::TileDummy::rawBlobSize() const'
29 | virtual size_t rawBlobSize() const override { return 0; }
| ^~~~~~~~~~~
D:\MinGW64\home\38097\Test\ImOsmDemo\external\imosm\include/ImOsmTile.h:17:23: error: conflicting return type specified for 'virtual std::size_t ImOsm::Tile::rgbaBlobSize() const'
17 | virtual std::size_t rgbaBlobSize() const override;
| ^~~~~~~~~~~~
D:\MinGW64\home\38097\Test\ImOsmDemo\external\imosm\include/ImOsmTileDummy.h:33:18: note: overridden function is 'virtual ImOsm::size_t ImOsm::TileDummy::rgbaBlobSize() const'
33 | virtual size_t rgbaBlobSize() const override { return 0; }
can you help?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.