# pragma message("Unknown compiler version - please run the configure tests and report the results") # endif #endif 就是说Boost库都有对VS最高版本的一个匹配,1.48版本以下,最高可适用到VS2010 所以即便我用VS2012编译了Boost1.42库,在链接到MongoDB库时,限于Boost库的定义,只能去找VC100的库。
通过boost\config\compiler\visualc.hpp文件,找到了问题根源,在文件最后有这样的代码: // last known and checked version is 1600 (VC10, aka 2010): #if (_MSC_VER > 1600) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the resul...
+// last known and checked version is 1500 (VC9): +#if (_MSC_VER > 1500) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else 然后就可以编译了,但是在编译过程中会有很多的warning C4819: The file contains ...
-// last known and checked version is 1400 (VC8): -#if (_MSC_VER > 1400) +// last known and checked version is 1500 (VC9): +#if (_MSC_VER > 1500) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" #...
Unknown compiler version - please run the configure tests and report the results compile-c-c++ bin.v2\libs\chrono\build\msvc-14.0\debug\link-static\threading-multi\process_cpu_clocks.obj process_cpu_clocks.cpp Unknown compiler version - please run the configure tests and report the results ...
Unknown compiler version - please run the configure tests and report the results libs\iostreams\src\mapped_file.cpp(59): warning C4244: “return”: 从“const boost::iostreams::stream_offset”转换到“std::size_t”,可能丢失数据 libs\iostreams\src\mapped_file.cpp(325): warning C4244: “参数...
compiler.version=7.5 compiler.libcxx=libstdc++11 build_type=Release Conan Command $ conan install . -pr=aarch64 -g ycm --build=missing Logs boost_filesystem/1.69.0@bincrafters/stable: Applying build-requirement: boost_generator/1.69.0@bincrafters/stable ...
It set: CMAKE_CXX_COMPILER_VERSION = 9.1.1 !!! I changed the build/cmake/compilers.cmake to add static c++ runtime linking but still need to copy mcfgthread-12.dll with the .exe files. See #437 How to fix that? I want all static linked, and move around just my .exe fileSign...
cpp Unknown compiler version - please run the configure tests and report the results C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstddef(12): fatal error C1083: 无法打开包括文件:“stddef.h”: No such file or directory cl /Zm800 -nologo ...
compiler --input-file=a.cpp 但通常情况常常这么写: compiler a.cpp 这里要解释一下这种用法。 像上例,没有参数名的命令行选项,在这个库里称为“位置参数项”,也能处理。库能解释“a.cpp”等同于“--input-file=a.cpp”。下面是所需的附加的代码: ...