win下build.bat编译不会用
用build.bat编译librime,glob和yaml-cpp都提示 Could not find yaml-cpp library.
Environment variable Boost_ROOT is set to:
D:\boost_1_74_0
For compatibility, CMake is ignoring the variable. This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at cmake/FindYamlCpp.cmake:28 (message): Could not find yaml-cpp library. Call Stack (most recent call first): CMakeLists.txt:109 (find_package)
-- Configuring incomplete, errors occurred!
error building la rime.
我先是独立编译各个库,boost过去了,在env.bat里设置参数,boost可以,但是后面的glog和yaml-cpp都不行,build.bat、cmakelist.txt和env.bat都加了东西,都识别不了。 好像是找不到路径,也好像是路径下没有正确的.cmake文件。
請按照文檔說明的方法構建: https://github.com/rime/librime/blob/master/README-windows.md