安装完RealView compiler之后ADS编译器没法运行的问题

在安装RealView compiler后,遇到ADS编译器无法正常运行的状况。该问题发生在2010年4月23日,具体时间10:06:39 PM。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安装完RealView compiler之后ADS编译器没法运行的问题

4/23/2010 10:06:39 PM
在安装完RealView之后,再编译原来依赖于ADS 1.2编译器的代码,无法编译,出现如下提示,我们可以把ADS 1.2的Lincense覆盖到c:/arm/license下,即可解决。
 
Serious error: C3397E: Cannot obtain license for compiler with license version >
= 1.2: Invalid (inconsistent) license key
 The license-key and data for the feature do not match.
 This usually happens when a license file has been altered
Feature:       compiler
License path:  c:/arm/licenses/license.dat
FLEXlm error:  -8,130
For further information, refer to the FLEXlm End User Manual,
available at " www.globetrotter.com".
 
继续编译仍然存在Serious error: C3052E: couldn't read file '../../apps/StaticExtensions/OEM/Src/xxx.c'的问题,
此问题与cygwin的环境有关,我们通过mount可以看到:
C:/CygwinPortable/App/Cygwin/bin on /usr/bin type user (binmode)
C:/CygwinPortable/App/Cygwin/lib on /usr/lib type user (binmode)
C:/CygwinPortable/App/Cygwin on / type user (binmode)
C:/cygwin/bin on /usr/bin type system (binmode)
C:/cygwin/lib on /usr/lib type system (binmode)
C:/cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
而我们希望的cygwin的bin是c:/cygwin,而不是c:/cygwinportable/app/cygwin目录,这个目录的修改是在注册表中保存的:
HKEY_CURRENT_USER/Software/Cygnus Solutions/Cygwin/mounts v2]
[HKEY_CURRENT_USER/Software/Cygnus Solutions/Cygwin/mounts v2//]
"native"="C://CygwinPortable//App//Cygwin"
"flags"=dword:00000002
[HKEY_CURRENT_USER/Software/Cygnus Solutions/Cygwin/mounts v2//usr/bin]
"native"="C://CygwinPortable//App//Cygwin//bin"
"flags"=dword:00000002
[HKEY_CURRENT_USER/Software/Cygnus Solutions/Cygwin/mounts v2//usr/lib]
"native"="C://CygwinPortable//App//Cygwin//lib"
"flags"=dword:00000002
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值