I need hep setting up my development environment so I can create cross-platform programs. (Mac and OS).

I need hep setting up my development environment so I can create cross-platform programs. (Mac and OS).

In my house there is currently a mixture of Windows and Mac computers that all talk to the internet using wireless. With the exception of one XP machine that is connected to the router using cat-5, the rest are wireless.

I'm currently running XE4 Enterprise and I cannot take advantage of cross-platform development because my development machine Windows 7 Professional cannot see or communicate with any of the Macs in the house.

I have read and re-read Brian Longs post Delphi for iOS - some notes.
http://blog.blong.com/2013/05/delphi-for-ios-some-notes.html

I have even read and re-read the Embarcadero articles his blog links to. They all assume there is a network already setup and able to be tapped into.

How do I go about setting up my development environment so I can see all the devices in my house. I'm especially interested in learning how to do the xcode piece on one of the macs that's in my house.

TIA

Comments

  1. That's weird - by "don't see" do you mean you can't even ping them?

    For cross-platform development you don't need Windows file sharing or anything, ie you don't need to be able to "see" the other devices in Explorer or Finder.  Just being able to access the IP and port is enough.  So, try solving that (if that is the problem) first.

    ReplyDelete
  2. How do I find the IP address of my wife's Mac so I can try to ping it?

    Found it
    http://www.wikihow.com/Find-Your-IP-Address-on-a-Mac

    ReplyDelete
  3. I suppose it is not a fixed ip so you can look on the dhcp serving device, normally that would be your router.

    ReplyDelete
  4. David Intersimone thank you for the links.

    At the 39 second mark in the XE5 you say:
    https://youtu.be/Q7lZJc1n-yI?t=38

    "In my configuration I'm running a MacBook Pro Running Mountain Lion 10.8.4 and I'm also running Windows 7 64 Bit as a guest operating system using VMWare Fusion. This allows me to run the Windows based Rad Studio XE5 IDE at the same time connect to a Machintosh to do OS-10 development and also do my iOS deployment  and testing and development."

    I must be the dumbest Delphi guy on the planet.

    Does this mean you have two machines?
      1. A MacBook Pro machine
      2. A Windows 7 64 Bit machine

    ReplyDelete
  5. Michael Riley No, he has one machine: a MacBook pro running Windows 7 in a VM.     

    Now, I do have an iMac running VMware Fusion on which I'm also running Windows 7 (32-bit with 3 gb memory - 32-bit only supports 3.5gb, I think) as a guest operating system.   If you're running 64bit Windows 7, you can configure it to use more of the Mac's memory.

    However, I do have another separate Windows 7 machine (with 32gb of memory and an i-7 class cpu and about 2TB HD).   I find that Delphi runs faster on the Windows 7 machine, but, when it needs to connect across the network to the Mac (via the ip address and Pas Server), it IS slower than when you use the Windows 7 running in VMWare fusion, which I guess, makes sense, because it's on the same machine.

    ReplyDelete
  6. David Millington I turned my wife's older Mac Book Pro and was able to ping the machine. I just got done watching David Intersimone's XE5 video  (https://youtu.be/Q7lZJc1n-yI) and I'm unclear whether he has it set up as one or two machines.

    How do you have your system setup so you can create cross-application development for Windows and OSX?

    ReplyDelete
  7. Phillip Woon so if I was to setup my environment the same way I'd have to Install Delphi and all the 3rd party components on the Mac Book Pro. Yes?

    ReplyDelete
  8. Yes, you would have to re-install everything in that windows, and you'll need a new license for Windows .  However, I think there is a way to import your Windows 7 machine into the VMWare environment on the Mac.   I think you might still need another license for Windows.   With VMware, however, once you've created one VM with Windows, you can make copies, and as long as you say "Moved it" when it asks you, it won't require you to activate windows again.

    ReplyDelete
  9. To get around having to buy Windows again, just use your existing Windows machines.  As long as you can ping the IP address of the Mac from windows, you should be ok.

    ReplyDelete
  10. It doesn't matter if it's two machines (one OSX, one Windows) or one machine (eg host OSX, hosted VM running Windows.) It's the same whether "real" or virtual. The key is that they can communicate over the network. So, so long as you can communicate between the two machines you're all ok.

    You say you can ping each machine from the other (ie OSX -> Windows and Windows -> OSX.) When you set up the connection profile, in which there are IP and port fields, there's also a Test button. What happens when you press that?  (For that to work, the PAServer has to be running on the Mac side, and you should enter the IP of the Mac machine and port that the PAServer is using in the configuration into Delphi on the Windows side.)

    ReplyDelete
  11. in Paserver running on the mac
    type in i
    and it will show the IP addresses to use

    ReplyDelete
  12. Just to chip in here, first make sure you can ping both machines like David Millington mentions also temporarily turn off your firewall on your OSX machine that your running PAServer on.  If everything works fine with the firewall down but not with it up you will need to click on Advanced button and add an exception or two for the PAServer.

    ReplyDelete

Post a Comment