GithubHelp home page GithubHelp logo

Comments (16)

vadosnaprimer avatar vadosnaprimer commented on September 26, 2024

https://tasvideos.org/Forum/Topics/21778

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

Thanks for you to tell me the other Topics.
However, I guess that it is the Forum for BizHawk.

I'm asking this topics about mame-rr.

I can use mame-rr using "mame-rr-0.139-v0.1-beta".

I want to compile mame-rr from source code by my own because I want to edit input routine of source code.
(Such as
src\mame\includes\namcos1.h
src\mame\drivers\namcos1.c
)

What should I do?

from mame-rr.

vadosnaprimer avatar vadosnaprimer commented on September 26, 2024

I mean why use an old and obsolete mame-rr if you can load arcade games right into bizhawk?

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

I want to play "Beraboh Man" using "Beraboh Switch" Button.
That requires not 6-button (in normal) setting but 4-button setting,
which is validated as compile mame-rr source code
using "PRESSURE_SENSITIVE" option in
mame-rr/src/mame/drivers/namcos1.c.

from mame-rr.

vadosnaprimer avatar vadosnaprimer commented on September 26, 2024

That's unrelated to what I'm saying. Try it in bizhawk, I linked the build that has the mame core.

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

I've tried it in bizhawk.
However it seems that "Beraboh Man" working in bizhawk is 6-button setting.

Then... I think that it is possible to play "Beraboh Man" in 6-button setting by "Beraboh Switch" button in Aruduino program.

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

It seems that there Isn't no way to compile mame-rr in Windows10...

from mame-rr.

vadosnaprimer avatar vadosnaprimer commented on September 26, 2024

I want to play "Beraboh Man" using "Beraboh Switch" Button. That requires not 6-button (in normal) setting but 4-button setting, which is validated as compile mame-rr source code using "PRESSURE_SENSITIVE" option in mame-rr/src/mame/drivers/namcos1.c.

Is it possible to enable this in actual MAME without recompiling it?

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

There's no way to enable 4-button "Beraboh Man" system without recompiling.
We have to recompile source code using "PRESSURE_SENSITIVE" option.

from mame-rr.

vadosnaprimer avatar vadosnaprimer commented on September 26, 2024

Indeed.

Okay so try building the latest tree (not release) with MSVC_BUILD=1 as described in the readme.

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

Thanks for you to tell me another solution.

I downloaded the latest tree "mame-rr-0.1-beta.zip" and try to build as you wrote.
(With setting Windows environment variable

【INCLUDE】
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared

【LIB】
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\arm
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\onecore\x64
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\ucrt\arm

because of compile error)

Then I faced error as below.
What should I do?
(sorry for Japanese word)

===============================

