Wesnoth 1.10.5 for iphone/ipad & source code is out now!
Moderator: Forum Moderators
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
Don't worry, I help you to compile the project successfully. i will update the four libs tomorrow.yaxinhoo wrote:this is compile error of four libs, these libs compile make me crazy.
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
thanks very much.
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
hi dailin , i had pulled you lib source . now i can build the fontconfig & pango , but glib & cairo is can't built ever.
1\glib
2\ cairo
1\glib
Code: Select all
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/gatomic.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/gatomic.c:24: Config.h: No such file or directory
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/gbookmarkfile.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/gbookmarkfile.c:20: Config.h: No such file or directory
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/gdataset.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/gdataset.c:33: Config.h: No such file or directory
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/gdate.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/gdate.c:31: Config.h: No such file or directory
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/glibintl.h
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/glibintl.h:5: #error "config.h must be included prior to glibintl.h"
/Volumes/MacData/Work/wesnoth_ios/battleforwesnoth/lib/glib/glib/../../../../lib/glib/glib/gbookmarkfile.c:43: In file included from /Volumes/MacData/Work/wesnoth_ios/battleforwesnoth/lib/glib/glib/../../../../lib/glib/glib/gbookmarkfile.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/glibintl.h:5: #error "config.h must be included prior to glibintl.h" in /Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/glibintl.h
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/glib_trace.h
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/glib_trace.h:27: #error "config.h must be included prior to glib_trace.h"
/Volumes/MacData/Work/wesnoth_ios/battleforwesnoth/lib/glib/glib/../../../../lib/glib/glib/gdataset.c:45: In file included from /Volumes/MacData/Work/wesnoth_ios/battleforwesnoth/lib/glib/glib/../../../../lib/glib/glib/gdataset.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/glib_trace.h:27: #error "config.h must be included prior to glib_trace.h" in /Volumes/MacData/Work/wesnoth_ios/lib/glib/glib/glib_trace.h
Code: Select all
/Volumes/MacData/Work/wesnoth_ios/lib/libpng-1.4.4/include/png.h
/Volumes/MacData/Work/wesnoth_ios/lib/libpng-1.4.4/include/png.h:1: Expected '=', ',', ';', 'asm' or '__attribute__' before '/' token
/Volumes/MacData/Work/wesnoth_ios/battleforwesnoth/lib/cairo/cairo/../../../../lib/cairo-1.10.0/src/cairo-png.c:46: In file included from /Volumes/MacData/Work/wesnoth_ios/battleforwesnoth/lib/cairo/cairo/../../../../lib/cairo-1.10.0/src/cairo-png.c
/Volumes/MacData/Work/wesnoth_ios/lib/libpng-1.4.4/include/png.h:1: Expected '=', ',', ';', 'asm' or '__attribute__' before '/' token in /Volumes/MacData/Work/wesnoth_ios/lib/libpng-1.4.4/include/png.h
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:75: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:99: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:121: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:138: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:154: Expected ')' before 'png_ptr'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:160: Expected declaration specifiers or '...' before 'png_rw_ptr'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:168: 'png_struct' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:168: 'png' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:169: 'png_info' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:169: 'info' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:170: 'png_byte' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:170: Expected expression before 'volatile'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:171: 'png_color_16' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:171: Expected ';' before 'white'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:198: 'rows' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:198: Expected expression before ')' token
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:205: Expected expression before ')' token
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:207: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:208: 'png_simple_error_callback' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:209: 'png_simple_warning_callback' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:226: 'write_func' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:226: 'png_simple_output_flush_fn' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:232: 'PNG_COLOR_TYPE_RGB' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:234: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:242: 'PNG_COLOR_TYPE_GRAY' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:262: 'PNG_INTERLACE_NONE' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:263: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:264: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:266: 'white' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:271: 'png_time' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:271: Expected ';' before 'pt'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:273: 'pt' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:284: 'unpremultiply_data' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:286: 'convert_data_to_bytes' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:287: 'PNG_FILLER_AFTER' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:306: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:362: 'stdio_write_func' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:362: Too many arguments to function 'write_png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:376: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:421: 'stream_write_func' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:421: Too many arguments to function 'write_png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:434: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:465: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:501: Expected ')' before 'png'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:522: 'png_struct' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:522: 'png' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:523: 'png_info' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:523: 'info' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:524: 'png_byte' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:524: 'data' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:525: 'row_pointers' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:526: 'png_uint_32' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:526: Expected ';' before 'png_width'
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:534: Dereferencing pointer to incomplete type
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:537: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:539: 'png_simple_error_callback' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:540: 'png_simple_warning_callback' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:552: 'stream_read_func' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:565: 'png_width' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:565: 'png_height' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:573: 'PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:577: 'PNG_COLOR_TYPE_GRAY' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:586: 'PNG_INFO_tRNS' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:597: 'PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:602: 'PNG_INTERLACE_NONE' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:605: 'PNG_FILLER_AFTER' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:613: 'PNG_COLOR_TYPE_RGB' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:614: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:627: 'premultiply_data' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:632: 'convert_bytes_to_data' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:676: Dereferencing pointer to incomplete type
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:679: Dereferencing pointer to incomplete type
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:706: Dereferencing pointer to incomplete type
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:709: Dereferencing pointer to incomplete type
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:738: Storage size of 'png_closure' isn't known
/Volumes/MacData/Work/wesnoth_ios/lib/cairo-1.10.0/src/cairo-png.c:792: Storage size of 'png_closure' isn't known
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
You can use project config.h in glib and rm the first blank in png.h
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
i want to generate the glib config by ./configure . but i got
i had install gettext with port install.
Code: Select all
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
My git default setting add config.* to ignore list, so you lose config.h
This is config.h
This is config.h
- Attachments
-
- config.h
- (141 Bytes) Downloaded 146 times
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
i pulled out, but
Code: Select all
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gsourceclosure.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gsourceclosure.c:25: Gmarshal.h: No such file or directory
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gsourceclosure.c:188: 'g_cclosure_marshal_BOOLEAN__FLAGS' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gbinding.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gbinding.c:108: Gmarshal.h: No such file or directory
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gbinding.c:1166: 'g_cclosure_marshal_BOOLEAN__BOXED_BOXED' undeclared (first use in this function)
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gobject.c
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gobject.c:33: Gmarshal.h: No such file or directory
/Volumes/MacData/Work/wesnoth_ios/lib/glib/gobject/gobject.c:377: 'g_cclosure_marshal_VOID__PARAM' undeclared (first use in this function)
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
,the same reason, i update glib,you can try it again
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
some runtime error , the sim is blackscreen.
why want window size 550,390 ???
why want window size 550,390 ???
Code: Select all
Fontconfig error: Cannot load default config file
xxx/battleforwesnoth.app/fonts
xxx/battleforwesnoth.app/data/core/music/main_menu.ogg
WML exception:
User message: Failed to show a dialog, which doesn't fit on the screen.
Dev message: /Volumes/MacData/Work/wesnoth_ios/battleforwesnoth/battleforwesnoth/gui/widgets/window.cpp:947 in function 'layout' found the following problem: Failed to size window; wanted size 550,390 available size 480,320 screen size 480,320.
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
did u test you github?
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
yaxinhoo wrote:some runtime error , the sim is blackscreen.
why want window size 550,390 ???
Can you run in ipad sim?if you run in iphone sim,pls change res folder to res-iphone.Good luck.yaxinhoo wrote:did u test you github?
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
In the newest version from App Store I am missing the coordinate display, how can I add this?
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
thanks dailin , i had succeed built on xcode 4.6 (ios6.1) , i use xcode 4.4.1(ios4.1) ever.
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
in the sim runtime tested , i found the game sound had some problem , it sound weird . it is much bad on multiplayer.
Re: Wesnoth 1.10.5 for iphone/ipad & source code is out now!
Not support ogg format very well in ios(maybe my mistake?),some sound well,some sound bad,i replace some terrible files.I think you can do it too.yaxinhoo wrote:in the sim runtime tested , i found the game sound had some problem , it sound weird . it is much bad on multiplayer.
iphone? ipad? and your ios version~Fraggel76 wrote:In the newest version from App Store I am missing the coordinate display, how can I add this?