Comments (4)
from hypr.
Also: openucx/ucx#334
from hypr.
Building from 855ef84 instead of 1.1.3 release, I get this error:
[ 38%] Building CXX object CMakeFiles/Hypr.dir/src/helpers/Vector.cpp.o
/opt/local/bin/g++-mp-13 -isystem /opt/local/include/gtkmm-3.0 -isystem /opt/local/lib/gtkmm-3.0/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-3.0/unix-print -isystem /opt/local/include/gdkmm-3.0 -isystem /opt/local/lib/gdkmm-3.0/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/gtk-3.0 -isystem /opt/local/include/at-spi2-atk/2.0 -isystem /opt/local/include/at-spi-2.0 -isystem /opt/local/include -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/cairo -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/freetype2 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.6 -std=c++17 -Wall -Wextra -MD -MT CMakeFiles/Hypr.dir/src/helpers/Vector.cpp.o -MF CMakeFiles/Hypr.dir/src/helpers/Vector.cpp.o.d -o CMakeFiles/Hypr.dir/src/helpers/Vector.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_x11_Hypr/Hypr/work/Hypr-855ef848fe0aded503b4100e734e58a3b872a91f/src/helpers/Vector.cpp
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_x11_Hypr/Hypr/work/Hypr-855ef848fe0aded503b4100e734e58a3b872a91f/src/helpers/Vector.cpp: In member function 'double Vector2D::normalize()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_x11_Hypr/Hypr/work/Hypr-855ef848fe0aded503b4100e734e58a3b872a91f/src/helpers/Vector.cpp:13:22: error: 'abs' was not declared in this scope; did you mean 'fabs'?
13 | const auto max = abs(x) > abs(y) ? abs(x) : abs(y);
| ^~~
| fabs
make[2]: *** [CMakeFiles/Hypr.dir/src/helpers/Vector.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 44%] Building CXX object CMakeFiles/Hypr.dir/src/ipc/ipc.cpp.o
from hypr.
Then, at least recent Clang need the following flag, otherwise build fails:
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_x11_Hypr/Hypr/work/Hypr-855ef848fe0aded503b4100e734e58a3b872a91f/src/bar/Bar.cpp:594:90: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
uint32_t values[] = {(int)(position.x + (i * (ELEMENTWIDTH + PAD)) + PAD / 2.f), (int)position.y + 1, (int)XCB_STACK_MODE_ABOVE};
^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_x11_Hypr/Hypr/work/Hypr-855ef848fe0aded503b4100e734e58a3b872a91f/src/bar/Bar.cpp:594:90: note: insert an explicit cast to silence this issue
uint32_t values[] = {(int)(position.x + (i * (ELEMENTWIDTH + PAD)) + PAD / 2.f), (int)position.y + 1, (int)XCB_STACK_MODE_ABOVE};
^~~~~~~~~~~~~~~~~~~
static_cast<uint32_t>( )
from hypr.
Related Issues (20)
- Binding workspaces to a monitor HOT 4
- Not able to compile Hypr HOT 4
- is this project dead? HOT 1
- hypr.desktop problem HOT 1
- Build Documentation in Wiki: Fedora Dependecy install is missing 'dnf install' or 'yum install' HOT 1
- The top layer not used for waybar: it always goes to the bottom layer HOT 3
- Keybindings Stop working after sometime of using the wm HOT 2
- Make hypr and hyprland config files compatible with each other HOT 1
- EWMH window activation workspace off by one
- Hypr fails to compile on 32-bit Alpine Linux 3.18 HOT 2
- Touchpad config HOT 1
- Is Hypr a new X11 window manager? Can I use it? HOT 2
- Black background HOT 1
- move to nextworkspace and prevworkspace HOT 1
- hyprctl Not Found in the Terminal HOT 1
- Nothing in the Wiki about logging out HOT 9
- Enhance install instructions for new users.
- Possible to make a new release? HOT 2
- Keyboard Layout Configuration and Switching HOT 9
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 hypr.