Comments (8)
errors
Error call to non-static member function without an object argument Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1344
Error call to non-static member function without an object argument Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1339
Error call to non-static member function without an object argument Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1269
Error call to non-static member function without an object argument Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1922
Error call to non-static member function without an object argument Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1269
Error call to non-static member function without an object argument Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1964
Error call to non-static member function without an object argument Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 2021
Error cannot initialize object parameter of type 'const std::equal_toRml::Core::Character' with an expression of type 'const robin_hood::detail::Table<true, 80, Rml::Core::Character, Rml::Core::FontGlyph, robin_hood::hashRml::Core::Character, std::equal_toRml::Core::Character >' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1339
Error cannot initialize object parameter of type 'const std::equal_toRml::Core::Character' with an expression of type 'const robin_hood::detail::Table<true, 80, Rml::Core::Character, Rml::Core::FontGlyph, robin_hood::hashRml::Core::Character, std::equal_toRml::Core::Character >' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1344
Error implicit instantiation of undefined template 'std::hashRml::Core::Character' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 747
Error implicit instantiation of undefined template 'std::hashRml::Core::Character' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 747
Error implicit instantiation of undefined template 'std::hashRml::Core::Character' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 747
Error implicit instantiation of undefined template 'std::hashRml::Core::Character' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 747
Error implicit instantiation of undefined template 'std::hashRml::Core::Character' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 747
Error no matching member function for call to 'keyToIdx' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1958
Error no matching member function for call to 'keyToIdx' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 2016
Error no member named 'align' in namespace 'std' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Source\Core\Memory.h 66
Error no member named 'align' in namespace 'std' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Source\Core\Memory.h 66
Error no member named 'operator()' in 'robin_hood::detail::WrapHash<robin_hood::hashRml::Core::Character >' Library_RmlUi (Android\01_Library\Library_RmlUi) C:\dev\c\MMDAgent-1.4\Library_RmlUi\Include\RmlUi\Core\Containers\robin_hood.h 1269
from rmlui.
ndk is std::align not supported
https://stackoverflow.com/questions/27064791/stdalign-not-supported-by-g4-9
fix plan
./Include/RmlUi/Core/Types.h
namespace std { inline void* align(std::size_t alignment, std::size_t size, void*& ptr, std::size_t& space) { std::uintptr_t pn = reinterpret_cast<std::uintptr_t>(ptr); std::uintptr_t aligned = (pn + alignment - 1) & -alignment; std::size_t padding = aligned - pn; if (space < size + padding) return nullptr; space -= padding; return ptr = reinterpret_cast<void*>(aligned); } }
from rmlui.
std::hash<::Rml::Core::Character> need add.
Now the build passes.
``
namespace std {
// Hash specialization for enum class types (required on some older compilers)
template <> struct hash<::Rml::Core::PropertyId> {
using utype = typename ::std::underlying_type<::Rml::Core::PropertyId>::type;
size_t operator() (const ::Rml::Core::PropertyId& t) const { ::std::hash h; return h(static_cast(t)); }
};
template <> struct hash<::Rml::Core::Character> {
using utype = typename ::std::underlying_type<::Rml::Core::Character>::type;
size_t operator() (const ::Rml::Core::Character& t) const { ::std::hash h; return h(static_cast(t)); }
};
inline void* align(std::size_t alignment, std::size_t size,
void*& ptr, std::size_t& space) {
std::uintptr_t pn = reinterpret_caststd::uintptr_t(ptr);
std::uintptr_t aligned = (pn + alignment - 1) & -alignment;
std::size_t padding = aligned - pn;
if (space < size + padding) return nullptr;
space -= padding;
return ptr = reinterpret_cast<void*>(aligned);
}
}
``
from rmlui.
Isn't gnustl_static deprecated in favor of c++_static?
from rmlui.
In my project, I built using gnustl_static because c ++ _ static did not have enough functions to build.
from rmlui.
I'm unable to test this, so please let me know if it works :)
from rmlui.
Build was OK.
Thank you for the fix!
from rmlui.
Great!
from rmlui.
Related Issues (20)
- Get the ElementText rectangle or bounding box when the layout calculation is complete HOT 3
- Does RmlUI have plans to support dotte/dashed borders style? HOT 2
- Using glEnable(GL_DEPTH_TEST) when using GL3 renderer and SDL platform results in blank screen. HOT 1
- open a link in the web browser? HOT 2
- source code of a game in the rmlui's galery HOT 4
- Nothing renders and app crashes with a minimum example of RmlUI, SDL2, Glad, OpenGL4.6 HOT 3
- Current HarfBuzz sample is not able to render emojis HOT 6
- Document window failed to auto scale after moving HOT 2
- Flex formatting context triggered unexpected assert initial_box_size.y < 0 HOT 2
- Debugging modal documents HOT 4
- nth-child(odd) gets confused by data-if (RmlUi 5.1) HOT 4
- Textures leaked during shutdown HOT 3
- Child doesn't get clipped if width/height is 100% HOT 4
- TranslateX doesn't change the div width HOT 3
- Scroll continuously reverts to the top when another element on the document is updated HOT 5
- Hitting assert in `ContainerBox::CatchOverflow` HOT 5
- Growing element with flex-grow: 1 breaks layouting of other items HOT 1
- add RLMUI prefix to BUILD_SHARED_LIBS HOT 3
- Backend namespace should be inside the Rml namespace HOT 3
- Selectable text outside of inputs/textareas HOT 5
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 rmlui.