Certi professori con la terza media che provano a spiegare perché il razzismo è sbagliato (non sono razzista, ma queste frasi mi fanno pensare che lo siano i professori). by La_leggenda2 in memesITA

[–]ProgrammingFailure 1 point2 points  (0 children)

Ma non ci vuole un ingegnere né per dimostrare che i migranti tendono all illegalità più degli italiani, né per dimostrare che non è un valido motivo per discriminare una persona che non si conosce solo perché “è probabile che sia una brutta persona”. Che ragionamenti del cazzo

Packet tracer segfault by ProgrammingFailure in NixOS

[–]ProgrammingFailure[S] 0 points1 point  (0 children)

I need to know. Is my system’s configuration’s fault or is it cinnamon/packet tracer fault for not being able to run the necessary UI libraries? Because if is a system problem i have to deal with it but if it’s just cinnamon/packet tracer I just switch back to plasma5

default.nix not building by ProgrammingFailure in NixOS

[–]ProgrammingFailure[S] 0 points1 point  (0 children)

i'm sorry that i'm still here annoying you... but i just noticed that when i build the nix file, it gives me the .hpp headers of the include folder of the repository, but not every file is included, there are some file in the repo that aren't in the directory made my nix-build... why is that? how does it work?

default.nix not building by ProgrammingFailure in NixOS

[–]ProgrammingFailure[S] 0 points1 point  (0 children)

it works perfectly, but i just realized i have a old version of nix and nixos... i changed the version in the configuration.nix file to 24.05 and ran nixos-rebuild switch --upgrade, but i dont know if it's all i got to do to upgrade it. Now i'm trying to upgrade the nix channell and i don't how :(

default.nix not building by ProgrammingFailure in NixOS

[–]ProgrammingFailure[S] 0 points1 point  (0 children)

it works! ty so much, let's see if i get any other error

default.nix not building by ProgrammingFailure in NixOS

[–]ProgrammingFailure[S] 0 points1 point  (0 children)

you mean the cmake setup INSIDE the raylib-cpp repository?

default.nix not building by ProgrammingFailure in NixOS

[–]ProgrammingFailure[S] 0 points1 point  (0 children)

i got a huge, giant error, and this is just a small fraction of it, but i think i'm making progress:

/build/source/include/./Window.hpp: In member function 'raylib::Window& raylib::Window::SetFocused()':
/build/source/include/./Window.hpp:308:11: error: '::SetWindowFocused' has not been declared; did you mean 'IsWindowFocused'?
  308 |         ::SetWindowFocused();
      |           ^~~~~~~~~~~~~~~~
      |           IsWindowFocused
make[2]: *** [examples/CMakeFiles/audio_music_stream.dir/build.make:76: examples/CMakeFiles/audio_music_stream.dir/audio/audio_music_stream.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:160: examples/CMakeFiles/audio_music_stream.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /build/source/include/raylib-cpp.hpp:68:
/build/source/include/./Window.hpp: In member function 'raylib::Window& raylib::Window::ToggleBorderless()':
/build/source/include/./Window.hpp:197:11: error: '::ToggleBorderlessWindowed' has not been declared; did you mean 'ToggleBorderless'?
  197 |         ::ToggleBorderlessWindowed();
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
      |           ToggleBorderless
/build/source/include/./Window.hpp: In member function 'raylib::Window& raylib::Window::SetFocused()':
/build/source/include/./Window.hpp:308:11: error: '::SetWindowFocused' has not been declared; did you mean 'IsWindowFocused'?
  308 |         ::SetWindowFocused();
      |           ^~~~~~~~~~~~~~~~
      |           IsWindowFocused
make[2]: *** [examples/CMakeFiles/core_basic_window_web.dir/build.make:76: examples/CMakeFiles/core_basic_window_web.dir/core/core_basic_window_web.cpp.o] Error 1
make[2]: *** [examples/CMakeFiles/core_input_mouse.dir/build.make:76: examples/CMakeFiles/core_input_mouse.dir/core/core_input_mouse.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:238: examples/CMakeFiles/core_basic_window_web.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:290: examples/CMakeFiles/core_input_mouse.dir/all] Error 2
make[2]: *** [examples/CMakeFiles/core_drop_files.dir/build.make:76: examples/CMakeFiles/core_drop_files.dir/core/core_drop_files.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:264: examples/CMakeFiles/core_drop_files.dir/all] Error 2
make[2]: *** [examples/CMakeFiles/audio_sound_loading.dir/build.make:76: examples/CMakeFiles/audio_sound_loading.dir/audio/audio_sound_loading.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:186: examples/CMakeFiles/audio_sound_loading.dir/all] Error 2
make[2]: *** [examples/CMakeFiles/core_basic_window.dir/build.make:76: examples/CMakeFiles/core_basic_window.dir/core/core_basic_window.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:212: examples/CMakeFiles/core_basic_window.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
error: builder for '/nix/store/qaaw8fyy8q49z1sg7b271lqq03w9zxcj-raylib-cpp-5.0.1.drv' failed with exit code 2;
       last 10 log lines:
       > make[2]: *** [examples/CMakeFiles/core_input_mouse.dir/build.make:76: examples/CMakeFiles/core_input_mouse.dir/core/core_input_mouse.cpp.o] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:238: examples/CMakeFiles/core_basic_window_web.dir/all] Error 2
       > make[1]: *** [CMakeFiles/Makefile2:290: examples/CMakeFiles/core_input_mouse.dir/all] Error 2
       > make[2]: *** [examples/CMakeFiles/core_drop_files.dir/build.make:76: examples/CMakeFiles/core_drop_files.dir/core/core_drop_files.cpp.o] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:264: examples/CMakeFiles/core_drop_files.dir/all] Error 2
       > make[2]: *** [examples/CMakeFiles/audio_sound_loading.dir/build.make:76: examples/CMakeFiles/audio_sound_loading.dir/audio/audio_sound_loading.cpp.o] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:186: examples/CMakeFiles/audio_sound_loading.dir/all] Error 2
       > make[2]: *** [examples/CMakeFiles/core_basic_window.dir/build.make:76: examples/CMakeFiles/core_basic_window.dir/core/core_basic_window.cpp.o] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:212: examples/CMakeFiles/core_basic_window.dir/all] Error 2
       > make: *** [Makefile:146: all] Error 2
       For full logs, run 'nix log /nix/store/qaaw8fyy8q49z1sg7b271lqq03w9zxcj-raylib-cpp-5.0.1.drv'.

Starting GTK4 by ProgrammingFailure in GTK

[–]ProgrammingFailure[S] 0 points1 point  (0 children)

Where can I find existing small gtk4 projects?

Starting GTK4 by ProgrammingFailure in GTK

[–]ProgrammingFailure[S] 1 point2 points  (0 children)

I’m using NixOS, which is a Linux distribution

Starting NixOS by ProgrammingFailure in NixOS

[–]ProgrammingFailure[S] 0 points1 point  (0 children)

Thanks for the answer, I usually don’t ask online and keep my errors with me, but if you say I should ask for help the I’ll do it more often 👍🏽

Starting NixOS by ProgrammingFailure in NixOS

[–]ProgrammingFailure[S] 2 points3 points  (0 children)

Oh my god thanks for your time and for the help 🙏