OPT3101 最新的SDK编译一直报错
user5322079:
user5322079:
Building configuration: pro – Debug Updating build tree… environmentControl.cpp hostController.cpp OPT3101_Calibration.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error while running C/C++ Compiler main.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error while running C/C++ Compiler OPT3101_configuration.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error while running C/C++ Compiler OPT3101Calibration.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error while running C/C++ Compiler OPT3101Crosstalk.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe308]: more than one instance of overloaded function "pow" matches the argument list: C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101Crosstalk.cpp 74 function "__nounwind pow(double, int)" function "__nounwind pow(float, int)" function "__nounwind pow(long double, int)" argument types are: (int, int) Error[Pe308]: more than one instance of overloaded function "pow" matches the argument list: C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101Crosstalk.cpp 74 function "__nounwind pow(double, int)" function "__nounwind pow(float, int)" function "__nounwind pow(long double, int)" argument types are: (int, int) Error while running C/C++ Compiler OPT3101DesignCoefficients.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error while running C/C++ Compiler OPT3101device_Functions.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error while running C/C++ Compiler OPT3101device_RegisterMap.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 30 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 31 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 32 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 33 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 34 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 35 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 36 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 37 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 38 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 39 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 40 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 41 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 42 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 43 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 44 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 45 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 46 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 47 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 48 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 49 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 50 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 51 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 52 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 53 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 54 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 55 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 56 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 57 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 58 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 59 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 60 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 61 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 62 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 63 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 64 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 65 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 66 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 67 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 68 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 69 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 70 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 71 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 72 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 73 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 74 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 75 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 76 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 77 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 78 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 79 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 80 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 81 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 82 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 83 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 84 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 85 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 86 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 87 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 88 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 89 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 90 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 91 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 92 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 93 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 94 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 95 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 96 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 97 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 98 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 99 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 100 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 101 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 102 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 103 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 104 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 105 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 106 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 107 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 108 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 109 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 110 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 111 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 112 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 113 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 114 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 115 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 116 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 117 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 118 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 119 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 120 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 121 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 122 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 123 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 124 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 125 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 126 Error[Pe415]: no suitable constructor exists to convert from "int" to "OPT3101::deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\OPT3101device_RegisterMap.cpp 127 Fatal Error[Ms016]: Error limit reached Error while running C/C++ Compiler OPT3101PhaseOffset.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error while running C/C++ Compiler register.cpp Error[Pe018]: expected a ")" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe070]: incomplete type is not allowed C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.h 98 Error[Pe135]: class "OPT3101::deviceRegister" has no member "deviceRegister" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 35 Error[Pe258]: "this" may only be used inside a nonstatic member function C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 38 Warning[Pe174]: expression has no effect C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 47 Error[Pe065]: expected a ";" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 47 Warning[Pe174]: expression has no effect C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 74 Error[Pe065]: expected a ";" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 74 Warning[Pe174]: expression has no effect C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 75 Error[Pe065]: expected a ";" C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 75 Error[Pe020]: identifier "bitPos" is undefined C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 79 Error[Pe757]: member "OPT3101::deviceRegister::uint8_t" is not a type name C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 94 Error[Pe493]: no instance of overloaded function "OPT3101::deviceRegister::read" matches the specified type C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 94 Error[Pe757]: member "OPT3101::deviceRegister::uint8_t" is not a type name C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 100 Error[Pe147]: declaration is incompatible with "__interwork __softfp uint32_t OPT3101::deviceRegister::readI2C(uint8_t)" (declared at line 76 of "C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\ C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 100 opt3101_pro\OPT3101SDK\register.h") Error[Pe757]: member "OPT3101::deviceRegister::uint8_t" is not a type name C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 106 Error[Pe147]: declaration is incompatible with "__interwork __softfp void OPT3101::deviceRegister::writeI2C(uint8_t, uint32_t)" (declared at line 85 of "C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\ C:\Users\HXSXM\Desktop\NXP 14th Car Match\Work Out Barriers\OPT3101\demos\opt3101_pro\OPT3101SDK\register.cpp 106 opt3101_pro\OPT3101SDK\register.h") Error while running C/C++ Compiler Total number of errors: 133 Total number of warnings: 3
Annie Liu:
回复 user5322079:
为更加有效地解决您的问题,我们建议您将问题发布在E2E英文技术论坛上https://e2e.ti.com/support/sensors/f/1023,将由资深的工程师为您提供帮助。我们的E2E英文社区有TI专家进行回复,并得到全球各地工程师的支持,分享他们的知识和经验。