yvt / openspades

Compatible client of Ace of Spades 0.75
http://openspades.yvt.jp/
GNU General Public License v3.0
1.13k stars 218 forks source link

compilation fail on armv7 (raspberry pi 3 B, raspbian) #512

Open ghost opened 7 years ago

ghost commented 7 years ago

1%] Built target OpenSpades_Resources [ 1%] Built target OpenSpades_Unix [ 5%] Built target Angelscript_addons [ 17%] Built target Angelscript [ 17%] Linking CXX executable ../bin/openspades ../lib/libAngelscript.a(as_callfunc.cpp.o): In function CallSystemFunction(int, asCContext*)': as_callfunc.cpp:(.text+0x2c4): undefined reference toCallSystemFunctionNative(asCContext, asCScriptFunction, void, unsigned long, void, unsigned long long&, void)' collect2: error: ld returned 1 exit status Sources/CMakeFiles/OpenSpades.dir/build.make:5748: recipe for target 'bin/openspades' failed make[2]: [bin/openspades] Error 1 CMakeFiles/Makefile2:224: recipe for target 'Sources/CMakeFiles/OpenSpades.dir/all' failed make[1]: [Sources/CMakeFiles/OpenSpades.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2

do i need some extra build parameters or edit the makefile?

i have all dependecies and the extra dependencies (for if the requirements bug happens)

noway commented 7 years ago

Someone tried compiling and compiled it I think, hopefully they could shed some light on how it can be done. Also would be good to add it to wiki

ghost commented 7 years ago

i think the limking CXX executable is not possible due to raspbian. is there any way to remove or disable the command linking in the makefile/sourcecode?

feikname commented 7 years ago

Could you please try to apply the suggested changes for CMake mentioned in #416? I was going to try to solve this issue, but unfortunately, I don't have an raspberry.

feikname commented 7 years ago

I marked the issue as duplicate, however, please continue the original discussion in this thread for a while

ghost commented 7 years ago

he compiled it on armv6 probably a raspberry pi or pi 2. armv6 and a raspberry pi 3B are different from eachoter

ghost commented 7 years ago

im trying to compile it again with the new CMakeLists.txt from jextrevor. i hope it works

ghost commented 7 years ago

nope. i cannot compile it with the cmakelists.txt. i changed it so it would support armv7vl but no

i think openspades does not support openspades

feikname commented 7 years ago

I will close this one and leave the dicussion at #416

feikname commented 7 years ago

he compiled it on armv6 probably a raspberry pi or pi 2. armv6 and a raspberry pi 3B are different from eachoter

@Tapmemer I am deeply sorry, I totally missed your comment. Although related, those issues should probably be kept apart.