run button started working again, still cant figure out how to get the window to appear when using neofetch. Dunno why output is acting weird with cmake when it works just fine with a bash compile setup.
this is what the code currently is
it should theoretically create a window that is just filled with a pure white colour, but its not making a window at all.
Heres an example of what should be appearing (from a separate project where I’ve been working on a game engine using the same library)
I wanted to use CMake for this because the process of compiling and linking .so files is a lot easier than using pure clang, which comes with a lot of frustrations. (a recent example is when I tried using SDL mixer, which is separate from SDL, and the compiler couldn’t find the definitions to functions because it couldn’t link the library properly)
Dunno why bash & cmake templates don’t function the same when it comes to graphical programs (especially when bash isn’t even related to c++), very weird.
autotools will usually take away headaches from compilers (you just pass library compiler and linker flags that pkg-config provides to it and tell it what source files you want it to create binaries from)
I believe that bug report was one of many related to graphical programs not working, which was because of a temporary issue with Replit’s VNC output window or something along those lines.