Closed GoogleCodeExporter closed 9 years ago
比如說一下怎麼樣編譯失敗?
Original comment by damage3...@gmail.com
on 6 May 2013 at 6:46
s/比如/不如
Original comment by damage3...@gmail.com
on 6 May 2013 at 6:46
$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -D
ENABLE_GETTEXT:BOOL=ON ..
zsh: correct 'cmake' to 'make' [nyae]? n
-- The C compiler identification is Clang 4.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at
/usr/local/Cellar/cmake/2.8.10.2/share/cmake/Modules/FindPackageHandleStandardAr
gs.cmake:97 (message):
Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/2.8.10.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/2.8.10.2/share/cmake/Modules/FindGettext.cmake:58 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:54 (find_package)
-- Configuring incomplete, errors occurred!
Original comment by gua...@gmail.com
on 6 May 2013 at 7:52
嘗試 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -D
ENABLE_GETTEXT:BOOL=OFF ..
Original comment by byvo...@gmail.com
on 6 May 2013 at 8:25
搞定。顺便问下怎么编译成之前的那个Mac的图形界面的?
Original comment by gua...@gmail.com
on 6 May 2013 at 8:31
https://github.com/BYVoid/opencc-gui 使用Qt編譯
Original comment by byvo...@gmail.com
on 6 May 2013 at 8:33
拆卸目前只能通过手动移除这些么?
-- Install configuration: "Release"
-- Installing: /usr/lib/pkgconfig/opencc.pc
-- Installing: /usr/lib/libopencc.1.0.0.dylib
-- Installing: /usr/lib/libopencc.1.dylib
-- Installing: /usr/lib/libopencc.dylib
-- Installing: /usr/lib/libopencc.a
-- Installing: /usr/include/opencc/opencc.h
-- Installing: /usr/include/opencc/opencc_types.h
-- Installing: /usr/include/opencc/openccxx.h
-- Installing: /usr/bin/opencc_dict
-- Installing: /usr/bin/opencc
-- Installing: /usr/share/man/man1/opencc.1
-- Installing: /usr/share/man/man1/opencc_dict.1
-- Installing: /usr/share/opencc/simp_to_trad_characters.ocd
-- Installing: /usr/share/opencc/simp_to_trad_phrases.ocd
-- Installing: /usr/share/opencc/trad_to_simp_characters.ocd
-- Installing: /usr/share/opencc/trad_to_simp_phrases.ocd
-- Installing: /usr/share/opencc/zhs2zht.ini
-- Installing: /usr/share/opencc/zht2zhs.ini
-- Installing: /usr/share/opencc/mix2zht.ini
-- Installing: /usr/share/opencc/mix2zhs.ini
-- Installing: /usr/share/opencc/zhs2zhtw_p.ini
-- Installing: /usr/share/opencc/zhs2zhtw_v.ini
-- Installing: /usr/share/opencc/zhs2zhtw_vp.ini
-- Installing: /usr/share/opencc/zht2zhtw_p.ini
-- Installing: /usr/share/opencc/zht2zhtw_v.ini
-- Installing: /usr/share/opencc/zht2zhtw_vp.ini
-- Installing: /usr/share/opencc/zhtw2zht.ini
-- Installing: /usr/share/opencc/zhtw2zhs.ini
-- Installing: /usr/share/opencc/zhtw2zhcn_s.ini
-- Installing: /usr/share/opencc/zhtw2zhcn_t.ini
-- Installing: /usr/share/opencc/to_tw_variants.txt
-- Installing: /usr/share/opencc/to_tw_phrases.txt
-- Installing: /usr/share/opencc/from_tw_variants.txt
-- Installing: /usr/share/opencc/from_tw_phrases.txt
-- Installing: /usr/share/opencc/to_cn_phrases.txt
Original comment by gua...@gmail.com
on 6 May 2013 at 8:37
好吧,没有接触过QT,完全不知道怎么去操作
Original comment by gua...@gmail.com
on 6 May 2013 at 8:50
Original issue reported on code.google.com by
gua...@gmail.com
on 6 May 2013 at 3:03