> open ~/RWI/Hello_world.app/
LSOpenURLsWithRole() failed with error -10810 for the file /Users/r0ber7/RWI/Hello_world.app.
This is from the Mac commandline. I have compiled this:
// Auf Back-Buffer schreiben / Write to back buffer
PRINT "Hello GLBasic World !", 0, 100;
// Back Buffer anzeigen / Show back buffer
SHOWSCREEN
// Auf Maustaste warten / Wait for mousekey
MOUSEWAIT
I had hoped upgrading to El Capitan would save this problem, but it hasn't. Any ideas on how to tackle this?
:giveup:
Dont know that one, but does it work from the desktop ?
Yes. It could have to do with Virtualbox, but since it compiles fine I'm kind of in the dark as to what to do about it. I haven't found any good info on that error code either. :/
Might be worth asking about the error code on a Mac forum - I have a feeling it is a security error code...
permission issue? im havent checked out.
Or it could be due to the location download security message (like in Windows)...
I open it from the cli.
MacBook-Pro-2:RWI robertvanengelen$ open Hello_world.app/
LSOpenURLsWithRole() failed with error -10810 for the file /Users/robertvanengelen/RWI/Hello_world.app.
MacBook-Pro-2:RWI robertvanengelen$ sudo chmod a+rwx ./Hello_world.app/
Password:
MacBook-Pro-2:RWI robertvanengelen$ open Hello_world.app/
LSOpenURLsWithRole() failed with error -10810 for the file /Users/robertvanengelen/RWI/Hello_world.app.
I'll take your advice and register on a Mac forum.
According to https://github.com/atom/atom/issues/3093 (https://github.com/atom/atom/issues/3093), it could be some sort of permission error.
And yet I have repeatedly, and recursively, set permissions for everyone to run it:
sudo chmod -R a+rwx ./Hello_world.app/
I think it's some kind of Mac specific thing. One thing I noticed is, there used to be two options to compile for Mac (I think x86 and universal), now I have only one? I wonder if I have to compile with the other one, or if the Virtualbox complicates matters. :doubt:
Also Apple does not support universal apps for many many years ago.... That platform should been removed to avoid confuction. Im thinks its was back to Lion its got removed. So only uses x86, which should works. not universal.