CCS Debug Assertion Failed


下载安装CCS7.1后编译工程时报错,如下:

 

 

 

 

 

 

 

 

 

 

 

 

 

本来以为这种情况是由于CCS没有安装成功所导致的,但尝试安装其他版本时也发生同样的问题。

于是登录到 TI的wiki 上查找原因,在安装栏下说明:

    • Ensure that your Username does not have any non-ascii characters, and that you are installing CCS to a directory that does not have any non-ascii characters . 
      A temporary directory using the Username is created during installation, and Eclipse is unable to handle non-ascii characters. If your Username does have non-ascii characters, please create a temporary admin user for installing CCS.

由于Eclipse要在纯ascii环境下编译,于是我们的用户名也要全使用ascii字符。

 

原来是因为我的用户名包含中文字符所导致的,那么怎么改用户名呢?

注意是用户名(C:\Users\下的名字)而不是计算机名。

 

Windows10怎么更改登录用户文件夹名

1. 切换用户到Administrator

  • 以管理员身份运行,命令提示符(cmd)
  • cmd中输入 

      net user administrator /active:yes


  来开启administrator账户

  • 全部结束后要关闭则输入 

     net user administrator /active:no

2. Windows键+R打开运行,输入regedit,点击确定打开Windows注册表管理器。

3. 依次展开HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Profilelist,在Profilelist下的文件夹对应系统中用户,而文件夹中ProfileImagePath值是指向每个用户文件夹的地址,一个个点击查看,找到中文名用户的对应所在的ProfileImagePath值。

 

修改完成后,CCS就正常编译工程了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM