Comments (9)
Same issue. Looking over the log the error is here:
citra/externals/cryptopp/cryptopp/cpu.cpp:49:11: fatal error: 'cpu-features.h' file not found
The issue isn't a missing commit from what I'm reading. That article suggests a couple minor changes in CMakeLists.txt should resolve things. I'm just not sure what to put for the target in target_link_libraries(<your target>, cpufeatures)
part of the solution referenced in the above linked article.
from citra_android.
Okay so my fresh install of cmake was missing AndroidNdkModules.cmake. I discovered this by editing citra\externals\cryptopp\CMakeLists.txt
to include:
include(AndroidNdkModules)
android_ndk_import_module_cpufeatures()
target_link_libraries(cryptopp cpufeatures)
This was added to the bottom of the file under Third-party libraries. I'm still building but I wanted to get this info out before I forgot what I did. I'm sure there's a far more efficient place to put the NDK includes like perhaps in the top CMakeLists.txt file but as I've indicated I'm no developer. Just trying to band-aid a solution together to make life easier on the actual dev so he doesn't have to spend so much time figuring things out.
Update: It built successfully. If I can get an APK out of it I'd say this issue is pretty close to being able to be closed.
from citra_android.
@mascondante does this actually work? even i was looking for an easier solution.
Cryptopp relies on its setenv-android.sh
for copying cpu-features.cpp/.h
to the folder, this works on linux...but since windows doesn't support .sh
you manually have to copy the files
from citra_android.
@SachinVin It built the APK. The APK runs but when I add a game to the library it crashes and will keep crashing every time I try to open it unless I clear the app data.
from citra_android.
@mascondante I'm gonna take a wild guess and say it's because of +=
that I stupidly missed.
It's should be fixed now
from citra_android.
@SachinVin Sorry I was just filtering a logcat for you. I'll try your update. In the meantime here's the logcat
from citra_android.
@SachinVin No go. Same result. Tried renaming the game to something simple in case that had something to do with things. Didn't help. I tried debugging it with my phone but I don't really know what I'm doing. I'm in the Citra discord if you want to hit me up there. Would be quicker. They tagged you but you appear to be offline there. I'm @mascondante#8038
Edit: What I can tell you is I see this running game_info.cpp:
SIGSEGV (signal SIGSEGV: invalid address (fault address: 0x0))
Then in native.cpp:
SIGSEGV (signal SIGSEGV: address access protected (fault address: 0x7f193c4e90))
Then it goes back to game_info.cpp and says:
SIGSEGV (unknown crash reason)
Then clicking resume debugging again is when it crashes.
from citra_android.
@SachinVin after your last commit - running a game is possible now. But for some reasons the FPS is only 1/4 of the build from august.
from citra_android.
@acocalypso It's probably running a 'debug' build, try building a 'release' build
@mascondante can you give me some logs ?
they're in {internal storage}/citra-emu/logs, additionally if you can can you give me a stack trace from your logcat
2018-10-17 09:15:36.464 25348-25371/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 25371 (RenderThread)
2018-10-17 09:15:36.552 25778-25778/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2018-10-17 09:15:36.553 25778-25778/? A/DEBUG: Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/V9.6.2.0.NCFMIFD:user/release-keys'
2018-10-17 09:15:36.553 25778-25778/? A/DEBUG: Revision: '0'
2018-10-17 09:15:36.553 25778-25778/? A/DEBUG: ABI: 'arm64'
2018-10-17 09:15:36.553 25778-25778/? A/DEBUG: pid: 25348, tid: 25371, name: RenderThread >>> org.citra.citra_android <<<
2018-10-17 09:15:36.553 25778-25778/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4
2018-10-17 09:15:36.570 25778-25778/? A/DEBUG: Abort message: '[ 281.296659] Frontend <Critical> citra_android/jni/emu_window/emu_window.cpp:EmuWindow_Android:56: Failed to initialize GL functions: %d
'
2018-10-17 09:15:36.570 25778-25778/? A/DEBUG: x0 0000007f9c961440 x1 0000007f6a01bd80 x2 0000007facf549b4 x3 0000000000000001
2018-10-17 09:15:36.571 25778-25778/? A/DEBUG: x4 00000000000000cb x5 0000000000000000 x6 0000007fade2c000 x7 0000000000000000
2018-10-17 09:15:36.571 25778-25778/? A/DEBUG: x8 0000000000000000 x9 0000007f6a5b8e20 x10 0000000000000003 x11 0000000000fe502a
2018-10-17 09:15:36.571 25778-25778/? A/DEBUG: x12 0000000000000000 x13 ffffffffa43e3830 x14 000692875d000000 x15 003b9aca00000000
2018-10-17 09:15:36.571 25778-25778/? A/DEBUG: x16 0000007facf63e48 x17 0000007fac8d1338 x18 0000000000000000 x19 0000000000000000
2018-10-17 09:15:36.571 25778-25778/? A/DEBUG: x20 0000007fac7c332b x21 0000007fac7c5ee5 x22 0000007fab1ae364 x23 0000007fab1ae050
2018-10-17 09:15:36.571 25778-25778/? A/DEBUG: x24 0000007f6a5b8e20 x25 0000007f6a551aa0 x26 0ffffffffffffffe x27 0000000000000000
2018-10-17 09:15:36.571 25778-25778/? A/DEBUG: x28 0000000000000000 x29 0000007f8d8f9c10 x30 0000007fac7571e0
2018-10-17 09:15:36.571 25778-25778/? A/DEBUG: sp 0000007f8d8f9b30 pc 0000007fac77a788 pstate 0000000020000000
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: backtrace:
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #00 pc 0000000000055788 /system/lib64/libhwui.so
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #01 pc 00000000000321dc /system/lib64/libhwui.so
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #02 pc 00000000000329f0 /system/lib64/libhwui.so
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #03 pc 0000000000039da8 /system/lib64/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread22dispatchFrameCallbacksEv+212)
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #04 pc 0000000000039fc4 /system/lib64/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+212)
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #05 pc 00000000000125c4 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272)
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #06 pc 00000000000a7044 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116)
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #07 pc 00000000000681a4 /system/lib64/libc.so (_ZL15__pthread_startPv+196)
2018-10-17 09:15:36.576 25778-25778/? A/DEBUG: #08 pc 000000000001db80 /system/lib64/libc.so (__start_thread+16)
from citra_android.
Related Issues (20)
- The Legend of Zelda - A Link Between Worlds
- No Gyroscope/motion support HOT 2
- Pokemon y HOT 1
- Hay lugares del juego que no da imagen y debo caminar a ciegas
- Problemas con pokémon ruby algunos mundo solo tienen sonido y debo caminar sin imagen a ciegas
- While gaming...
- [Request] Custom File Location
- help cant launch acnl
- (mostly) water pokemon plus some textures HOT 1
- It always say parse error
- A certain set of Pokemon are not colored properly in battle HOT 1
- Please fix the screen flickering only screen recording time screen flickering only pokemon games screen flickering Screen recording please fix it
- Noooooo
- Keyboard options for game like Tetris?
- Help with Pokemon X
- Continuation of the project?! HOT 1
- Game won't show up HOT 1
- Texture Glitch on TLoZ Ocarina of Time/Majoras Mask, Mali GPU, Exynos, Kirin
- Crash when im load a game
- I need help citra keeps crashing when I load the ROM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citra_android.