1. [bcc32c Error] cannot initialize a parameter of type 'System::Uitypes::TColor' with an rvalue of type 'int' Vcl.Graphics.hpp(390): passing argument to parameter 'Value' here

原始碼是這樣:

UniCanvas1->BitmapCanvas->Brush->Color = 0x00EFEFEF;

改寫成:

UniCanvas1->BitmapCanvas->Brush->Color = (TColor)0x00EFEFEF;

2. [bccaarm Error] PCH file built from a different branch ((35952.85d7ed9.2fdd2b5)) than the compiler ((35962.e6d55e0.777e1b8))

這是暫存檔的問題,可以透過選單Project->Clean XXX(專案名稱)去清掉暫存檔,之後再重新編譯過就可以了。

還有其他常見錯誤可以參考: 

http://www.cnblogs.com/cb168/p/4778558.html

 

 

arrow
arrow

    大衛的記事 發表在 痞客邦 留言(0) 人氣()