Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/arrays/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误:";没有名为'的成员;uint8';在全局名称空间中;关于马科斯 Chriss-MacBook-Pro-2:构建路易斯多普利斯$cmake..&&制作 在/Library/Developer/CommandLineTools/usr/include/c++/v1/utility:203中包含的文件中: /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:158:8:错误:否 全局命名空间中名为“uint8\t”的成员 使用::uint8\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:159:8:错误:否 全局命名空间中名为“uint16\t”的成员 使用::uint16\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:160:8:错误:否 全局命名空间中名为“uint32\u t”的成员 使用::uint32_t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:161:8:错误:否 全局命名空间中名为“uint64_t”的成员 使用::uint64_t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:178:8:错误:否 全局命名空间中名为“uint\u fast8\u t”的成员 使用::uint\u fast8\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:179:8:错误:否 全局命名空间中名为“uint\u fast16\u t”的成员 使用::uint\u fast16\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:180:8:错误:否 全局命名空间中名为“uint\u fast32\u t”的成员 使用::uint\u fast32\u t; ~~^ 致命错误:发出的错误太多,正在停止[-ferror limit=] 产生了20个错误。 make[2]:***[CMakeFiles/path_planning.dir/src/main.cpp.o]错误1 make[1]:***[CMakeFiles/path_planning.dir/all]错误2 make:**[全部]错误2_C++_Macos_Cmake - Fatal编程技术网

错误:";没有名为'的成员;uint8';在全局名称空间中;关于马科斯 Chriss-MacBook-Pro-2:构建路易斯多普利斯$cmake..&&制作 在/Library/Developer/CommandLineTools/usr/include/c++/v1/utility:203中包含的文件中: /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:158:8:错误:否 全局命名空间中名为“uint8\t”的成员 使用::uint8\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:159:8:错误:否 全局命名空间中名为“uint16\t”的成员 使用::uint16\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:160:8:错误:否 全局命名空间中名为“uint32\u t”的成员 使用::uint32_t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:161:8:错误:否 全局命名空间中名为“uint64_t”的成员 使用::uint64_t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:178:8:错误:否 全局命名空间中名为“uint\u fast8\u t”的成员 使用::uint\u fast8\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:179:8:错误:否 全局命名空间中名为“uint\u fast16\u t”的成员 使用::uint\u fast16\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:180:8:错误:否 全局命名空间中名为“uint\u fast32\u t”的成员 使用::uint\u fast32\u t; ~~^ 致命错误:发出的错误太多,正在停止[-ferror limit=] 产生了20个错误。 make[2]:***[CMakeFiles/path_planning.dir/src/main.cpp.o]错误1 make[1]:***[CMakeFiles/path_planning.dir/all]错误2 make:**[全部]错误2

错误:";没有名为'的成员;uint8';在全局名称空间中;关于马科斯 Chriss-MacBook-Pro-2:构建路易斯多普利斯$cmake..&&制作 在/Library/Developer/CommandLineTools/usr/include/c++/v1/utility:203中包含的文件中: /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:158:8:错误:否 全局命名空间中名为“uint8\t”的成员 使用::uint8\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:159:8:错误:否 全局命名空间中名为“uint16\t”的成员 使用::uint16\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:160:8:错误:否 全局命名空间中名为“uint32\u t”的成员 使用::uint32_t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:161:8:错误:否 全局命名空间中名为“uint64_t”的成员 使用::uint64_t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:178:8:错误:否 全局命名空间中名为“uint\u fast8\u t”的成员 使用::uint\u fast8\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:179:8:错误:否 全局命名空间中名为“uint\u fast16\u t”的成员 使用::uint\u fast16\u t; ~~^ /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint:180:8:错误:否 全局命名空间中名为“uint\u fast32\u t”的成员 使用::uint\u fast32\u t; ~~^ 致命错误:发出的错误太多,正在停止[-ferror limit=] 产生了20个错误。 make[2]:***[CMakeFiles/path_planning.dir/src/main.cpp.o]错误1 make[1]:***[CMakeFiles/path_planning.dir/all]错误2 make:**[全部]错误2,c++,macos,cmake,C++,Macos,Cmake,如何修复这些致命错误? 我使用brew安装了cmake,当我升级到新的Mac时,这些错误开始出现 这与cmake本身的首选项有关吗?我在npm install hummus中看到了相同的错误,或者当我尝试使用 #include <cstdint> int main(int argc, char **argv) { return 0; } #包括 int main(int argc,字符**argv){ 返回0; } 要编

如何修复这些致命错误? 我使用brew安装了cmake,当我升级到新的Mac时,这些错误开始出现


这与cmake本身的首选项有关吗?

我在npm install hummus中看到了相同的错误,或者当我尝试使用

      #include <cstdint>

      int main(int argc, char **argv) {
         return 0;
      } 
#包括
int main(int argc,字符**argv){
返回0;
} 
要编译,请将Mac SDK添加到包含路径:


clang++-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk test.cpp我在npm install hummus中或在我尝试clang++test.cpp时看到了相同的错误

      #include <cstdint>

      int main(int argc, char **argv) {
         return 0;
      } 
#包括
int main(int argc,字符**argv){
返回0;
} 
要编译,请将Mac SDK添加到包含路径:

clang++-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk test.cpp

我发布了我在不同地方看到的另一个解决方案这是Mojave更新给开发人员带来的众多问题之一。我发布了另一个解决方案在不同的地方看到这是Mojave更新给开发人员带来的许多问题之一。