Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Compile error JitBlockCache.cpp - 'pc' was not declared in this scope
#1
[ 56%] Building CXX object CMakeFiles/Core.dir/Core/MIPS/JitCommon/JitBlockCache.cpp.o
/home/pi/RetroPie/emulators/ppsspp/Core/MIPS/JitCommon/JitBlockCache.cpp: In member function 'void JitBlockCache:Big GrinestroyBlock(int, bool)':
/home/pi/RetroPie/emulators/ppsspp/Core/MIPS/JitCommon/JitBlockCache.cpp:470:41: error: expected primary-expression before ',' token
/home/pi/RetroPie/emulators/ppsspp/Core/MIPS/JitCommon/JitBlockCache.cpp:470:43: error: 'pc' was not declared in this scope
/home/pi/RetroPie/emulators/ppsspp/Core/MIPS/JitCommon/JitBlockCache.cpp:470:45: error: 'offsetof' was not declared in this scope
make[2]: *** [CMakeFiles/Core.dir/Core/MIPS/JitCommon/JitBlockCache.cpp.o] Error 1
make[1]: *** [CMakeFiles/Core.dir/all] Error 2
make: *** [all] Error 2

Im trying to compile on arm

Can anyone help?
Reply
#2
What compiler is this, and what version?

-[Unknown]
Reply
#3
Nevermind i just add this to the cpp and it works

#include <stddef.h>
#include <cstddef>
Reply
#4
Should work with just one of those:

#include <cstddef>

right?
Reply


Forum Jump: