DSTWO SDK require GCC compiler support, many program developers may be working on Windows. In fortunately, CYGWIN and VM(Virtual Machine) technology can do this. CYGWIN employ some special DLL to enable Linux program run on Windows, it require fewer disk space and memory space, but the compability may be not the best. VM techonology can create a VM under windows, then install the Linux OS on the VM. This method cost more disk space and memory space, but it gives good compability on Linux program. The VMware and VirtualBox can do this, VirtualBox is open source project.
Here, we setup the Linux environment by VirtualBox and Ubuntu. more information about VirtualBox, please refer to http://www.virtualbox.org, more information about Ubuntu, please refer to http://www.ubuntu.com.
1. Downloading the latest windows version of Virtualbox from http://www.virtualbox.org. Downloading the latest 32-bit version of Ubuntu form http://www.ubuntu.com.
2. Install Virtualbox.
3. Creat a VM by Virtualbox. Before commence, you'd better be sure there is a logic disk using NTFS file system, and the free disk space are 8 GB or more. FAT32 also is OK, but it can't creat a file bigger than 4 GB. Following are detailed step:
download (142 KB)
27-9-2010 12:01
When Virtualbox started, it looks as picture-1, click [New] to start creating VM process
download (104.55 KB)
27-9-2010 12:06
Virtual Machine Wizard started, click [Next]
download (129.11 KB)
27-9-2010 12:08
In the name table, enter the name of the VM. Operating System select LINUX, Version select UBUNTU, click [Next]
download (92.92 KB)
27-9-2010 12:12
Selecte Memory size. Note, select a proper value accroding the physical memory size of the PC, when VM started, the VirtualBox will allocat the
memory, and Windows can't use any more until VM shutd own.
download (142.43 KB)
27-9-2010 12:19
Select Boot Hard Disk and Creat new hard disk, click [Next], it will pop up the Creat New Virtual Disk Wizard.
download (98.85 KB)
27-9-2010 12:22
Click [Next]
download (133.96 KB)
27-9-2010 12:24
Select Fixed-size storage recomended, this will get better perfomence for VM.
download (124.48 KB)
Picture-8
27-9-2010 12:29
The default storage address of the VM disk file are on the administrator's doucment files, advise moving to other place.
download (92.53 KB)
27-9-2010 15:41
Click [Finish], waiting the progress finish.
4. Install Ubuntu on VM. After VM created, snapshot as Picture-10
download (174.53 KB)
27-9-2010 15:55
Click [Settings], to load the Ubuntu image file to virtual disc driver.
download (129.27 KB)
27-9-2010 15:59
Select storage, IDE Controller, In Attributes item, CD/DVD device, add the address of Ubuntu's image file
download (138.65 KB)
Picture-13
27-9-2010 16:08
download (82.28 KB)
27-9-2010 16:07
OK, the image file loaded now. next, start VM, the VM will boot from virtual disc driver, the following thing are installing Ubuntu as install an OS on a bare PC. After Ubuntu installed, then shut down , and remove Ubuntu image file from virtual disc driver, the process similar to load a image file.
5. Additional thing, installing VM tools to enhance VM performence. Load VBoxGuestAdditions.iso image file to VM's virtual disc driver before start Ubuntu, the file in VirtualBox's installation directory.
Fisrt update Ubuntu:
sudo apt-get update
sudo apt-get upgrade
Note, You'd better select a faster software sources first, or else the process will cost several hours or more. The path is System/Administration/Software Sources:Ubuntu Software/Download from/Others...
Second, install GCC tools, then DKMS:
sudo apt-get install build-essential
sudo apt-get install dkms
then, reboot Ubuntu in order to activate the updates.
Third, change to the directory where the CD-ROM drive is mounted and execute as root:
sudo sh ./VBoxLinuxAdditions-x86.run
OK, the Linux environment are ready.
Here, we setup the Linux environment by VirtualBox and Ubuntu. more information about VirtualBox, please refer to http://www.virtualbox.org, more information about Ubuntu, please refer to http://www.ubuntu.com.
1. Downloading the latest windows version of Virtualbox from http://www.virtualbox.org. Downloading the latest 32-bit version of Ubuntu form http://www.ubuntu.com.
2. Install Virtualbox.
3. Creat a VM by Virtualbox. Before commence, you'd better be sure there is a logic disk using NTFS file system, and the free disk space are 8 GB or more. FAT32 also is OK, but it can't creat a file bigger than 4 GB. Following are detailed step:
download (142 KB)
27-9-2010 12:01
When Virtualbox started, it looks as picture-1, click [New] to start creating VM process
download (104.55 KB)
27-9-2010 12:06
Virtual Machine Wizard started, click [Next]
download (129.11 KB)
27-9-2010 12:08
In the name table, enter the name of the VM. Operating System select LINUX, Version select UBUNTU, click [Next]
download (92.92 KB)
27-9-2010 12:12
Selecte Memory size. Note, select a proper value accroding the physical memory size of the PC, when VM started, the VirtualBox will allocat the
memory, and Windows can't use any more until VM shutd own.
download (142.43 KB)
27-9-2010 12:19
Select Boot Hard Disk and Creat new hard disk, click [Next], it will pop up the Creat New Virtual Disk Wizard.
download (98.85 KB)
27-9-2010 12:22
Click [Next]
download (133.96 KB)
27-9-2010 12:24
Select Fixed-size storage recomended, this will get better perfomence for VM.
download (124.48 KB)
Picture-8
27-9-2010 12:29
The default storage address of the VM disk file are on the administrator's doucment files, advise moving to other place.
download (92.53 KB)
27-9-2010 15:41
Click [Finish], waiting the progress finish.
4. Install Ubuntu on VM. After VM created, snapshot as Picture-10
download (174.53 KB)
27-9-2010 15:55
Click [Settings], to load the Ubuntu image file to virtual disc driver.
download (129.27 KB)
27-9-2010 15:59
Select storage, IDE Controller, In Attributes item, CD/DVD device, add the address of Ubuntu's image file
download (138.65 KB)
Picture-13
27-9-2010 16:08
download (82.28 KB)
27-9-2010 16:07
OK, the image file loaded now. next, start VM, the VM will boot from virtual disc driver, the following thing are installing Ubuntu as install an OS on a bare PC. After Ubuntu installed, then shut down , and remove Ubuntu image file from virtual disc driver, the process similar to load a image file.
5. Additional thing, installing VM tools to enhance VM performence. Load VBoxGuestAdditions.iso image file to VM's virtual disc driver before start Ubuntu, the file in VirtualBox's installation directory.
Fisrt update Ubuntu:
sudo apt-get update
sudo apt-get upgrade
Note, You'd better select a faster software sources first, or else the process will cost several hours or more. The path is System/Administration/Software Sources:Ubuntu Software/Download from/Others...
Second, install GCC tools, then DKMS:
sudo apt-get install build-essential
sudo apt-get install dkms
then, reboot Ubuntu in order to activate the updates.
Third, change to the directory where the CD-ROM drive is mounted and execute as root:
sudo sh ./VBoxLinuxAdditions-x86.run
OK, the Linux environment are ready.