Results 1 to 10 of 42

Thread: Delphi XE2 is here!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by WILL View Post
    Well it's .NET or Java take your pick.
    hehe, true enough

  2. #2
    So, did anyone managed to run a Mac OS application compiled with Delphi XE 2 on actual Mac without installing the debugger (PAServer)?

    The empty project seems to run fine on my Mac Mini with Leopard 10.6.2 after copying dylibs from Delphi's directory, but in addition to the GUI window, it also opens Terminal window.

    After updating Leopard to 10.6.8, it doesn't even run. Clicking on the application opens Terminal window, which is blank.

  3. #3
    I have just tried it - shut down pa server and started up my mac app and it runs fine. macosx 10.6.8

    However, I have found that the GetCurrentDir command returns '/' when I run the application by double clicking on the Mac. Whereas if I start my App up with paserver running that same command returns a full path to the executable within the .app folder.

    That GetCurrentDir only returns "/" is very annoying.
    The views expressed on this programme are bloody good ones. - Fred Dagg

  4. #4
    Czar, thanks for the reply. However, when you install pa server, it installs a bunch of other stuff required for the application to run.

    How can you distribute the compiled Mac OS applications without having to install pa server? Or is the debugger a requirement and need to be bundled with every Mac OS application you make?

  5. #5
    I have not got access to a second mac to try that but I would be surprised if you had to distribute other files - have you set your build to "release" - perhaps if you leave it on "debugger" it requires extra files. You can change setting in the project group.
    The views expressed on this programme are bloody good ones. - Fred Dagg

  6. #6
    Quote Originally Posted by czar View Post
    I have not got access to a second mac to try that but I would be surprised if you had to distribute other files - have you set your build to "release" - perhaps if you leave it on "debugger" it requires extra files. You can change setting in the project group.
    Yes, my test machine is Mac Mini with Core 2 Duo 2.2 Ghz and Nvidia Geforce 9300. I've put fresh installation of OS X Leopard 10.6.2, updated it to 10.6.8. In Delphi XE 2, target Mac OS, Release Build. It's basically an application of an edit box, button and memo. If you simply copy the application to Mac Mini and run it, Terminal opens. This time, passing dylib files from Delphi's folder didn't help - running application does nothing but opens an empty terminal window.

    In my previous tests I've succeeded only after installing PAServer. However, I want to test the application on "Clean Install" of Mac OS, similar to what the customers will be using. It seems that you need to deploy PAServer along with your Mac OS application compiled with Delphi XE 2, which is a bit of nuisance.

  7. #7
    That would seem to be a right bother.

    I would have thought the pa server was only used for debugging and that the "deployed" application should be run as is.

    I would like a bit more clarity on the whole issue.

    I have also discovered that the MacBook that I own is quite slow - I believe it is because it doesn't have a GPU as such just a crappy intel graphics chip. Which means I also have to be aware of what effects etc are performance killers.
    Last edited by czar; 09-09-2011 at 09:24 PM.
    The views expressed on this programme are bloody good ones. - Fred Dagg

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •