-
Notifications
You must be signed in to change notification settings - Fork 220
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
Compilation fails on armv6l (Raspberry Pi) #416
Comments
It is true that the version of Angel Script has been updated, however compilation still seems to fail on armv6l. |
I know very little about how to use CMake or how compilers work at all, but after reading a bit about the changes that SuperTuxKart made to compile on ARM, I think CMake is the culprit. Just see the difference between the OpenSpades CMakeLists.txt and the SuperTuxKart CMakeLists.txt Specially this: +if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
+ enable_language(ASM)
+ if(CMAKE_ASM_COMPILER_WORKS)
+ set(ANGELSCRIPT_SOURCE ${ANGELSCRIPT_SOURCE} ../../source/as_callfunc_arm.cpp ../../source/as_callfunc_arm_gcc.S)
+ set_property(SOURCE ../../source/as_callfunc_arm_gcc.S APPEND PROPERTY COMPILE_FLAGS " -Wa,-mimplicit-it=always")
+ else()
+ message(FATAL ERROR "ARM target requires a working assembler")
+ endif()
+ endif() I made a simple Gist diff here. |
Yes, I saw the same thing. I'll try to edit the CMakeLists.txt to get compilation to work, then I might submit a pull request. |
@jextrevor Great! It'd be very cool to have OpenSpades running on Raspberry Pi. |
jextrevor please explain here what you did and how you got it running because im having this error on pi 3B with armv7 here |
@Tapmemer see above message from feikname. I did manage to compile it, but didn't manage to get it running. |
@jextrevor could please post the 'SystemMessages.log' and the crash dump, if it exists, of when you tried to run it? |
@feikname where might I find the SystemMessages.log? Here is the output of the program when I try to run it:
|
The problem seems to be with the GetReportLineColor function. Somehow this function is being called with an "invalid index". I'm going to see if I can find where this function is being called, and why an invalid index is being passed. |
I was able to recompile the project so that it would skip the start screen altogether, however, now I run into this error:
|
Recompiled yet again to use the software renderer by default. Main screen starts fine, albeit very slowly. All text is a blue-ish color. I'm able to change settings and select a game, but when I try to actually connect, OpenSpades segfaults. |
I'm trying with release 0.1.1-c, instead of latest. |
@jextrevor The If XDG_DATA_HOME is not set (you can see this by looking at the output of |
@TapMemer sorry for the late response. If you're atill interested in running OpenSpades on arm, take a look at the OpenPides fork |
really why dont we just take the code from openspides clean it up and then add it to openspades so that we do not have to worry about it anymore ?
|
Trying to compile on my Raspberry Pi causes make to fail:
This git project solves the problem by using a newer version of Angelscript. Any chance this is possible for openspades?
The text was updated successfully, but these errors were encountered: