Calibre 2018 版本安装及遇到问题

一、安装calibre成功后碰到的问题

1、calibre interactive

没有写完,后面继续

二、安装calibre软件步骤

2.1、复制、解压

由于calibre安装的时候是直接安装在calibre安装包存放的路径,因此我们需要把calibre的安装包直接复制到calibre的安装目录。

首先进入/opt目录下,新建一个目录Mentor,在Mentor目录下在新建一个目录calibre2018

在/opt目录下打开terminal→创建目录,输入命令:

mkdir -p Mentor/calibre2018

这样Mentor目录和里面的calibre2018目录就都创建好了

然后将共享文件夹里面的calibre2018安装包复制到/opt/Mentor/calibre2018里面去,使用命令:

cp /mnt/hgfs/share/calibre/calibre2018/aoi_cal_2018.4_34.26_mib.exe /opt/Mentor/calibre2018

/mnt/hgfs/share/calibre/calibre2018/aoi_cal_2018.4_34.26_mib.exe为calibre2018安装包本来的路径

/opt/Mentor/calibre2018为复制的目标路径

然后将共享文件夹里面的calibre2022安装包复制到/opt/Mentor/calibre里面去,使用命令:

cp /mnt/hgfs/000_siph/calibre2022/aoi_cal_2018.4_34.26_mib.exe /opt/Mentor/calibre

注:上面两个操作在图形化界面用鼠标也是可以操作的,跟在Windows下差不多。

2.2、安装

进入/opt/Mentor/calibre2018目录下→打开terminal→进入root→输入命令:

./aoi_cal_2018.4_34.26_mib.exe

回车,运行安装程序

弹出下图的界面,输入D,回车

弹出下图界面,输入yes,回车

然后等待安装完成:

十分钟以后就完成了calibre2018的安装

最后可以把安装包删除,使用命令:

rm aoi_cal_2018.4_34.26_mib.exe

2.3、patch

进入/opt/patch目录下→打开terminal→进入root→输入命令:

./1patch.sh ../Mentor/calibre2018/

回车,进行calibre2018的patch

几分钟之后,完成calibre2018的patch

2.4、生成license

打开terminal→输入ifconfig,回车

查看mac地址,弹出如下界面,途中箭头处,ether后面的就是mac地址:00:0c:29:cd:d7:9e

进入/opt/patch目录下→打开terminal→输入命令:

python mgclicgen.py 00:0c:29:cd:d7:9e

产生calibre2018的license

进入/opt/Mentor目录下,打开terminal,新建文件夹,输入命令:

mkdir license

然后将产生的calibre2018的license复制到/opt/Mentor/license目录下:

cp /opt/patch/license.dat /opt/Mentor/license/

2.5、配置环境变量

在桌面上打开Home目录,然后打开隐藏文件.bashrc,并添加以下内容:

###########################Mentor###############################
#Set Mentor Directory
export Mentor_Dir=/opt/Mentor
export MGLS_LICENSE_FILE=$Mentor_Dir/license/license.dat
######Calibre
export MGC_HOME=$Mentor_Dir/calibre2018/aoi_cal_2018.4_34.26
export CALIBRE_HOME=$MGC_HOME
export PATH=$MGC_HOME/bin:$PATH
export MGC_LIB_PATH=$CALIBRE_HOME/lib

然后保存,关闭

测试一下,打开之前在桌面创建的test目录,输入

calibre -gui

出现下图

表示安装成功

2.6、将calibre集成到cadence

在桌面上打开Home目录,然后打开隐藏文件.cdsinit(这个文件是之前创建的),并添加以下内容:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; check CALIBRE_HOME
;
cal_home=getShellEnvVar("CALIBRE_HOME")
if( cal_home==nil then
    cal_home=getShellEnvVar("MGC_HOME")
    if( cal_home!=nil then
        printf("// CALIBRE_HOME environment variable not set; setting it to value of MGC_HOME\n");
    )
)
if( cal_home!=nil && isDir(cal_home) && isReadable(cal_home) then
    ; Load calibre.skl or calibre.4.3.skl, not both!
    ; Load calibre.skl for Cadence versions 4.4 and greater
    load(strcat(cal_home "/lib/calibre.skl"))
;;;Load calibre.4.3.skl for Cadence version 4.3
;;; load(strcat(cal_home "/lib/calibre.4.3.skl"))
else
    ; CALIBRE_HOME is not set correctly. Report problem.
    printf("//  Calibre Error: Environment variable ")
    if( cal_home==nil || cal_home=="" then
        printf("CALIBRE_HOME is not set.");
    else
        if( !isDir(cal_home) then
            printf("CALIBRE_HOME does not point to a directory.");
        else
            if( !isReadable(cal_home) then
                printf("CALIBRE_HOME points to an unreadable directory.");
            )
        )
    )
    printf(" Calibre Skill Interface not loaded.\n")
    ; Display a dialog box message about load failure.
    hiDisplayAppDBox(
        ?name           'MGCHOMEErrorDlg
        ?dboxBanner     "Calibre Error"
        ?dboxText       "Calibre Skill Interface not loaded."
        ?dialogType     hicErrorDialog
        ?dialogStyle    'modal
       ?button[layout]   'Close
    )
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

然后保存,关闭

打开virtuoso,在test目录打开terminal,输入

virtuoso &

弹出下图的界面,可以在virtuoso里看到calibre

2.7、使用过程中遇到的小问题

第一次跑DRC的时候,出现了一个错误:

Layout export failed or was cancelled. Please consult transcirpt in viewer window

当时忘记截图了。在网上找了个图:

然后我去CIW窗口看了一下:

说是加载libXp.so.6这个库的时候,失败

然后我用yum list查询了一下,没有查到这个函数库:

需要安装一下这个库,这个库在iso镜像文件里也是有的,

按照第三章第三节的方法安装这个库:

yum install libXp.x86.64

安装完成之后,就可以跑DRC了

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。