[solved] Compile error JitBlockCache.cpp - 'pc' was not declared in this scope
|
02-06-2014, 06:54 PM
(This post was last modified: 02-07-2014 12:13 PM by whise.)
Post: #1
|
|||
|
|||
[solved] Compile error JitBlockCache.cpp - 'pc' was not declared in this scope
[ 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::DestroyBlock(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? |
|||
02-06-2014, 07:32 PM
Post: #2
|
|||
|
|||
RE: Compile error JitBlockCache.cpp - 'pc' was not declared in this scope
What compiler is this, and what version?
-[Unknown] |
|||
02-06-2014, 08:26 PM
(This post was last modified: 02-06-2014 09:30 PM by whise.)
Post: #3
|
|||
|
|||
RE: Compile error JitBlockCache.cpp - 'pc' was not declared in this scope
Nevermind i just add this to the cpp and it works
#include <stddef.h> #include <cstddef> |
|||
02-07-2014, 09:06 PM
Post: #4
|
|||
|
|||
RE: [solved] Compile error JitBlockCache.cpp - 'pc' was not declared in this scope
Should work with just one of those:
#include <cstddef> right? |
|||
« Next Oldest | Next Newest »
|