I got this error during build
note8g2018 opened this issue · comments
I got this error during build:
Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
CMake Error at C:/Program Files/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Boost (missing: system filesystem) (found suitable version
"1.72.0", minimum required is "1.60")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.16/Modules/FindBoost.cmake:2179 (find_package_handle_standard_args)
CMakeLists.txt:45 (find_package)
Configuring incomplete, errors occurred!
See also "C:/Users/GL553VD/source/repos/feather/feather/build/CMakeFiles/CMakeOutput.log".
even I installed boost_1_72_0
this is the msvc project file: https://github.com/qicosmos/feather/blob/master/feather.vcxproj
just open it with msvc.
the cmakelists.txt is only for linux.
1>------ Build started: Project: feather, Configuration: Debug Win32 ------
1>main.cpp
1>Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
1>- add -D_WIN32_WINNT=0x0601 to the compiler command line; or
1>- add _WIN32_WINNT=0x0601 to your project's Preprocessor Definitions.
1>Assuming _WIN32_WINNT=0x0601 (i.e. Windows 7 target).
1>C:\Users\GL553VD\source\repos\feather2\feather\cinatra\include\cinatra\utils.hpp(270,16): warning C4018: '<': signed/unsigned mismatch
1>C:\Users\GL553VD\source\repos\feather2\feather\cinatra\include\cinatra\session.hpp(68,22): warning C4244: '=': conversion from 'time_t' to 'size_t', possible loss of data
1>C:\Users\GL553VD\source\repos\feather2\feather\cinatra\include\cinatra\session_manager.hpp(45,32): warning C4244: 'argument': conversion from 'time_t' to 'size_t', possible loss of data
1>C:\Users\GL553VD\source\repos\feather2\feather\cinatra\include\cinatra\request.hpp(72,23): warning C4244: 'argument': conversion from '__int64' to 'size_t', possible loss of data
1>C:\Users\GL553VD\source\repos\feather2\feather\ormpp\mysql.hpp(499,45): error C2065: 'MYSQL_BIND': undeclared identifier
1>C:\Users\GL553VD\source\repos\feather2\feather\ormpp\mysql.hpp(499,38): error C2923: 'std::vector': 'MYSQL_BIND' is not a valid template type argument for parameter '_Ty'
1>C:\Users\GL553VD\source\repos\feather2\feather\ormpp\mysql.hpp(499,3): fatal error C1903: unable to recover from previous error(s); stopping compilation
1>Done building project "feather.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
https://github.com/qicosmos/feather/blob/master/README.en.md
look at this document.
install one of the three connector.
I do not need any connector. I just care about websocket
you could use cinatra directly.
I got this error also in cinatra:
>------ Build All started: Project: cinatra, Configuration: x64-Debug ------
[1/2] C:\PROGRA~2\MICROS~4\2019\ENTERP~1\VC\Tools\MSVC\1424~1.283\bin\HostX64\x64\cl.exe /nologo /TP -DASIO_STANDALONE /DWIN32 /D_WINDOWS /W3 /GR /EHsc /std:c++latest /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cinatra_example.dir\main.cpp.obj /FdCMakeFiles\cinatra_example.dir\ /FS -c ..\..\..\main.cpp
FAILED: CMakeFiles/cinatra_example.dir/main.cpp.obj
C:\PROGRA~2\MICROS~4\2019\ENTERP~1\VC\Tools\MSVC\1424~1.283\bin\HostX64\x64\cl.exe /nologo /TP -DASIO_STANDALONE /DWIN32 /D_WINDOWS /W3 /GR /EHsc /std:c++latest /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cinatra_example.dir\main.cpp.obj /FdCMakeFiles\cinatra_example.dir\ /FS -c ..\..\..\main.cpp
C:\Users\GL553VD\source\repos\cinatra\include\cinatra\use_asio.hpp(6): fatal error C1083: Cannot open include file: 'asio.hpp': No such file or directory
ninja: build stopped: subcommand failed.
Build All failed.
just like feather, use msvc project please, cmakelists is just for linux
there is no msvc project in cinatra