Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Pages: [1] 2  All

Author Topic: 64 bit apps?  (Read 23127 times)

0 Members and 1 Guest are viewing this topic.

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 302
  • Sorry for any bad english in my posts. Game on !
    • View Profile
64 bit apps?
« on: July 07, 2015, 09:43:58 AM »

Does WME light now support 64 bit apps for iOS ? It is now required to have apps 64 bit to submit to the appstore. I already changed the architecture settings in Xcode for 64 bit for my WME Lite game, and it is still saying the app is not 64 bit. I should also state that I have all the latest WME dependencies and project files from BitBucket. Any help anyone?

« Last Edit: July 07, 2015, 10:04:44 AM by piere »
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 302
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: 64 bit apps?
« Reply #1 on: July 08, 2015, 06:10:47 AM »

The program ran fine, but when I changed to 64 bit, I got these errors:


Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: 64 bit apps?
« Reply #2 on: July 08, 2015, 06:49:05 AM »

I believe the dependend libraries from bitbucket do not include support for 64 bit, thus it won't compile.

I am trying to generate Mac dependencies from my Android dependencies (which I already saw working on 64 bit), but only for my fork that does not include theora playback. I am making slow progress, because I'm totally new to the Mac environment.
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 302
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: 64 bit apps?
« Reply #3 on: July 08, 2015, 06:52:14 AM »

So you you think that WME Lite is completely useless and broken since it wont work for 64 bit apps?
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: 64 bit apps?
« Reply #4 on: July 08, 2015, 06:59:03 AM »

No, I don't think so. The lite engine is running in 64 bit on Linux and Android at least, so I don't see a general 64 bit issue. The iOS platform just needs updated dependencies.
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 302
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: 64 bit apps?
« Reply #5 on: July 08, 2015, 07:36:03 AM »

So what should I do then? I need to submit a game to the app store soon.
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: 64 bit apps?
« Reply #6 on: July 08, 2015, 08:28:08 AM »

In case you do not need theora playback and can live with SDL mixer instead of BASS for audio, you could try my fork. I hope to have a working ios simulator and 64 bit libs available in a couple of weeks, depending on my progress. I can't test the device libraries yet (lack of devices and membership in the paid Apple developer program). I don't know if that would fit your timeline.
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 302
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: 64 bit apps?
« Reply #7 on: July 09, 2015, 12:05:28 AM »

If you can get it done sooner I can Paypal you some money
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: 64 bit apps?
« Reply #8 on: July 13, 2015, 08:11:40 AM »

It would be cool if you could simply test my project on a device, once I have it building and running in the simulator at least.
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 302
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: 64 bit apps?
« Reply #9 on: July 13, 2015, 08:54:46 AM »

sure keep me updated
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: 64 bit apps?
« Reply #10 on: July 17, 2015, 07:22:09 AM »

Can you make a first trial with the dependencies here:

https://bitbucket.org/hcdaniel/wmelite-rapaki-edition/downloads/dep_ios_20150717.zip

and my fork of wmelite? I tried the demo project in the simulator (ipad 2), and apart from running slow, it looked ok.

There might still be issues with the libraries, I don't think I have set "minphoneos" correctly everywhere.

BTW: These should in principle run as well with the original wmelite, when you replace the paths to the dependent libraries appropriately, and add the proper BASS libraries yourself. I have not tested that.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: 64 bit apps?
« Reply #11 on: July 17, 2015, 07:33:10 AM »

btw wmelite build is broken, could you commit the missing file, please?
https://bitbucket.org/MnemonicWME/wmelite/issues/32/not-compiling-because-of-missing-function
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: 64 bit apps?
« Reply #12 on: July 18, 2015, 08:33:44 AM »

Should be ok again now.
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 302
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: 64 bit apps?
« Reply #13 on: October 27, 2015, 05:58:52 AM »

Sorry to re-open this, but I am using Daniel's branch and there seems to be an issue. When I have a Game.PlayMusic(); and a Game.PlaySound(); in the same scene, the game crashes on iOS. Basically when a sound is played, everything crashes. I've made iOS games before with an older branch of WME Lite and I never had this problem. Maybe it has to do with the BASS library? Can anyone else verify this is occuring?
Logged

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: 64 bit apps?
« Reply #14 on: October 27, 2015, 07:02:41 AM »

The good news is that at least the rebuilt dependencies seem to work (initially) for you :)

In my fork, I try to replace BASS by SDL_Mixer (because that one is royalty free). But it probably still has bugs (at least one I'd say).

Can you manually change the iOS project to remove the "USE_SDL_MIXER" define, replace the 2 relevant files from the "SDL_mixer" subdir with the regular ones, and add the BASS libraries? Then you should be back to BASS. (You might also try to simply use the main repo with my dependencies plus BASS, this might also work.)

I haven't seen the crash, because I only use the functions with a channel (e.g. PlayMusicChannel() and so on). If you don't mind, would you send me a project where the error occurs (unless it's the same one that you want to build for Android...)? Will probably take a while until I can have a look though.
Logged
Pages: [1] 2  All
 

Page created in 0.041 seconds with 20 queries.