-
Notifications
You must be signed in to change notification settings - Fork 873
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
fatal error: 'core/arch/Cpu.h' file not found #237
Comments
Same issue |
only core/arch/CpuRegister.h |
The latest version has a problem and cannot be compiled. It requires: |
It seems that some of the refactoring of the architecture is not yet complete... |
It fixed the issue, now I got another error.
How to fix? |
Latest commit, which is 5dfc854 right now still cannot be compiled due to this error. Even fixing this specific error with from fies from previous commits doesn't work as for me other error appear. Anyway, the older commit 0932d69 does work. Anyway, I published my build here: https://github.com/trueToastedCode/Dobby/releases if you don't want to go through hesitation of compiling. At this point only android maybe I'll add more later. |
-- The C compiler identification is AppleClang 15.0.0.15000029
-- The CXX compiler identification is AppleClang 15.0.0.15000029
-- ********* build environment check ***********
-- Compiler: AppleClang
-- Processor: x86_64
-- System: macOS
-- ***************************************
-- CMAKE_C_COMPILER: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- CMAKE_CXX_COMPILER: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- CMAKE_C_FLAGS: -fvisibility=hidden -fPIC -fno-stack-check -fno-stack-protector -fno-exceptions -fno-rtti -fno-common -fno-zero-initialized-in-bss -O3 -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
-- CMAKE_CXX_FLAGS: -fvisibility=hidden -fPIC -fno-stack-check -fno-stack-protector -fno-exceptions -fno-rtti -fno-common -fno-zero-initialized-in-bss -O3 -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
-- CMAKE_SHARED_LINKER_FLAGS:
-- [Dobby] CMAKE_BUILD_TYPE:
-- [Dobby] DOBBY_DEBUG: OFF
-- [Dobby] NearBranch: ON
-- [Dobby] FullFloatingPointRegisterPack: OFF
-- [Dobby] Plugin.SymbolResolver: ON
-- [Dobby] Plugin.ImportTableReplace: OFF
-- [Dobby] Plugin.Android.BionicLinkerUtil: OFF
-- [Dobby] DOBBY_BUILD_EXAMPLE: OFF
-- [Dobby] DOBBY_BUILD_TEST: OFF
-- [Dobby] DOBBY_BUILD_KERNEL_MODE: OFF
-- [Dobby] Private.Obfuscation: OFF
-- [Dobby] Dobby-20230630-d95b5c9
Dobby/./source/core/arch/x64/registers-x64.h:5:10: fatal error: 'core/arch/Cpu.h' file not found
#include "core/arch/Cpu.h"
^~~~~~~~~~~~~~~~~
#include "core/arch/Cpu.h"
^~~~~~~~~~~~~~~~~
#include "core/arch/Cpu.h"
^~~~~~~~~~~~~~~~~
1 error generated.
1 error generated.
1 error generated.
make[2]: make[2]: *** [CMakeFiles/dobby_static.dir/source/core/assembler/assembler-x64.cc.o] Error 1
*** [CMakeFiles/dobby.dir/source/core/assembler/assembler-x64.cc.o] Error 1
make[2]: *** [CMakeFiles/DobbyX.dir/source/core/assembler/assembler-x64.cc.o] Error 1
make[1]: *** [CMakeFiles/dobby.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/DobbyX.dir/all] Error 2
make[1]: *** [CMakeFiles/dobby_static.dir/all] Error 2
[ 7%] Linking CXX static library liblogging.a
[ 7%] Built target logging
i use Dobby-dev branch, to build Dobby as follows:
cd Dobby
&cmake "-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64" ..
&make -j4
The text was updated successfully, but these errors were encountered: