It is currently Fri Jan 22, 2021 4:05 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Purebasic Executable error on the Mac
PostPosted: Thu Sep 12, 2019 5:21 pm 
Offline
New User
New User

Joined: Thu Sep 12, 2019 5:15 pm
Posts: 2
Hi

What have I missed. I am using a mac and can run and build from the IDE, with and without debugger, but as soon as I create a Mac Executable and try to run it i get an error. I must be missing something in compiler options.

Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000086
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [1933]


MacOS_mojav 10.14.6

If anyone has any ideas, I shall be most grateful, thanks, M.


Top
 Profile  
Reply with quote  
 Post subject: Re: Purebasic Executable error on the Mac
PostPosted: Thu Sep 12, 2019 6:52 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2817
Location: Germany
No idea without code and pb version...

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: Purebasic Executable error on the Mac
PostPosted: Thu Sep 12, 2019 7:02 pm 
Offline
New User
New User

Joined: Thu Sep 12, 2019 5:15 pm
Posts: 2
Thanks

I've solved it. it was an image file not being put in the contents folder of the app executable package. Ive changed the code to 'continue' if the image is not loaded and just replace it with a dull box


Top
 Profile  
Reply with quote  
 Post subject: Re: Purebasic Executable error on the Mac
PostPosted: Thu Sep 12, 2019 9:02 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 1791
Location: Germany
Thank you for posting the solution to your problem. Other users with a similar problem might benefit from your solution.

And welcome to the PureBasic forum! :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Purebasic Executable error on the Mac
PostPosted: Thu Sep 12, 2019 9:15 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2817
Location: Germany
This tool copy the images and more to the right resources folder inside the app.

Link : MyAppData

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: IdeasVacuum and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye