NIOS II - Eclipse - ERROR - " Type 'xxxx' could not be resolved "
NIOS II - Eclipse - ERROR - " Type 'xxxx' could not be resolved "
打开Eclipse后,编辑c/c++,编译时出错:* could not be resolved ,但能够运行,结果正确
解决方法:
在eclipse上,project->properties->C/C++ General->indexer,将大部分选项都选中,如下图所示:
PS:如果都按照图片上的选项都选上了还是不行,则假如你的工程为C++工程,则Index unused headers as C++ files 选中,Index unused headers as C files 就别选中了,反之为C工程,则Index unused headers as C++ files不选,