1
我在其他論壇上閱讀過類似的問題,但他們的解決方案對我來說並不適用。Ubuntu下Eclipse中Android NDK的語義錯誤
問題描述:
當我運行我在Eclipse項目的Android NDK與我遇到這樣的問題。
-Compilation正常工作,應用程序啓動
- 直到我打開該項目中的一個文件。
- 然後噸的「語義錯誤」的發生
- 然後我不能編譯它了(雖然我沒有修改任何一行代碼)
實例錯誤:
Description Resource Path Location Type
Function 'abs' could not be resolved Dataset.cpp /testproject/jni/Data line 355 Semantic Error
Function 'acos' could not be resolved Dataset.cpp /testproject/jni/Data line 467 Semantic Error
Function 'acos' could not be resolved Dataset.cpp /testproject/jni/Data line 535 Semantic Error
Function 'atan2' could not be resolved Dataset.cpp /testproject/jni/Data line 298 Semantic Error
Function 'atan2' could not be resolved Dataset.cpp /testproject/jni/Data line 335 Semantic Error
Function 'atan2' could not be resolved Dataset.cpp /testproject/jni/Data line 466 Semantic Error
Function 'atan2' could not be resolved Dataset.cpp /testproject/jni/Data line 534 Semantic Error
Function 'infinity' could not be resolved Dataset.cpp /testproject/jni/Data line 105 Semantic Error
待辦事項你知道如何解決這個問題?謝謝!
可以刪除Eclipse中的錯誤,然後再嘗試啓動? – krsteeve
是的,你可以,但它每分鐘都很煩人。 – RelativeGames