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 src/emu/validity.cpp... #48

Open
henryjfry opened this issue Jan 25, 2021 · 0 comments
Open

Error: Compiling src/emu/validity.cpp... #48

henryjfry opened this issue Jan 25, 2021 · 0 comments

Comments

@henryjfry
Copy link

Im having an error building "libretro/mame2016-libretro" on the Vero4k (aarch64) which has failed on the main repo and also "https://github.com/MrLightgun/mame2016-libretro" at the same stage:

`Compiling src/emu/validity.cpp...
g++ -I/opt/vero3/include -L/opt/vero3/lib -mcpu=cortex-a7 -mfpu=neon-vfpv4 -O2 -I/opt/vero3/include -L/opt/vero3/lib -mcpu=cortex-a7 -mfpu=neon-vfpv4 -O2 -MMD -MP -MP -D__LIBRETRO__ -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DPTR64=1 -I../../../../../src/osd -I../../../../../src/emu -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../3rdparty -I../../../../generated/emu -I../../../../generated/emu/layout -I../../../../../3rdparty/expat/lib -I../../../../../3rdparty/lua/src -I../../../../../3rdparty/zlib -I../../../../../3rdparty/libflac/include -O2 -fPIC --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-array-bounds -Wno-cast-align -x c++ -std=c++14 -Woverloaded-virtual -Wsuggest-override -include ../../../../gmake/libretro/obj/libretro/emu.h -include /home/osmc/retrOSMCmk2/submodule/RetroPie-Setup/tmp/build/lr-mame2016/src/osd/retro/retroprefix.h -o "../../../../gmake/libretro/obj/libretro/src/emu/validity.o" -c "../../../../../src/emu/validity.cpp"
../../../../../src/emu/validity.cpp: In member function 'void validity_checker::validate_core()':
../../../../../src/emu/validity.cpp:341:31: error: static assertion failed: PTR64 flag enabled, but was compiled for 32-bit target

static_assert(sizeof(void *) == 8, "PTR64 flag enabled, but was compiled for 32-bit target\n");
~~~~~~~~~~~~~~~^~~~
make[3]: *** [emu.make:1740: ../../../../gmake/libretro/obj/libretro/src/emu/validity.o] Error 1
make[2]: *** [Makefile:67: emu] Error 2
make[2]: Leaving directory '/home/osmc/retrOSMCmk2/submodule/RetroPie-Setup/tmp/build/lr-mame2016/build/projects/retro/mamearcade/gmake-linux'
make[1]: *** [makefile:1214: linux] Error 2
make[1]: Leaving directory '/home/osmc/retrOSMCmk2/submodule/RetroPie-Setup/tmp/build/lr-mame2016'
make: *** [Makefile.libretro:197: build] Error 2
Removing additional swap
/home/osmc
Could not successfully build lr-mame2016 - MAME emulator - MAME 0.174 port for libretro (/home/osmc/retrOSMCmk2/submodule/RetroPie-Setup/tmp/build/lr-mame2016/mamearcade2016_libretro.so not found).`

I tried adding "PTR64 = 1" to makefile.libreto and makefile but it didnt seem to have any impact.

rps_2021-01-25_104929.log

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

1 participant