You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to build on alpine linux. cmake .. didn't produce miracle-wm binary. I tried using these commands instead :
$ cmake -B build
$ cmake --build build
Then I got these error messages :
8%] Building CXX object CMakeFiles/miracle-wm.dir/src/window_tree.cpp.o
/home/lidg/cmp/miracle-wm/src/window_tree.cpp: In member function 'void miracle::WindowTree::_handle_resize_request(const std::shared_ptr<miracle::Node>&, miracle::Direction, int)':
/home/lidg/cmp/miracle-wm/src/window_tree.cpp:548:38: error: 'floorf32' was not declared in this scope; did you mean 'floorf'?
548 | int height_for_others = (int)floorf32(-(float)resize_amount / static_cast<float>(nodes.size() - 1));
| ^~~~~~~~
| floorf
gmake[2]: *** [CMakeFiles/miracle-wm.dir/build.make:104: CMakeFiles/miracle-wm.dir/src/window_tree.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/miracle-wm.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
Any clue to fix it ?
Also I need to comment main.cpp at line 60, if I don't I will get this error :
Hello, I'm trying to build on alpine linux.
cmake ..
didn't produce miracle-wm binary. I tried using these commands instead :Then I got these error messages :
Any clue to fix it ?
Also I need to comment
main.cpp
at line 60, if I don't I will get this error :The text was updated successfully, but these errors were encountered: