afeder, on 11 February 2012 - 03:15 PM, said:
Might you want to remake that as a fork of the official git mirror? https://github.com/0ad/0ad
Posted 12 February 2012 - 01:54 AM
afeder, on 11 February 2012 - 03:15 PM, said:
Posted 12 February 2012 - 02:14 AM
Sonarpulse, on 12 February 2012 - 01:54 AM, said:
Posted 12 February 2012 - 02:46 AM
Posted 12 February 2012 - 04:30 AM
Sonarpulse, on 12 February 2012 - 02:46 AM, said:
Posted 12 February 2012 - 07:11 AM
Posted 12 February 2012 - 08:49 AM
Posted 12 February 2012 - 08:56 AM
Posted 12 February 2012 - 04:43 PM
Posted 12 February 2012 - 09:10 PM
afeder, on 12 February 2012 - 08:56 AM, said:
Edited by Sonarpulse, 12 February 2012 - 09:11 PM.
Posted 13 February 2012 - 09:02 PM
Posted 13 February 2012 - 09:23 PM
Posted 13 February 2012 - 10:15 PM
Ykkrosh, on 13 February 2012 - 09:02 PM, said:
Posted 14 February 2012 - 12:06 AM
Posted 14 February 2012 - 01:03 AM
Ykkrosh, on 14 February 2012 - 12:06 AM, said:
Posted 14 February 2012 - 12:10 PM
--- MysticTreeGames-Boost-for-Android-70838fc/build-android.sh 2011-10-16 14:34:17.000000000 +0100
+++ MysticTreeGames-Boost-for-Android-70838fc/build-android.sh 2012-01-29 13:06:37.289820841 +0000
@@ -104,19 +104,19 @@
;;
windows|cygwin)
Platfrom=windows-x86
;;
*) # let's play safe here
Platfrom=linux-x86
esac
-CXXPATH=$AndroidNDKRoot/build/prebuilt/$Platfrom/arm-eabi-4.4.0/bin/arm-eabi-g++
-CXXFLAGS=-I$AndroidNDKRoot/build/platforms/android-8/arch-arm/usr/include
-TOOLSET=gcc-androidR4
+CXXPATH=$AndroidNDKRoot/bin/arm-linux-androideabi-g++
+CXXFLAGS=-I$AndroidNDKRoot/sysroot/usr/include
+TOOLSET=gcc-androidR5
if [ -n "$NDK_R5" ]; then
CXXPATH=$AndroidNDKRoot/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$Platfrom/bin/arm-linux-androideabi-g++
CXXFLAGS="-I$AndroidNDKRoot/platforms/android-8/arch-arm/usr/include \
-I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/include \
-I$AndroidNDKRoot/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include \
-I$AndroidNDKRoot/sources/wchar-support/include"
TOOLSET=gcc-androidR5
fi
then passed it the toolchain path instead of NDK path when running it, which seemed to be enough to get it building with the latest NDK.
Posted 15 February 2012 - 02:50 AM
{
"os_unix": 1,
"os_linux": 1,
"os_macosx": 0,
"os_win": 0,
"arch_ia32": 0,
"arch_amd64": 0,
"build_debug": 1,
"build_opengles": 1,
"build_datetime": "Feb 15 2012 01:13:30",
"build_revision": "custom build",
"build_msc": 0,
"build_icc": 0,
"build_gcc": 404,
"gfx_card": "ARM Mali-400 MP",
"gfx_drv_ver": "OpenGL OpenGL ES 2.0",
"gfx_mem": 0,
"snd_card": "",
"snd_drv_ver": "",
"GL_VERSION": "OpenGL ES 2.0",
"GL_VENDOR": "ARM",
"GL_RENDERER": "Mali-400 MP",
"GL_EXTENSIONS": "GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil ",
"GL_SUBPIXEL_BITS": 4,
"GL_MAX_TEXTURE_SIZE": 4096,
"GL_MAX_CUBE_MAP_TEXTURE_SIZE": 1024,
"GL_MAX_VIEWPORT_DIMS[0]": 4096,
"GL_MAX_VIEWPORT_DIMS[1]": 4096,
"GL_ALIASED_POINT_SIZE_RANGE[0]": 0.25,
"GL_ALIASED_POINT_SIZE_RANGE[1]": 100,
"GL_ALIASED_LINE_WIDTH_RANGE[0]": 0.25,
"GL_ALIASED_LINE_WIDTH_RANGE[1]": 100,
"GL_SAMPLE_BUFFERS": 0,
"GL_SAMPLES": 0,
"GL_RED_BITS": 5,
"GL_GREEN_BITS": 6,
"GL_BLUE_BITS": 5,
"GL_ALPHA_BITS": 0,
"GL_DEPTH_BITS": 0,
"GL_STENCIL_BITS": 0,
"GL_SHADING_LANGUAGE_VERSION": "OpenGL ES GLSL ES 1.00",
"GL_MAX_VERTEX_ATTRIBS": 16,
"GL_MAX_VERTEX_UNIFORM_VECTORS": 128,
"GL_MAX_VARYING_VECTORS": 12,
"GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS": 8,
"GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS": 0,
"GL_MAX_FRAGMENT_UNIFORM_VECTORS": 1024,
"GL_MAX_TEXTURE_IMAGE_UNITS": 8,
"GL_MAX_RENDERBUFFER_SIZE": 4096,
"video_xres": 320,
"video_yres": 483,
"video_bpp": 32,
"video_desktop_xres": 800,
"video_desktop_yres": 480,
"video_desktop_bpp": 32,
"video_desktop_freq": 0,
"uname_sysname": "Linux",
"uname_release": "2.6.35.7-I9100XWKJ1-CL647431",
"uname_version": "#2 SMP PREEMPT Tue Oct 11 16:42:43 KST 2011",
"uname_machine": "armv7l",
"cpu_identifier": "unknown",
"cpu_frequency": -1,
"cpu_pagesize": 4096,
"cpu_largepagesize": 0,
"cpu_numprocs": 1,
"numa_numnodes": 1,
"numa_factor": 1,
"numa_interleaved": false,
"ram_total": 836,
"ram_total_os": 836,
"ram_free": 20,
"timer_resolution": 1e-9
}
and then it dies because it can't find the rest of the data files. Need to make the hacks less disgusting, then I'll try uploading my changes, and then need to get it to load all the other data files to display the GUI screen, and see what else breaks.
Posted 15 February 2012 - 02:53 AM
Posted 15 February 2012 - 09:44 AM
/home/afeder/android/toolchain/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1 make[1]: Target `all' not remade because of errors. make: *** [pyrogenesis] Error 2
Edited by afeder, 15 February 2012 - 09:45 AM.
Posted 15 February 2012 - 01:30 PM

0 members, 0 guests, 0 anonymous users