Open yagomont opened 5 years ago
That's not garbage :/ The script just both prints the code to file and the log.
Though you'll have issues running the ARM client build right now and if you want to do that I'd suggest you to join the Discord. Otherwise this can be continued in this issue.
What issues, are they severe? If that's the case, I'd rather not.
The fact that this stuff is still pretty experimental and that noone has attempted to do this yet, so unexpected issues may arise and debugging this on Discord would be way faster (optionally IRC, if you prefer that).
Currently you might not be able to start the client as-is as a small source code patch might be needed.
Please make ARM support happen! I tried building it on arm64, but cmake fails to find "Thread" when building libhybris.
I failed to build on RPI 3b+. It would be nice to see this get fixed.
On Wed, Feb 13, 2019, 5:25 AM Black Hat <notifications@github.com wrote:
Please make ARM support happen! I tried building it on arm64, but cmake fails to find "Thread" when building libhybris.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/minecraft-linux/mcpelauncher-manifest/issues/44#issuecomment-463198242, or mute the thread https://github.com/notifications/unsubscribe-auth/AXEx9M400U_1XD1elS06BPzvnPnrsPENks5vNBJjgaJpZM4ZhV1Y .
Ok, now I got the dedicated server compiled on armhf. However, launching mcpelauncher-server causes exception. Seems like something related to openssl. Here's the full log:
14:17:35 Trace [Launcher] Loading Minecraft library
Signal 11 received
Backtrace elements: 2
#0 mcpelauncher-server(_ZN12CrashHandler12handleSignalEiPv+0x9c) [0x9f9dc]
#1 /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer+0) [0x76b886b0]
Dumping stack...
#93 HYBRIS (null)+0 in libc.so+0x59dad [0x76af0dad]
#94 HYBRIS (null)+1990635332 in libminecraftpe.so+0x4c44f44 [0x76a6af44]
#97 HYBRIS (null)+1990635600 in libminecraftpe.so+0x4c45050 [0x76a6b050]
#100 HYBRIS (null)+1988043164 in libminecraftpe.so+0x49cc19c [0x767f219c]
#102 HYBRIS (null)+1988453752 in libminecraftpe.so+0x4a30578 [0x76856578]
#104 HYBRIS (null)+232 in libminecraftpe.so+0x1363c1c [0x73189c1c]
#105 HYBRIS (null)+5 in libc.so+0x59db2 [0x76af0db2]
#152 HYBRIS (null)+1988456448 in libminecraftpe.so+0x4a31000 [0x76857000]
#207 HYBRIS (null)+8 in libminecraftpe.so+0x3ed7574 [0x75cfd574]
#220 HYBRIS (null)+1988456448 in libminecraftpe.so+0x4a31000 [0x76857000]
#223 HYBRIS boost::asio::ssl::detail::openssl_init<true>::instance_+0 in libminecraftpe.so+0x4a4c19c [0x7687219c]
#235 HYBRIS boost::asio::ssl::detail::openssl_init<true>::instance_+0 in libminecraftpe.so+0x4a4c19c [0x7687219c]
#242 HYBRIS (null)+8 in libminecraftpe.so+0x3ed7574 [0x75cfd574]
#244 HYBRIS boost::asio::ssl::detail::openssl_init_base::do_init::do_init()+56 in libminecraftpe.so+0x137b25d [0x731a125d]
#255 HYBRIS (null)+1988456448 in libminecraftpe.so+0x4a31000 [0x76857000]
#258 HYBRIS boost::asio::ssl::detail::openssl_init<true>::instance_+0 in libminecraftpe.so+0x4a4c19c [0x7687219c]
#265 HYBRIS (null)+1990635332 in libminecraftpe.so+0x4c44f44 [0x76a6af44]
#268 HYBRIS (null)+1990635600 in libminecraftpe.so+0x4c45050 [0x76a6b050]
#269 HYBRIS (null)+208 in libminecraftpe.so+0x1363c04 [0x73189c04]
#270 HYBRIS (null)+1988540252 in libminecraftpe.so+0x4a4575c [0x7686b75c]
#271 HYBRIS (null)+1988043164 in libminecraftpe.so+0x49cc19c [0x767f219c]
#278 HYBRIS boost::asio::ssl::detail::openssl_init<true>::instance_+0 in libminecraftpe.so+0x4a4c19c [0x7687219c]
#285 HYBRIS (null)+8 in libminecraftpe.so+0x3ed7574 [0x75cfd574]
#287 HYBRIS boost::asio::ssl::detail::openssl_init_base::do_init::do_init()+56 in libminecraftpe.so+0x137b25d [0x731a125d]
#298 HYBRIS (null)+1988456448 in libminecraftpe.so+0x4a31000 [0x76857000]
#301 HYBRIS boost::asio::ssl::detail::openssl_init<true>::instance_+0 in libminecraftpe.so+0x4a4c19c [0x7687219c]
#313 HYBRIS boost::asio::ssl::detail::openssl_init_base::instance()+48 in libminecraftpe.so+0x137b169 [0x731a1169]
#314 HYBRIS boost::asio::ssl::detail::openssl_init<true>::instance_+0 in libminecraftpe.so+0x4a4c19c [0x7687219c]
#317 HYBRIS (null)+1929984349 in libminecraftpe.so+0x126d95d [0x7309395d]
#327 HYBRIS (null)+1987962168 in libminecraftpe.so+0x49b8538 [0x767de538]
#329 HYBRIS (null)+1929984321 in libminecraftpe.so+0x126d941 [0x73093941]
#341 HYBRIS (null)+1987974904 in libminecraftpe.so+0x49bb6f8 [0x767e16f8]
#901 HYBRIS (null)+1920169263 in libminecraftpe.so+0x91152f [0x7273752f]
#908 HYBRIS vtable for LightningBolt+83 in libminecraftpe.so+0x4900573 [0x76726573]
Aborted
Oh it actually worked! I forgot to set the environment variable export OPENSSL_armcap=0.
Minecraft Bedrock server on Raspberry Pi finally!
What did you compile it on? I really want to get this working
On Wed, Feb 13, 2019, 10:07 PM Black Hat <notifications@github.com wrote:
Oh it actually worked! I forgot to set the environment variable.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/minecraft-linux/mcpelauncher-manifest/issues/44#issuecomment-463502996, or mute the thread https://github.com/notifications/unsubscribe-auth/AXEx9DKEpaZSpYAfu7CrWeNc16ZOnjqDks5vNP03gaJpZM4ZhV1Y .
What did you compile it on? I really want to get this working … On Wed, Feb 13, 2019, 10:07 PM Black Hat @.*** wrote: Oh it actually worked! I forgot to set the environment variable. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#44 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AXEx9DKEpaZSpYAfu7CrWeNc16ZOnjqDks5vNP03gaJpZM4ZhV1Y .
On a Raspberry Pi 3 running Raspbian Lite.
I am trying to compile for armhf on the raspberry pi 3b+. I have almost got it and have narrowed down the issue but am unsure of how to fix it. The file main.cpp in mcpelauncher-client does not include "legacy/legacy_patches.h" and "minecraft_game_wrapper.h" when armhf build is initialized but instead includes "armhf_support.h". This causes issues on lines 120, 147, 152, 155, 161, and 169 where methods from those 2 files are called. Any help would be much appreciated.
...so I broke it again. If you can PM me on discord (mrarm#2392) I will help you get it working.
I get that output when I try to run it after export OPENSSL_armcap=0
I have been able to build on my rpi 2b. Grabbed the latest minecraft 1.12.1.1.apk from my android tablet and extracted it. When running its gets as far as
/app/bin/mcpelauncher-server -dd /home/pi/minecraft -dg /app/minecraft/1.12.1.1
14:38:25 Trace [Launcher] Adding world resource packs
reset of error:
Signal 11 received Backtrace elements: 2
Dumping stack...
@ArcSmurf @filipef101
@ChristopherHX many thanks for the update. Am away this weekend but will have a reward when back early next week.
Update 30/09/2019: I downloaded your server and it rumns happily - now have a server running happily - thanks for the updates
I followed the instructions in the (deprecated) wiki: cd mcpelauncher-linux-bin git checkout armhf cd .. cd minecraft-symbols/tools python3 process_headers.py --armhf cd ..
However, upon running the python script, void minecraft_symbols_init outputs a lot of error garbage, and the package cannot be built. Most of the messages include something about unresolved symbols.
Here's a sample line:
if (_web_json_value_value == nullptr) Log::error("MinecraftSymbols", "Unresolved symbol: %s", "_ZN3web4json5valueC2Ev");