BYVoid / OpenCC

Conversion between Traditional and Simplified Chinese
https://opencc.byvoid.com/
Apache License 2.0
8.3k stars 974 forks source link

CMake Error at src/CMakeLists.txt:155 (install): install TARGETS given target "marisa" which does not exist in this directory. #834

Open luoben4040 opened 9 months ago

luoben4040 commented 9 months ago

`[root@192-168-0-4 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 \ ../..) -- The CXX compiler identification is GNU 4.8.5 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Use bundled marisa library. -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success CMake Error at src/CMakeLists.txt:155 (install): install TARGETS given target "marisa" which does not exist in this directory.

-- Found Doxygen: /usr/bin/doxygen (found version "1.8.5") -- Found PythonInterp: /usr/bin/python (found version "2.7.5") -- Configuring incomplete, errors occurred! See also "/root/OpenCC/build/rel/CMakeFiles/CMakeOutput.log". make: *** [build] Error 1`

kjhgfdsaas commented 1 month ago

me too. Any solution please?