mame-rr-0.139\mame-rr>make MSVC_BUILD=1
mkdir.exe -p obj/windows/vmame64
mkdir.exe -p obj/windows/vmame64/build
mkdir.exe -p obj/windows/vmame64/emu/audio
mkdir.exe -p obj/windows/vmame64/emu/cpu
mkdir.exe -p obj/windows/vmame64/emu/cpu/adsp2100
mkdir.exe -p obj/windows/vmame64/emu/cpu/alph8201
mkdir.exe -p obj/windows/vmame64/emu/cpu/am29000
mkdir.exe -p obj/windows/vmame64/emu/cpu/apexc
mkdir.exe -p obj/windows/vmame64/emu/cpu/arm
mkdir.exe -p obj/windows/vmame64/emu/cpu/arm7
mkdir.exe -p obj/windows/vmame64/emu/cpu/asap
mkdir.exe -p obj/windows/vmame64/emu/cpu/avr8
mkdir.exe -p obj/windows/vmame64/emu/cpu/ccpu
mkdir.exe -p obj/windows/vmame64/emu/cpu/cdp1802
mkdir.exe -p obj/windows/vmame64/emu/cpu/cop400
mkdir.exe -p obj/windows/vmame64/emu/cpu/cp1610
mkdir.exe -p obj/windows/vmame64/emu/cpu/cubeqcpu
mkdir.exe -p obj/windows/vmame64/emu/cpu/dsp32
mkdir.exe -p obj/windows/vmame64/emu/cpu/dsp56k
mkdir.exe -p obj/windows/vmame64/emu/cpu/e132xs
mkdir.exe -p obj/windows/vmame64/emu/cpu/esrip
mkdir.exe -p obj/windows/vmame64/emu/cpu/f8
mkdir.exe -p obj/windows/vmame64/emu/cpu/g65816
mkdir.exe -p obj/windows/vmame64/emu/cpu/h6280
mkdir.exe -p obj/windows/vmame64/emu/cpu/h83002
mkdir.exe -p obj/windows/vmame64/emu/cpu/hd6309
mkdir.exe -p obj/windows/vmame64/emu/cpu/i386
mkdir.exe -p obj/windows/vmame64/emu/cpu/i4004
mkdir.exe -p obj/windows/vmame64/emu/cpu/i8008
mkdir.exe -p obj/windows/vmame64/emu/cpu/i8085
mkdir.exe -p obj/windows/vmame64/emu/cpu/i86
mkdir.exe -p obj/windows/vmame64/emu/cpu/i860
mkdir.exe -p obj/windows/vmame64/emu/cpu/i960
mkdir.exe -p obj/windows/vmame64/emu/cpu/jaguar
mkdir.exe -p obj/windows/vmame64/emu/cpu/konami
mkdir.exe -p obj/windows/vmame64/emu/cpu/lh5801
mkdir.exe -p obj/windows/vmame64/emu/cpu/lr35902
mkdir.exe -p obj/windows/vmame64/emu/cpu/m37710
mkdir.exe -p obj/windows/vmame64/emu/cpu/m6502
mkdir.exe -p obj/windows/vmame64/emu/cpu/m6800
mkdir.exe -p obj/windows/vmame64/emu/cpu/m68000
mkdir.exe -p obj/windows/vmame64/emu/cpu/m6805
mkdir.exe -p obj/windows/vmame64/emu/cpu/m6809
mkdir.exe -p obj/windows/vmame64/emu/cpu/mb86233
mkdir.exe -p obj/windows/vmame64/emu/cpu/mb88xx
mkdir.exe -p obj/windows/vmame64/emu/cpu/mc68hc11
mkdir.exe -p obj/windows/vmame64/emu/cpu/mcs48
mkdir.exe -p obj/windows/vmame64/emu/cpu/mcs51
mkdir.exe -p obj/windows/vmame64/emu/cpu/minx
mkdir.exe -p obj/windows/vmame64/emu/cpu/mips
mkdir.exe -p obj/windows/vmame64/emu/cpu/mn10200
mkdir.exe -p obj/windows/vmame64/emu/cpu/nec
mkdir.exe -p obj/windows/vmame64/emu/cpu/pdp1
mkdir.exe -p obj/windows/vmame64/emu/cpu/pic16c5x
mkdir.exe -p obj/windows/vmame64/emu/cpu/pic16c62x
mkdir.exe -p obj/windows/vmame64/emu/cpu/powerpc
mkdir.exe -p obj/windows/vmame64/emu/cpu/rsp
mkdir.exe -p obj/windows/vmame64/emu/cpu/s2650
mkdir.exe -p obj/windows/vmame64/emu/cpu/saturn
mkdir.exe -p obj/windows/vmame64/emu/cpu/sc61860
mkdir.exe -p obj/windows/vmame64/emu/cpu/scmp
mkdir.exe -p obj/windows/vmame64/emu/cpu/se3208
mkdir.exe -p obj/windows/vmame64/emu/cpu/sh2
mkdir.exe -p obj/windows/vmame64/emu/cpu/sh4
mkdir.exe -p obj/windows/vmame64/emu/cpu/sharc
mkdir.exe -p obj/windows/vmame64/emu/cpu/sm8500
mkdir.exe -p obj/windows/vmame64/emu/cpu/spc700
mkdir.exe -p obj/windows/vmame64/emu/cpu/ssem
mkdir.exe -p obj/windows/vmame64/emu/cpu/ssp1601
mkdir.exe -p obj/windows/vmame64/emu/cpu/superfx
mkdir.exe -p obj/windows/vmame64/emu/cpu/t11
mkdir.exe -p obj/windows/vmame64/emu/cpu/tlcs90
mkdir.exe -p obj/windows/vmame64/emu/cpu/tlcs900
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms0980
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms32010
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms32025
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms32031
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms32051
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms34010
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms57002
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms7000
mkdir.exe -p obj/windows/vmame64/emu/cpu/tms9900
mkdir.exe -p obj/windows/vmame64/emu/cpu/upd7810
mkdir.exe -p obj/windows/vmame64/emu/cpu/v30mz
mkdir.exe -p obj/windows/vmame64/emu/cpu/v60
mkdir.exe -p obj/windows/vmame64/emu/cpu/v810
mkdir.exe -p obj/windows/vmame64/emu/cpu/z180
mkdir.exe -p obj/windows/vmame64/emu/cpu/z8
mkdir.exe -p obj/windows/vmame64/emu/cpu/z80
mkdir.exe -p obj/windows/vmame64/emu/cpu/z8000
mkdir.exe -p obj/windows/vmame64/emu/debug
mkdir.exe -p obj/windows/vmame64/emu/debugint
mkdir.exe -p obj/windows/vmame64/emu/drivers
mkdir.exe -p obj/windows/vmame64/emu/layout
mkdir.exe -p obj/windows/vmame64/emu/machine
mkdir.exe -p obj/windows/vmame64/emu/sound
mkdir.exe -p obj/windows/vmame64/emu/video
mkdir.exe -p obj/windows/vmame64/lib/expat
mkdir.exe -p obj/windows/vmame64/lib/lua
mkdir.exe -p obj/windows/vmame64/lib/softfloat
mkdir.exe -p obj/windows/vmame64/lib/util
mkdir.exe -p obj/windows/vmame64/lib/zlib
mkdir.exe -p obj/windows/vmame64/mame/audio
mkdir.exe -p obj/windows/vmame64/mame/drivers
mkdir.exe -p obj/windows/vmame64/mame/layout
mkdir.exe -p obj/windows/vmame64/mame/machine
mkdir.exe -p obj/windows/vmame64/mame/video
mkdir.exe -p obj/windows/vmame64/osd/windows
mkdir.exe -p obj/windows/vmame64/tools
Compiling src/osd/windows/vconv.c...
vconv.c
Linking obj/windows/vmame64/osd/windows/vconv.exe...
vconv.o : error LNK2019: 未解決の外部シンボル strcmp が関数 build_command_line で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル strlen が関数 build_command_line で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __imp_SearchPathA が関数 get_exe_version で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __imp_CloseHandle が関数 main で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __imp_GetLastError が関数 get_exe_version で参照されました
libvcruntime.lib(per_thread_data.obj) : error LNK2001: 外部シンボル __imp_GetLastError は未解決です
vconv.o : error LNK2019: 未解決の外部シンボル __imp_WaitForSingleObject が関数 main で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __imp_GetExitCodeProcess が関数 main で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __imp_CreateProcessA が関数 main で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __imp_GlobalAlloc が関数 get_exe_version で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __imp_GlobalFree が関数 get_exe_version で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル GetFileVersionInfoSizeA が関数 get_exe_version で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル GetFileVersionInfoA が関数 get_exe_version で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル VerQueryValueA が関数 get_exe_version で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __acrt_iob_func が関数 build_command_line で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __stdio_common_vfprintf が関数 _vfprintf_l で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル __stdio_common_vsprintf が関数 _vsnprintf_l で参照されました
vconv.o : error LNK2019: 未解決の外部シンボル exit が関数 build_command_line で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2001: 外部シンボル exit は未解決です
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _seh_filter_exe が関数 "int int __cdecl __scrt_common_main_seh(void)'::1'::filt$0" (?filt$0@?0??__scrt_common_main_seh@@yahxz@4HA) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _set_app_type が関数 "int __cdecl pre_c_initialization(void)" (?pre_c_initialization@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル __setusermatherr が関数 "int __cdecl pre_c_initialization(void)" (?pre_c_initialization@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _configure_narrow_argv が関数 "int __cdecl pre_c_initialization(void)" (?pre_c_initialization@@yahxz) で参照されました
LIBCMT.lib(utility.obj) : error LNK2001: 外部シンボル _configure_narrow_argv は未解決です
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _initialize_narrow_environment が関数 "int __cdecl pre_c_initialization(void)" (?pre_c_initialization@@yahxz) で参照されました
LIBCMT.lib(utility.obj) : error LNK2001: 外部シンボル _initialize_narrow_environment は未解決です
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _get_initial_narrow_environment が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されま した
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _initterm が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _initterm_e が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _exit が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _set_fmode が関数 "int __cdecl pre_c_initialization(void)" (?pre_c_initialization@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル __p___argc が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル __p___argv が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _cexit が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されました
LIBCMT.lib(utility.obj) : error LNK2001: 外部シンボル _cexit は未解決です
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _c_exit が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _register_thread_local_exe_atexit_callback が関数 "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _configthreadlocale が関数 "int __cdecl pre_c_initialization(void)" (?pre_c_initialization@@yahxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル _set_new_mode が関数 "void __cdecl pre_cpp_initialization(void)" (?pre_cpp_initialization@@yaxxz) で参照されました
LIBCMT.lib(exe_main.obj) : error LNK2019: 未解決の外部シンボル __p__commode が関数 "int __cdecl pre_c_initialization(void)" (?pre_c_initialization@@yahxz) で参照されました
LIBCMT.lib(gs_report.obj) : error LNK2019: 未解決の外部シンボル __imp_RtlCaptureContext が関数 capture_current_context で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2001: 外部シンボル __imp_RtlCaptureContext は未解決です
LIBCMT.lib(gs_report.obj) : error LNK2019: 未解決の外部シンボル __imp_RtlLookupFunctionEntry が関数 capture_current_context で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2001: 外部シンボル __imp_RtlLookupFunctionEntry は未解決です
libvcruntime.lib(risctrnsctrl.obj) : error LNK2001: 外部シンボル __imp_RtlLookupFunctionEntry は未解決です
LIBCMT.lib(gs_report.obj) : error LNK2019: 未解決の外部シンボル __imp_RtlVirtualUnwind が関数 capture_current_context で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2001: 外部シンボル __imp_RtlVirtualUnwind は未解決です
LIBCMT.lib(gs_report.obj) : error LNK2019: 未解決の外部シンボル __imp_UnhandledExceptionFilter が関数 __raise_securityfailure で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2001: 外部シンボル __imp_UnhandledExceptionFilter は未解決です
LIBCMT.lib(gs_report.obj) : error LNK2019: 未解決の外部シンボル __imp_SetUnhandledExceptionFilter が関数 __raise_securityfailure で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2001: 外部シンボル __imp_SetUnhandledExceptionFilter は未解決です
LIBCMT.lib(gs_report.obj) : error LNK2019: 未解決の外部シンボル __imp_GetCurrentProcess が関数 __raise_securityfailure で参照されました
LIBCMT.lib(gs_report.obj) : error LNK2019: 未解決の外部シンボル __imp_TerminateProcess が関数 __raise_securityfailure で参照されました
LIBCMT.lib(gs_report.obj) : error LNK2019: 未解決の外部シンボル __imp_IsProcessorFeaturePresent が関数 __report_gsfailure で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2001: 外部シンボル __imp_IsProcessorFeaturePresent は未解決です
LIBCMT.lib(utility.obj) : error LNK2019: 未解決の外部シンボル _seh_filter_dll が関数 __scrt_dllmain_exception_filter で参照されました
LIBCMT.lib(utility.obj) : error LNK2019: 未解決の外部シンボル _initialize_onexit_table が関数 __scrt_initialize_onexit_tables で参照されました
LIBCMT.lib(utility.obj) : error LNK2019: 未解決の外部シンボル _register_onexit_function が関数 _onexit で参照されました
LIBCMT.lib(utility.obj) : error LNK2019: 未解決の外部シンボル _execute_onexit_table が関数 __scrt_dllmain_uninitialize_c で参照されました
LIBCMT.lib(utility.obj) : error LNK2019: 未解決の外部シンボル _crt_atexit が関数 _onexit で参照されました
LIBCMT.lib(utility.obj) : error LNK2019: 未解決の外部シンボル _crt_at_quick_exit が関数 at_quick_exit で参照されました
LIBCMT.lib(gs_support.obj) : error LNK2019: 未解決の外部シンボル __imp_QueryPerformanceCounter が関数 __get_entropy で参照されました
LIBCMT.lib(gs_support.obj) : error LNK2019: 未解決の外部シンボル __imp_GetCurrentProcessId が関数 __get_entropy で参照されました
LIBCMT.lib(gs_support.obj) : error LNK2019: 未解決の外部シンボル __imp_GetCurrentThreadId が関数 __get_entropy で参照されました
LIBCMT.lib(gs_support.obj) : error LNK2019: 未解決の外部シンボル __imp_GetSystemTimeAsFileTime が関数 __get_entropy で参照されました
LIBCMT.lib(tncleanup.obj) : error LNK2019: 未解決の外部シンボル __imp_InitializeSListHead が関数 "void __cdecl __scrt_initialize_type_info(void)" (?__scrt_initialize_type_info@@yaxxz) で参照 されました
LIBCMT.lib(utility_desktop.obj) : error LNK2019: 未解決の外部シンボル __imp_IsDebuggerPresent が関数 __scrt_fastfail で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2019: 未解決の外部シンボル __imp_GetStartupInfoW が関数 __scrt_get_show_window_mode で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2019: 未解決の外部シンボル __imp_GetModuleHandleW が関数 __scrt_is_managed_app で参照されました
LIBCMT.lib(utility_desktop.obj) : error LNK2019: 未解決の外部シンボル terminate が関数 __scrt_unhandled_exception_filter で参照されました
libvcruntime.lib(ehhelpers.obj) : error LNK2001: 外部シンボル terminate は未解決です
libvcruntime.lib(frame.obj) : error LNK2001: 外部シンボル terminate は未解決です
libvcruntime.lib(riscchandler.obj) : error LNK2019: 未解決の外部シンボル __imp_RtlUnwindEx が関数 __C_specific_handler で参照されました
libvcruntime.lib(risctrnsctrl.obj) : error LNK2001: 外部シンボル __imp_RtlUnwindEx は未解決です
libvcruntime.lib(std_type_info.obj) : error LNK2019: 未解決の外部シンボル free が関数 "private: static void __cdecl _Closure_wrapper_0fe033df_2::<lambda_invoker_cdecl>(void * const)" (?<lambda_invoker_cdecl>@_Closure_wrapper_0fe033df_2@@CAXQEAX@Z) で参照されました
libvcruntime.lib(per_thread_data.obj) : error LNK2001: 外部シンボル free は未解決です
libvcruntime.lib(std_exception.obj) : error LNK2001: 外部シンボル free は未解決です
LIBCMT.lib(delete_scalar.obj) : error LNK2001: 外部シンボル free は未解決です
libvcruntime.lib(std_type_info.obj) : error LNK2019: 未解決の外部シンボル malloc が関数 "private: static void * __cdecl _Closure_wrapper_0fe033df_1::<lambda_invoker_cdecl>(unsigned __int64)" (?<lambda_invoker_cdecl>@_Closure_wrapper_0fe033df_1@@CAPEAX_K@Z) で参照されました
libvcruntime.lib(std_exception.obj) : error LNK2001: 外部シンボル malloc は未解決です
libvcruntime.lib(std_type_info.obj) : error LNK2019: 未解決の外部シンボル strcpy_s が関数 __std_type_info_name で参照されました
libvcruntime.lib(std_exception.obj) : error LNK2001: 外部シンボル strcpy_s は未解決です
libvcruntime.lib(std_type_info.obj) : error LNK2019: 未解決の外部シンボル __imp_InterlockedPushEntrySList が関数 __std_type_info_name で参照されました
libvcruntime.lib(std_type_info.obj) : error LNK2019: 未解決の外部シンボル __imp_InterlockedFlushSList が関数 __std_type_info_destroy_list で参照されました
libvcruntime.lib(ehstate.obj) : error LNK2001: 外部シンボル abort は未解決です
libvcruntime.lib(frame.obj) : error LNK2001: 外部シンボル abort は未解決です
libvcruntime.lib(ehhelpers.obj) : error LNK2001: 外部シンボル abort は未解決です
libvcruntime.lib(per_thread_data.obj) : error LNK2001: 外部シンボル abort は未解決です
libvcruntime.lib(purevirt.obj) : error LNK2001: 外部シンボル abort は未解決です
libvcruntime.lib(risctrnsctrl.obj) : error LNK2001: 外部シンボル abort は未解決です
libvcruntime.lib(per_thread_data.obj) : error LNK2019: 未解決の外部シンボル calloc が関数 __vcrt_getptd_noexit で参照されました
libvcruntime.lib(per_thread_data.obj) : error LNK2019: 未解決の外部シンボル __imp_SetLastError が関数 "public: __cdecl `anonymous namespace'::scoped_get_last_error_reset::~scoped_get_last_error_reset(void)" (??1scoped_get_last_error_reset@?A0xa3727598@@qeaa@XZ) で参照されました
libvcruntime.lib(per_thread_data.obj) : error LNK2019: 未解決の外部シンボル __imp_FlsAlloc が関数 __vcrt_FlsAlloc で参照されました
libvcruntime.lib(per_thread_data.obj) : error LNK2019: 未解決の外部シンボル __imp_FlsGetValue が関数 __vcrt_FlsGetValue で参照されました
libvcruntime.lib(per_thread_data.obj) : error LNK2019: 未解決の外部シンボル __imp_FlsSetValue が関数 "bool __cdecl store_and_initialize_ptd(struct __vcrt_ptd * const)" (?store_and_initialize_ptd@@YA_NQEAU__vcrt_ptd@@@z) で参照されました
libvcruntime.lib(per_thread_data.obj) : error LNK2019: 未解決の外部シンボル __imp_FlsFree が関数 __vcrt_FlsFree で参照されました
libvcruntime.lib(locks.obj) : error LNK2019: 未解決の外部シンボル __imp_EnterCriticalSection が関数 __vcrt_lock で参照されました
libvcruntime.lib(locks.obj) : error LNK2019: 未解決の外部シンボル __imp_LeaveCriticalSection が関数 __vcrt_unlock で参照されました
libvcruntime.lib(locks.obj) : error LNK2019: 未解決の外部シンボル __imp_InitializeCriticalSectionEx が関数 __vcrt_InitializeCriticalSectionEx で参照されました
libvcruntime.lib(locks.obj) : error LNK2019: 未解決の外部シンボル __imp_DeleteCriticalSection が関数 __vcrt_uninitialize_locks で参照されました
libvcruntime.lib(undname.obj) : error LNK2019: 未解決の外部シンボル __stdio_common_vsprintf_s が関数 _vsprintf_s_l で参照されました
libvcruntime.lib(undname.obj) : error LNK2019: 未解決の外部シンボル atol が関数 "private: static class DName __cdecl UnDecorator::getTemplateNonTypeArgument(void)" (?getTemplateNonTypeArgument@UnDecorator@@ca?AVDName@@xz) で参照されました
libvcruntime.lib(undname.obj) : error LNK2019: 未解決の外部シンボル strncmp が関数 "public: char * __cdecl UnDecorator::getCHPEName(char *,int)" (?getCHPEName@UnDecorator@@QEAAPEADPEADH@Z) で参照されました
libvcruntime.lib(frame.obj) : error LNK2019: 未解決の外部シンボル __imp_EncodePointer が関数 "void __cdecl FindHandlerForForeignException(struct EHExceptionRecord *,unsigned __int64 *,struct _CONTEXT *,struct _xDISPATCHER_CONTEXT *,struct _s_FuncInfo const *,int,int,unsigned __int64 *)" (??$FindHandlerForForeignException@V__FrameHandler3@@@@YAXPEAUEHExceptionRecord@@PEA_KPEAU_CONTEXT@@PEAU_xDISPATCHER_CONTEXT@@PEBU_s_FuncInfo@@hh1@Z) で参照されました
libvcruntime.lib(frame.obj) : error LNK2019: 未解決の外部シンボル __imp_RaiseException が関数 "public: static void * __cdecl __FrameHandler3::CxxCallCatchBlock(struct _EXCEPTION_RECORD *)" (?CxxCallCatchBlock@__FrameHandler3@@SAPEAXPEAU_EXCEPTION_RECORD@@@z) で参照されました
libvcruntime.lib(throw.obj) : error LNK2001: 外部シンボル __imp_RaiseException は未解決です
libvcruntime.lib(throw.obj) : error LNK2019: 未解決の外部シンボル __imp_RtlPcToFileHeader が関数 _CxxThrowException で参照されました
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\arm\version.lib : warning LNK4272: ライブラリのコンピューターの種類 'ARM' がターゲットのコンピューターの種類' x64' と競合しています
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\arm\onecore.lib : warning LNK4272: ライブラリのコンピューターの種類 'ARM' がターゲットのコンピューターの種類' x64' と競合しています
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\ucrt\arm\libucrt.lib : warning LNK4272: ライブラリのコンピューターの種類 'ARM' がターゲットのコンピューターの種類' x64' と競合していま す
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\arm\uuid.lib : warning LNK4272: ライブラリのコンピューターの種類 'ARM' がターゲットのコンピューターの種類' x64' と競合しています
obj\windows\vmame64\osd\windows\vconv.exe : fatal error LNK1120: 81 件の未解決の外部参照
make: *** [obj/windows/vmame64/osd/windows/vconv.exe] Error 1120

from mame-rr.

vadosnaprimer avatar vadosnaprimer commented on September 26, 2024

mame-rr-0.1-beta.zip is a release, not tree. The tree is https://github.com/TASEmulators/mame-rr/archive/refs/heads/0.139.zip

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

Thanks for you to tell me correct URL.

I tried under this condition, and uh..., I forgot to execute as

call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86

and I implement "dinput.lib" from
https://github.com/milliet/DDReader/blob/master/c/sdk-directx9/Lib/dinput.lib
as required.

If there's more suitable "dinput.lib", please teach me.

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

I faced compile error when execute

call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86
make MSVC_BUILD=1 DEBUG=1 SYMBOLS=1

as below (sorry for Japanese):





Compiling src/osd/windows/sound.c...
sound.c
Compiling src/osd/windows/video.c...
video.c
Compiling src/osd/windows/window.c...
window.c
Compiling src/osd/windows/winmain.c...
winmain.c
src\osd\windows\winmain.c(706): error C2039: 'Rax': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(707): error C2039: 'Rbx': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(708): error C2039: 'Rcx': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(709): error C2039: 'Rdx': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(705): warning C4473: 'fprintf': 書式文字列として渡された引数が不足しています
src\osd\windows\winmain.c(705): note: プレースホルダーとそのパラメーターには 4 の可変個引数が必要ですが、0 が指定されています。
src\osd\windows\winmain.c(705): note: 不足している可変個引数 1 が書式文字列 '%p' に必要です
src\osd\windows\winmain.c(711): error C2039: 'Rsi': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(712): error C2039: 'Rdi': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(713): error C2039: 'Rbp': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(714): error C2039: 'Rsp': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(710): warning C4473: 'fprintf': 書式文字列として渡された引数が不足しています
src\osd\windows\winmain.c(710): note: プレースホルダーとそのパラメーターには 4 の可変個引数が必要ですが、0 が指定されています。
src\osd\windows\winmain.c(710): note: 不足している可変個引数 1 が書式文字列 '%p' に必要です
src\osd\windows\winmain.c(716): error C2039: 'R8': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(717): error C2039: 'R9': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(718): error C2039: 'R10': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(719): error C2039: 'R11': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(715): warning C4473: 'fprintf': 書式文字列として渡された引数が不足しています
src\osd\windows\winmain.c(715): note: プレースホルダーとそのパラメーターには 4 の可変個引数が必要ですが、0 が指定されています。
src\osd\windows\winmain.c(715): note: 不足している可変個引数 1 が書式文字列 '%p' に必要です
src\osd\windows\winmain.c(721): error C2039: 'R12': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(722): error C2039: 'R13': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(723): error C2039: 'R14': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(724): error C2039: 'R15': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(720): warning C4473: 'fprintf': 書式文字列として渡された引数が不足しています
src\osd\windows\winmain.c(720): note: プレースホルダーとそのパラメーターには 4 の可変個引数が必要ですが、0 が指定されています。
src\osd\windows\winmain.c(720): note: 不足している可変個引数 1 が書式文字列 '%p' に必要です
src\osd\windows\winmain.c(804): error C2039: 'Rip': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(805): error C2039: 'Rsp': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
src\osd\windows\winmain.c(806): error C2039: 'Rsp': '_CONTEXT' のメンバーではありません
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h(7623): note: '_CONTEXT' の宣言を確認してください
make: *** [obj/windows/vmame64d/osd/windows/winmain.o] Error 2

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

I faced compile error when execute

call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86
make MSVC_BUILD=1

as below too (sorry for Japanese):

Compiling src/lib/zlib/deflate.c...
deflate.c
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1166) : error C2220: 次の警告はエラーとして処理されます
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1166) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1166) : 注: この行で比較を行ってインデックス 'best_len' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1166) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの 読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1295) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1293) : 注: この行で比較を行ってインデックス '' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1295) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの 読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1225) : error C2220: 次の警告はエラーとして処理されます
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(339) : error C2220: 次の警告はエラーとして処理されます
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1225) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1222) : 注: この行で比較を行ってインデックス 'len' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1225) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの 読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(339) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(334) : 注: この行で比較を行ってインデックス 'length' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(339) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(790) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(560) : 注: この行で比較を行ってインデックス 'flush' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(790) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1501) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1501) : 注: この行で比較を行ってインデックス 'dist' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1501) : 注: この行にメモリの読み込みを入力します に指定されている場合、コンパイラは メモリの読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(732) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(731) : 注: この行で比較を行ってインデックス 'beg' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(732) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1623) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1623) : 注: この行で比較を行ってインデックス 'dist' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1623) : 注: この行にメモリの読み込みを入力します に指定されている場合、コンパイラは メモリの読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1493) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1479) : 注: この行で比較を行ってインデックス '' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1493) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの 読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(701) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(700) : 注: この行で比較を行ってインデックス 'beg' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(701) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1597) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1588) : 注: この行で比較を行ってインデックス '' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1597) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの 読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1491) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1479) : 注: この行で比較を行ってインデックス '' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1491) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの 読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(670) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(669) : 注: この行で比較を行ってインデックス 'beg' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(670) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの読み込みに Spectre の軽減策を挿入します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1595) : warning C5045: /Qspectre スイッチが
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1588) : 注: この行で比較を行ってインデックス '' の範囲を確認します
mame-rr-0.139\mame-rr\src\lib\zlib\deflate.c(1595) : 注: この行に呼び出しを入力します に指定されている場合、コンパイラはメモリの 読み込みに Spectre の軽減策を挿入します
make: *** [obj/windows/vmame64/lib/zlib/deflate.o] Error 2

from mame-rr.

mame-rr-player001 avatar mame-rr-player001 commented on September 26, 2024

What should I do?

from mame-rr.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.