mahilab / mahi-util Goto Github PK
View Code? Open in Web Editor NEWUtility classes and common functionality use by the mahi-lib ecosystem
License: Other
Utility classes and common functionality use by the mahi-lib ecosystem
License: Other
I get the following error:
/home/joey/work/mahi-util/src/Mahi/Util/System.cpp:21:10: fatal error: sys/sysctl.h: No such file or directory
21 | #include <sys/sysctl.h>
| ^~~~~~~~~~~~~~
Simply removing the line, seems to build fine.
If there was no key pressed, get_key_nb()
returns 0
. But pressing Enter returns the KEY_ESC
enum, which is also 0. We could either:
get_key_nb()
and get_ch_nb()
to be -1
0
enum to be something like KEY_NO_INPUT
so that they result in the same thingBuilding on MacOS yields:
...
[ 50%] Building CXX object CMakeFiles/gui.dir/src/Mahi/Gui/Native.cpp.o
/Users/mark/dev/mark/sfs/gui/build/_deps/mahi-gui-src/src/Mahi/Gui/Native.cpp:25:10: fatal error: 'filesystem' file not found
#include <filesystem>
I was able to figure out that this relates to the Native dialogs and also the <filesystem>
header is not available in my environment. I have been able to work around this (for now) by disabling the native dialogs. Ideally CMake should be finding my <filesystem>
headers (I think they're there); I also noticed that it's set to use C++14 but <filesystem>
is a C++17 thing (I think).
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.