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