Open vlcfaria opened 4 years ago
Try replacing \ with /
i've been trying to solve this without any success so i'm here begging for help, the following error comes up when i try to run the makefile on ubuntu linux, using gcc version 9.2.1
if i delete the option -mwindows, i get a fatal error because of #include
i've tried running the provided makefile on windows but that didn't work either, i'd deeply appreciate any advice
@razorescu Since you're on Linux, you need to install mingw-g++. I believe for Ubuntu, it is the g++-mingw-w64
package.
Unfortunately that didn't work.. any more ideas?
That should work, you have to set the correct CXX and WINDRES first. For example, I had
CXX := i686-w64-mingw32-g++
WINDRES := i686-w64-mingw32-windres
on the top of my Makefile.
Im trying to run makefile using gnuwin32, but the console responds like this: g++ -c -o obj/ctb.o src/ctb.cpp -DSFML_STATIC -I<C:\Users\Artixs\Desktop\bongocat-osu-1.4.3>/include -Iinclude -L<C:\Users\Artixs\Desktop\bongocat-osu-1.4.3>/lib -std=c++17 -s -O2 -mwindows -lsfml-graphics-s -lsfml-window-s -lsfml-system-s -lopengl32 -lfreetype -lwinmm -lgdi32 -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic Access is denied. make: *** [obj/ctb.o] Error 1.
I'm a complete beginner in programming and I've spent a lot of time trying to make this work, any advice?