gpt4 book ai didi

eclipse - Eclipse中的多个 “could not be resolved”

转载 作者:行者123 更新时间:2023-12-02 11:00:24 26 4
gpt4 key购买 nike

我正在尝试使用Eclipse编译simulink生成的代码。我正在使用simulink库中的几个头文件。特别是,rtwsolver.h给某些标准C数据类型带来了几个“无法解决”错误,这很奇怪,因为我在项目中还有另一个文件使用了某些相同的数据类型,并且编译时没有问题。

我得到的错误:

Description Resource    Path    Location    Type
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 48 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 49 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 88 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 89 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 90 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 91 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 95 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 96 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 97 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 98 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 112 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 113 Semantic Error
Type 'boolean_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 117 Semantic Error
Type 'char_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 47 Semantic Error
Type 'char_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 106 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 58 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 59 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 60 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 61 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 63 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 65 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 66 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 68 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 75 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 78 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 79 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 85 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 93 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 101 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 102 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 103 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 110 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 111 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 115 Semantic Error
Type 'int_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 116 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 62 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 69 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 70 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 72 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 76 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 80 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 82 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 104 Semantic Error
Type 'real_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 109 Semantic Error
Type 'RTWRTModelMethodsInfo' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 108 Semantic Error
Type 'SimTimeStep' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 45 Semantic Error
Type 'SolverMode' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 50 Semantic Error
Type 'ssMatrixType' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 100 Semantic Error
Type 'time_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 52 Semantic Error
Type 'time_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 53 Semantic Error
Type 'time_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 54 Semantic Error
Type 'time_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 55 Semantic Error
Type 'time_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 56 Semantic Error
Type 'time_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 73 Semantic Error
Type 'uint8_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 83 Semantic Error
Type 'uint8_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 84 Semantic Error
Type 'uint8_T' could not be resolved rtw_solver.h /CAN1/include/simulink/include line 86 Semantic Error

最佳答案

关闭该项目,重新打开它,瞧,错误消失了。上帝保佑Eclipse。

关于eclipse - Eclipse中的多个 “could not be resolved”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43473541/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com