Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

partyk1d24

Members
  • Content count

    24
  • Joined

  • Last visited

About partyk1d24

  • Rank
    Warming Up
  1. partyk1d24

    Issues with porting PrBoom+ for android.

    Install : libdoom.so => libs/armeabi-v7a/libdoom.so ~/Development/porting/ported/doom/prboom2$ :-) Now for some JNI wrapping....
  2. partyk1d24

    Issues with porting PrBoom+ for android.

    Got it... Had to comment out the following in my config.h /* #define gid_t int */ /* #define size_t unsigned int */ /* #define uid_t int */
  3. partyk1d24

    Issues with porting PrBoom+ for android.

    I copied over the .h no dice
  4. partyk1d24

    Issues with porting PrBoom+ for android.

    BTW this version of Z_Zone.h works... https://code.google.com/p/prboom4android/source/browse/trunk/jni/prboom/z_zone.h
  5. partyk1d24

    Issues with porting PrBoom+ for android.

    Thanks for the ideas, that is the file I was on right now anyway. Any examples of possible values to look for?
  6. I am trying to make this general so I can ask multiple questions. Anyway, currently I am trying to compile Prboom+ for android. I got it to gen config.h but when I try to build I see... In file included from /Users/me/Development/Android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include/stdio.h:50:0, from ./src/z_zone.h:52, from ./src/doomdef.h:49, from ./src/d_items.h:38, from ./src/d_player.h:43, from ./src/doomstat.h:43, from ./src/am_map.c:39: /Users/me/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/include/stddef.h:212:23: error: duplicate 'unsigned' /Users/me/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/include/stddef.h:212:23: error: two or more data types in declaration specifiers In file included from /Users/jackiegleason/Development/Android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include/stdio.h:55:0, from ./src/z_zone.h:52, from ./src/doomdef.h:49, from ./src/d_items.h:38, from ./src/d_player.h:43, from ./src/doomstat.h:43, from ./src/am_map.c:39: /Users/me/Development/Android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include/sys/types.h:59:30: error: two or more data types in declaration specifiers /Users/me/Development/Android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include/sys/types.h:59:1: warning: useless type name in empty declaration [enabled by default] /Users/me/Development/Android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include/sys/types.h:101:33: error: two or more data types in declaration specifiers /Users/me/Development/Android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include/sys/types.h:101:1: warning: useless type name in empty declaration [enabled by default] Anyone know what I am missing here?
  7. partyk1d24

    PrBoom+ On Android

    Here is a link to the version I am working on... Still trying to get it working... (plus symbol didn't work) https://github.com/jrgleason/prboom-4droid
  8. partyk1d24

    PrBoom+ On Android

    I am still working on it, prboom4android seems to work OK but I would really like to get the prboom+ port working. I will work on getting my version checked into Github and I will post it so others may be able to help. For now if you want to just see what it is like use the prboom4android it is a pretty ok port.
  9. partyk1d24

    PrBoom+ On Android

    The weirdest thing is when I run.... cp -rf ../prboom4Android/jni/prboom ./jni/prboom Everything builds fine, however, when I run this... cp -rf ../prboom2/src ./jni/prboom And add the extra classes to the Android.mk everything compiles but doesn't link. However, moving back using cp -rf ../prboom4Android/jni/prboom ./jni/prboom Everything compiles etc perfectly. Any ideas? Here is the errors... /Users/me/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: ./obj/local/armeabi/objs-debug/prboom_jni/w_mmap.o: multiple definition of 'W_InitCache' .... /Users/me/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/libSDL.a(SDL_render_gles.o): in function GLES_DestroyTexture:/Users/jackiegleason/Development/Code/prboom4android-base/jni/SDL/src/render/opengles/SDL_render_gles.c:775: error: undefined reference to 'glDeleteTextures'
  10. partyk1d24

    PrBoom+ On Android

    Also, anyone have any experience with OpenGL Linking errors? Getting the following... /Users/me/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/libSDL.a(SDL_render_gles.o): in function GLES_CreateRenderer:jni/SDL/src/render/opengles/SDL_render_gles.c:189: error: undefined reference to 'glDisableClientState' I see the reference to <GLES/gl.h> but something must still be getting missed.
  11. partyk1d24

    PrBoom+ On Android

    So should I change from boolean to dboolean? I don't see that in the existing prboom4android code it seems to use the boolean still.
  12. partyk1d24

    PrBoom+ On Android

    Actually now I am down to ... Compile thumb : prboom_jni <= am_map.c In file included from jni/prboom/am_map.c:47:0: jni/prboom/am_map.h:48:1: error: unknown type name 'boolean' jni/prboom/am_map.c:250:1: error: unknown type name 'boolean' jni/prboom/am_map.c:595:1: error: unknown type name 'boolean' jni/prboom/am_map.c:843:1: error: unknown type name 'boolean' make: *** [obj/local/armeabi/objs/prboom_jni/am_map.o] Error 1
  13. partyk1d24

    PrBoom+ On Android

    Ok, So now I have PrBoom+ compiled and running with OpenGL on my Mac, this is pretty awesome. Now I am looking to port over to my Android Tablet, so I download the version of prboom4Android found here https://code.google.com/p/prboom4android/. Now I am trying to port the prBoom+ source over so I run the following.... cp -r .~/doomfolder/prboom2/src ./jni/prboom But when I run ndk-build I see... jni/prboom/i_video.c:137:1: error: unknown type name 'boolean' jni/prboom/i_video.c:138:1: error: unknown type name 'boolean' jni/prboom/i_video.c:339:1: error: unknown type name 'boolean' What am I missing, where is this typedef? I tried grep -r "typedef boolean" ./ doesn't return what I would expect. Anyone have any ideas?
  14. partyk1d24

    Trying to Get PRBOOM+ To work on OSX

    Worked like a charm thanks!
  15. partyk1d24

    Trying to Get PRBOOM+ To work on OSX

    Like I see this stuff, http://stackoverflow.com/questions/2197223/where-are-the-opengl-header-files-located-on-macosx But how do I get those to work with the PRBoom+ code? Is there a flag or variable I can set somewhere?
×