8/18/2023 0 Comments Protobuff windows cmakeDCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES=%MINGWPATH%\x86_64-w64-mingw32\includeĪt the end, the following command is appropriate for 32 build:Ĭmake.exe -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES=%MINGWPATH%\i686-w64-mingw32\include -DCMAKE_INSTALL_PREFIX=%MINGWPATH%\opt. DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES=%MINGWPATH%\i686-w64-mingw32\includeįor 32 build and for 64 build is like follows : Part 1 - Protocol Buffer ProtoBuf C Windows CMake Visual Studio 6,900 views 47 Dislike Share Tech Hipster 23 subscribers Don't forget to watch Part 2 and Part 3 for. So, to fix that we make sure append following additional cmake command The problem is that gcc treats -isystem differently than usual -I flag. In file included from C:\mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c /bits/stl_algo.h:59,įrom C:\mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c /algorithm:62,įrom d:/git/protobuf/src/google/protobuf/stubs/common.h:38,įrom d:/git/protobuf/src/google/protobuf/arena_impl.h:39,įrom d:/git/protobuf/src/google/protobuf/arena.h:51,įrom D:\masteraplikasi\transferh11nov\protobufgit\protobuf\src\google\protobuf\:31:Ĭ:\mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c /cstdlib:75:15: fatal error: stdlib.h: No such file or directory You'll be greeted with following errors:.\build
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |