Closed m4x10187 closed 10 months ago
Compiling the source code brings up an error, complaining about "zlib.h" not existing.
emily@emily-virtual-machine:~/swiss-gc$ make Building on make[1]: Entering directory '/home/emily/swiss-gc/cube/patches' make[1]: Leaving directory '/home/emily/swiss-gc/cube/patches' make[1]: Entering directory '/home/emily/swiss-gc/cube/swiss' clean ... make[1]: Leaving directory '/home/emily/swiss-gc/cube/swiss' make[1]: Entering directory '/home/emily/swiss-gc/cube/packer' clean ... make[1]: Leaving directory '/home/emily/swiss-gc/cube/packer' make[1]: Entering directory '/home/emily/swiss-gc/pc/usbgecko' make[1]: Leaving directory '/home/emily/swiss-gc/pc/usbgecko' make[1]: Entering directory '/home/emily/swiss-gc/cube/patches' Building Codehandler ... Building C Patches ... Building Reboot ... Building Stub ... Building SD Patch ... Building SD Patch + CARD ... Building SD Patch + DTK ... Building IDE-EXI-v1 Patch ... Building IDE-EXI-v1 Patch + CARD ... Building IDE-EXI-v1 Patch + DTK ... Building IDE-EXI-v2 Patch ... Building IDE-EXI-v2 Patch + CARD ... Building IDE-EXI-v2 Patch + DTK ... Building DVD Patch ... Building DVD Patch + CARD ... Building USBGecko Patch ... Building WKF Patch ... Building WKF Patch + CARD ... Building WKF Patch + DTK ... Building FSP Patch ... Building FSP Patch + DTK ... Building FSP Patch + ETH ... Building GCLoader-v1 Patch ... Building GCLoader-v1 Patch + CARD ... Building GCLoader-v2 Patch ... Building GCLoader-v2 Patch + CARD ... make[1]: Leaving directory '/home/emily/swiss-gc/cube/patches' make[1]: Entering directory '/home/emily/swiss-gc/cube/swiss' Current Directory /home/emily/swiss-gc/cube/swiss GIT Revision 5f3f8e19 images.scf images.tpl buttons.scf buttons.tpl bba.c elf.c exi.c files.c gameid.c gcm.c httpd.c input.c main.c mcp.c mp3.c nkit.c patcher.c /home/emily/swiss-gc/cube/swiss/source/patcher.c:13:10: fatal error: zlib.h: No such file or directory 13 | #include <zlib.h> | ^~~~~~~~ compilation terminated. make[2]: *** [/opt/devkitpro/devkitPPC//base_rules:21: patcher.o] Error 1 rm images.tpl buttons.tpl make[1]: *** [Makefile:145: build] Error 2 make[1]: Leaving directory '/home/emily/swiss-gc/cube/swiss' make: *** [Makefile:57: compile] Error 2
No response
pacman -S ppc-zlib
That actually worked. You need to use sudo dkp-pacman -S ppc-zlib instead of pacman -S ppc-zlib. Once again thanks for helping out.
sudo dkp-pacman -S ppc-zlib
Describe your question
Compiling the source code brings up an error, complaining about "zlib.h" not existing.
Add screenshots
No response