Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling under windows for wii #108

Open
cecilmax opened this issue Mar 23, 2018 · 1 comment
Open

Error compiling under windows for wii #108

cecilmax opened this issue Mar 23, 2018 · 1 comment

Comments

@cecilmax
Copy link

static inline" -DMSB_FIRST -DPTR64 -DNDEBUG -DFLAC__NO_DLL -DNATIVE_DRC=drcbe_x64_be_interface -DDISABLE_MIDI -DGIT_VERSION="" 64627c4"" -D__LIBRETRO__ -pipe -O3 -fno-strict-aliasing -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -I./src/osd/retro/libretro-common/include -I./src/mame -Iobj/retro64/mame/layout -I./src/emu -Iobj/retro64/emu -Iobj/retro64/emu/layout -I./src/lib/util -I./src/lib -I./src/osd -I./src/osd/retro -I./src/lib/expat -I./src/lib/util -I./src/lib/libjpeg -fno-delete-null-pointer-checks -x c++ -std=gnu++98 -Woverloaded-virtual -c src/emu/hashfile.c -o obj/retro64/emu/hashfile.o
src/emu/hash.c:125:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
make: *** [obj/retro64/emu/hash.o] Error 1
make: *** Waiting for unfinished jobs....
src/emu/hashfile.c:393:13: warning: 'void preload_use_proc(hash_file*, void*, hash_info*)' defined but not used [-Wunused-function]
static void preload_use_proc(hash_file *hashfile, void *param, hash_info *hi)
^~~~~~~~~~~~~~~~
make: *** wait: No children. Stop.
cp "mame2010_libretro_wii.a" "/c/Users/Mew/Downloads/libretro-super-master/libretro-super-master/dist/wii/mame2010_libretro_wii.a"
cp: cannot stat 'mame2010_libretro_wii.a': No such file or directory
1 core(s) failed:
mame2010

@Cee123
Copy link

Cee123 commented Dec 2, 2022

I can't get it to compile for the Wii either but I got past that bit. The error you've got refers to zlib not being installed. I'd just run Ubuntu under a virtual machine. And then you can use the following:

sudo apt-get install zlib1g-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants