root@20240602:/tmp/OpenCC# make
mkdir -p build/rel
(cd build/rel; cmake \
-DBUILD_DOCUMENTATION:BOOL=ON \
-DENABLE_GTEST:BOOL=OFF \
-DENABLE_BENCHMARK:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
../..)
CMake Error at CMakeLists.txt:26:
Parse error. Expected a command name, got quoted argument with text "Use
Doxygen to create the HTML based API documentation".
-- Configuring incomplete, errors occurred!
See also "/tmp/OpenCC/build/rel/CMakeFiles/CMakeOutput.log".
make: *** [Makefile:26: build] Error 1
root@20240602:/tmp/OpenCC#
感觉OpenCC问题挺多的。装过几次,有时候很顺利,有时候不是缺少这个依赖,就是缺少那个。
root@20240602:/tmp/OpenCC# make mkdir -p build/rel (cd build/rel; cmake \ -DBUILD_DOCUMENTATION:BOOL=ON \ -DENABLE_GTEST:BOOL=OFF \ -DENABLE_BENCHMARK:BOOL=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ ../..) CMake Error at CMakeLists.txt:26: Parse error. Expected a command name, got quoted argument with text "Use Doxygen to create the HTML based API documentation".
-- Configuring incomplete, errors occurred! See also "/tmp/OpenCC/build/rel/CMakeFiles/CMakeOutput.log". make: *** [Makefile:26: build] Error 1 root@20240602:/tmp/OpenCC#