IridescentRose / QuickGame

Simple PSP Graphics/Games Library
MIT License
34 stars 3 forks source link

psp-cmake #5

Closed nikmes closed 2 years ago

nikmes commented 2 years ago

Hi, After installing https://darksectordds.github.io/html/MinimalistPSPSDK/index.html I am missing psp-cmake from the binaries. Any idea if i can find psp-cmake for windows or should i create manually a Makefile to build your QuickGame source?

Regards

IridescentRose commented 2 years ago

Check the more up to date versions: https://github.com/pspdev/pspdev/releases

nikmes commented 2 years ago

Thanks. I am on Windows, those are distributable to build on Linux

IridescentRose commented 2 years ago

Use WSL

nikmes commented 2 years ago

I checked out https://github.com/pspdev/pspdev and mange to install on WSL. Now when I try psp-cmake on QuickGame (that i cloned) i get nikmes@DESKTOP-EN5F0UC:~/QuickGame$ make

[  4%] Building C object CMakeFiles/STBI.dir/stbi/stbi.c.obj
[  8%] Linking C static library libSTBI.a
[  8%] Built target STBI
[ 12%] Building C object CMakeFiles/QuickGame.dir/src/Audio.c.obj
[ 16%] Building C object CMakeFiles/QuickGame.dir/src/GraphicsContext.c.obj
[ 20%] Building C object CMakeFiles/QuickGame.dir/src/Input.c.obj
[ 25%] Building C object CMakeFiles/QuickGame.dir/src/Primitive.c.obj
[ 29%] Building C object CMakeFiles/QuickGame.dir/src/QuickGame.c.obj
[ 33%] Building C object CMakeFiles/QuickGame.dir/src/Sprite.c.obj
[ 37%] Building C object CMakeFiles/QuickGame.dir/src/Texture.c.obj
[ 41%] Building C object CMakeFiles/QuickGame.dir/src/Tilemap.c.obj
[ 45%] Building C object CMakeFiles/QuickGame.dir/src/Timer.c.obj
[ 50%] Building C object CMakeFiles/QuickGame.dir/src/osl_sound/VirtualFile.c.obj
[ 54%] Building C object CMakeFiles/QuickGame.dir/src/osl_sound/audio.c.obj
[ 58%] Building C object CMakeFiles/QuickGame.dir/src/osl_sound/bgm.c.obj
[ 62%] Building C object CMakeFiles/QuickGame.dir/src/osl_sound/media.c.obj
[ 66%] Building C object CMakeFiles/QuickGame.dir/src/osl_sound/pgeWav.c.obj
[ 70%] Building C object CMakeFiles/QuickGame.dir/src/osl_sound/vfsFile.c.obj
[ 75%] Linking C static library libQuickGame.a
[ 75%] Built target QuickGame
[ 79%] Building C object CMakeFiles/interpreter.dir/interpreter/main.c.obj
[ 83%] Building C object CMakeFiles/interpreter.dir/interpreter/graphics.c.obj
[ 87%] Building C object CMakeFiles/interpreter.dir/interpreter/input.c.obj
[ 91%] Building C object CMakeFiles/interpreter.dir/interpreter/audio.c.obj
[ 95%] Building C object CMakeFiles/interpreter.dir/interpreter/sprite.c.obj
[100%] Linking C executable interpreter
/usr/local/pspdev/lib/gcc/psp/11.2.0/../../../../psp/bin/ld: cannot open output file interpreter: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/interpreter.dir/build.make:163: interpreter] Error 1
make[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/interpreter.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
nikmes@DESKTOP-EN5F0UC:~/QuickGame$
IridescentRose commented 2 years ago

Your application should still be fine

nikmes commented 2 years ago

Yes i manage to compile the samples.

IridescentRose commented 2 years ago

I'll take a look at why the interpreter cmake causes this issue for some people.