sdlmame0.129u4在本人笔记本电脑的Linux平台运行良好,同时自己很想在Windows平台上面也使用这个模拟器,到了MAME官方网站上面下载编译工具并进行测试;顺利编译了Windows上面的MAME0.129u4,想使用同样的方法来编译sdlmame0.129u4,到sdlmame的官方网站上面下载了最新版的sdlmame0.129u4的源码。
下面是我使用的批处理文件:
@echo off
set path=%PATH%;.\bin
mingw32-make
exit
然后出现了错误信息
Compiling src/emu/cpu/m68000/m68kmake.c...
gcc: `sdl-config: No such file or directory
gcc: `pkg-config: No such file or directory
gcc: gtk+-2.0`: No such file or directory
gcc: `pkg-config: No such file or directory
gcc: gconf-2.0`: No such file or directory
cc1.exe: error: unrecognized command line option "-fcflags`"
cc1.exe: error: unrecognized command line option "-fcflags"
cc1.exe: error: unrecognized command line option "-fcflags"
mingw32-make: *** [obj/sdl/mame/emu/cpu/m68000/m68kmake.o] Error 1
到网上找了一些东西之后,又将原来的编译命令改为
@echo off
set path=%PATH%;.\bin
mingw32-make TARGET=win32
exit
但是,还是得到了错误,只不过不同:
makefile:480: src/win32/win32.mak: No such file or directory
mingw32-make: *** No rule to make target `src/win32/win32.mak'. Stop.
恳请大家帮帮忙,看看如何来编译呢?
谢谢了。
虚心请教,如何在Windows平台上面编译最新版的sdlmame?
- parry_all
- 帖子: 732
- 注册时间: 2008-07-01 9:53
- 来自: Dunedin, New Zealand
- 吴广德
- 帖子: 347
- 注册时间: 2006-10-26 9:24
- 系统: Ubuntu 18.04 LTS
- 来自: 中国-广西-南宁
Re: 虚心请教,如何在Windows平台上面编译最新版的sdlmame?
......下回来的文件里没有叫readme的? 

Ubuntu 18.04 LTS使用中......
主板:MSI Z97 gaming 9 ACK
CPU:I7 4790K
内存:DDR3 8G x 4 = 32G
硬盘:60G SSD(/) + 1T HD(/home)
显示器:Philips 274E5Q
主板:MSI Z97 gaming 9 ACK
CPU:I7 4790K
内存:DDR3 8G x 4 = 32G
硬盘:60G SSD(/) + 1T HD(/home)
显示器:Philips 274E5Q