how to solve the error "Unsupported configuration"
-
wrote on 6 Aug 2024, 06:15 last edited by
-
I tried to include the Crypto++ library in qtcreator, but there is always an error in the Crypto++ library that is included, how to solve this problem?
encryptionfile.h:7:10: In included file: : "Unsupported configuration" config_os.h:33:3: error occurred here
wrote on 6 Aug 2024, 06:23 last edited by ChrisW67 8 Jun 2024, 06:24Did you look at the specified line in the specified include file?
// The problems with Clang pretending to be other compilers is // discussed at http://github.com/weidai11/cryptopp/issues/147. #if (defined(_MSC_VER) && defined(__clang__)) # error: "Unsupported configuration" #endif
The clang involved here is probably the parser that Qt Creator uses to provide context sensitive suggestions like the one you see there. Since that use has nothing to do with the compiler you are using to build your project it I would be a reasonable bet that the code actually compiles (with either GCC or MSVC).
-
Did you look at the specified line in the specified include file?
// The problems with Clang pretending to be other compilers is // discussed at http://github.com/weidai11/cryptopp/issues/147. #if (defined(_MSC_VER) && defined(__clang__)) # error: "Unsupported configuration" #endif
The clang involved here is probably the parser that Qt Creator uses to provide context sensitive suggestions like the one you see there. Since that use has nothing to do with the compiler you are using to build your project it I would be a reasonable bet that the code actually compiles (with either GCC or MSVC).
wrote on 6 Aug 2024, 06:28 last edited by@ChrisW67 said in how to solve the error "Unsupported configuration":
Since that use has nothing to do with the compiler you are using to build your project it I would be a reasonable bet that the code actually compiles (with either GCC or MSVC).
yes the code can still run, but will it break the encryption or decryption process?
1/3