问题:一台在同一台PC上的虚拟机中装有Win7和Delphi XE6以及Mac OSX的PC [英] Trouble: A PC with win7 and Delphi XE6, and Mac OSX in virtualbox on the same PC

查看:117
本文介绍了问题:一台在同一台PC上的虚拟机中装有Win7和Delphi XE6以及Mac OSX的PC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在创建新的Delphi目标平台OS X时遇到困难.

I'm having difficulties in creating a new Delphi target platform OS X.

我正在使用的计算机是装有Win7的PC.在此PC上,我在VirtualBox上安装了MAC OS X,此装有Mac OS X的虚拟机运行完美.

The machine I'm using is a PC with Win7. On this PC I have MAC OS X installed on VirtualBox, this virtual machine with Mac OS X works perfectly.

在Win7中,我安装了Embarcadero Delphi XE6,并开发了一个软件,并希望将其编译为Windows和Mac.

In Win7 I installed Embarcadero Delphi XE6, and developed a software and want to compile it for Windows and for Mac.

但是当我尝试添加新的目标平台OS X时,Delphi询问我远程计算机的IP地址或名称,因此我已在虚拟机中安装了RAD PAServer XE6,然后按"I"键知道ip虚拟机,并给了我ip 10.0.2.15,因此我将该IP放在Win7的Delphi中,但是当我测试连接时,出现错误:

But when I try to add a new target platform OS X, Delphi asks me the IP address or name of the remote machine, so I have installed the RAD PAServer XE6 in virtual machine, and pressed the 'I' key to know the ip virtual machine, and gave me the ip 10.0.2.15, so I put that IP in Delphi on Win7, but when I test the connection, error appears:

Connection to '10.0.2.15' on port 64211 failed. Make sure the that 'Platform Assistent Server' is running on the host machine and is configuered to use port 64211.

是什么让我失望...一些设置?我将在win7中激活一些额外的软件来与VirtualBox桥接吗?

What is failing me ... some settings? I'll have some extra software active in win7 to bridge with VirtualBox?

请有人帮我,我的应用程序已经准备就绪,想在Mac OSX系统上对其进行测试.

Please someone help me, my application is almost ready and wanted to test it on the Mac OSX system.

我已经在互联网上进行搜索,但是只能在WinXP虚拟机上找到与Delphi XE6兼容的Mac OS X计算机,但我的情况恰恰相反,它是一台装有Delphi XE6的Win7计算机.在虚拟机中使用Mac OS X.

I have searched on the internet, but can only find a Mac OS X machine working with Delphi XE6 on WinXP virtual machine, but my case is the opposite, it is a Win7 machine with Delphi XE6; with Mac OS X in a virtual machine.

推荐答案

已经解决了这个问题,非常简单:

Already solved the problem, is very simple:

1-在"VirtualBox",设置",网络"中,选择桥接适配器",以便 虚拟机位于相同的子网掩码中.

1 - In VirtualBox, Settings, Network, choose Bridged Adapter, so that virtual machine is in the same subnet mask.

2-在装有Mac OS X的虚拟机中,运行Rad PAServer,然后按 我"可以看到IP.

2 - In the virtual machine with Mac OS X, run the Rad PAServer, press the 'I' to see the IP.

3-转到防火墙规则并添加通信,该IP出现在 PAServer和端口.

3 - Go to firewall rules and add in communication, the IP that appears in PAServer and the port.

4-在Delphi中添加OS X或iOS X平台,将IP地址和端口 虚拟机,并且可以100%工作.

4 - In Delphi add a platform, OS X or iOS X, put the IP and port of virtual machine, and works to 100%.

谢谢...

这篇关于问题:一台在同一台PC上的虚拟机中装有Win7和Delphi XE6以及Mac OSX的PC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