今天在做Dialog框框的时候,突然冒出这么一个错误:
后来到网上查了一下,原来是已经运行了一个目标程序,再次编译时没办法删除上一次编译的那个可执行文件!!
嗨,简单的说就是刚才运行的程序没关,呵呵
今天在做Dialog框框的时候,突然冒出这么一个错误:
后来到网上查了一下,原来是已经运行了一个目标程序,再次编译时没办法删除上一次编译的那个可执行文件!!
嗨,简单的说就是刚才运行的程序没关,呵呵
摘抄高手的脚本,版本要老一些colinux063的,借鉴一下:
作了一个自动运行教本comp_develop_cn_ubuntu_nt.bat如下:
代码:
d:
cd D:\coLinux063
colinux-daemon.exe -c g:\MD_colinux_develop\comp_develop_cn_ubuntu.xml -t nt
--------
配置文件g:\MD_colinux_develop\comp_develop_cn_ubuntu.xml
-------
代码:
<?xml version="1.0" encoding="UTF-8">
<colinux>
<block_device index="0" path="\DosDevices\g:\MD_colinux_develop\ubuntu-develop-cn-5.10-colinux-i386.img" enabled="true" />
<block_device index="1" path="\DosDevices\e:\e_coLinux_server\swap_512Mb" enabled="true" />
<block_device index="2" path="\DosDevices\x:\Server\temp_ex3_empty.img" enabled="true" />
<block_device index="3" path="\DosDevices\x:\Server\temp_mysql_datadir.img" enabled="true" />
<block_device index="4" path="\DosDevices\k:\Server\temp_mysql_tabledir.img" enabled="true" />
<!-- This is an experimental feature, it may not function completely.
<cofs_device index="0" type="flat" path="\DosDevices\C:\" enabled="true" />
<cofs_device index="0" type="<flat | meta>" path="\DosDevices\<path>" enabled="true" />
mount -t cofs cofs0:Share -o uid=dax,gid=dax,dmask=0700,fmask=0700 /mnt/windows
sudo mount -t cofs 0 -o uid=username,gid=root,dmask=0700,fmask=0700 /home/username/mnt/cofs/username
sudo mount -t cofs cofs0 /home/username/mnt/cofs/username
sudo mount -t cofs cofs1 /home/username/mnt/cofs/apt_archives
Mount c:\Share as /mnt/windows and give dax exclusive full
access to all the files and directories.
An example fstab entry:
cofs0:Share /mnt/windows cofs defaults 0 0
cofs0 /home/username/mnt/cofs/username cofs defaults 0 0
-->
<cofs_device index="0" type="meta" path="\DosDevices\z:\MD_colinux_Backup\username" enabled="true" />
<cofs_device index="1" type="meta" path="\DosDevices\f:\zyn_colinux_develop\var_cache_apt_archives\" enabled="true" />
<cofs_device index="2" type="meta" path="\DosDevices\x:\" enabled="true" />
<bootparams>root=/dev/cobd0</bootparams>
<image path="vmlinux" />
<memory size="160" />
<network index="0" type="bridged" name="local" />
</colinux>
-------
主要你要指定正确的g:\MD_colinux_develop\ubuntu-develop-cn-5.10-colinux-i386.img路径
代码:
<block_device index="0" path="\DosDevices\g:\MD_colinux_develop\ubuntu-develop-cn-5.10-colinux-i386.img" enabled="true" />
和
代码:
<bootparams>root=/dev/cobd0</bootparams>