GithubHelp home page GithubHelp logo

vedgy / goldendict Goto Github PK

View Code? Open in Web Editor NEW

This project forked from goldendict/goldendict

7.0 7.0 3.0 72 MB

A feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd) and online dictionaries, featuring perfect article rendering with the complete markup, illustrations and other content retained, and allowing you to type in words without any accents or correct case.

Home Page: http://goldendict.org/

License: Other

C++ 49.03% CSS 1.32% C 46.43% Shell 0.11% Objective-C++ 0.37% Makefile 0.04% QMake 0.33% NSIS 0.41% Batchfile 0.05% HTML 1.60% JavaScript 0.33%

goldendict's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

goldendict's Issues

Request for a new tag/release/tarball

Not an issue, actually, but a request to make a release/tarball. I wanted to make a PKGBUILD for myself and your 1.5.0 tarball has the same hashsum as the original. Is it possible? Thank you.

Compile error on macOS ARM64 Apple Silicon

Compilation fails on macOS ARM64 M2

Compilation fails on macOS ventura 13.5 with qt 5.15.10

/opt/homebrew/Cellar/qt@5/5.15.10_1/bin/qmake "CONFIG+=release no_epwing_support sdk_no_version_check use_qtwebengine no_ffmpeg_player" QMAKE_APPLE_DEVICE_ARCHS="arm64" goldendict.pro
make -j 12

Qt install method: Qt installed via brew install qt@5
Qt Version: 5.15.10_1
Xcode Version: 15.0.1
qmake:

QMake version 3.1
Using Qt version 5.15.10 in /opt/homebrew/Cellar/qt@5/5.15.10_1/lib
Click for error log
linking GoldenDict.app/Contents/MacOS/GoldenDict
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libiconv.dylib': fat file missing arch 'arm64', file has 'i386,x86_64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libvorbis.dylib': fat file missing arch 'arm64', file has 'i386,x86_64,ppc'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libvorbisfile.dylib': fat file missing arch 'arm64', file has 'i386,x86_64,ppc'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libhunspell-1.6.1.dylib': fat file missing arch 'arm64', file has 'i386,x86_64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libogg.dylib': fat file missing arch 'arm64', file has 'i386,x86_64,unknown'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/liblzo2.dylib': fat file missing arch 'arm64', file has 'i386,x86_64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libtiff.dylib': fat file missing arch 'arm64', file has 'i386,x86_64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/liblzma.a': fat file missing arch 'arm64', file has 'i386,x86_64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libopencc.2.dylib': fat file missing arch 'arm64', file has 'i386,x86_64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[35](zstd_v07.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[29](cover.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[28](zbuff_decompress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[27](zbuff_compress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[26](zbuff_common.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[25](zstd_decompress_block.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[24](zstd_decompress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[23](zstd_ddict.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[22](huf_decompress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[21](zstdmt_compress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[20](zstd_opt.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[19](zstd_ldm.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[18](zstd_lazy.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[17](zstd_fast.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[16](zstd_double_fast.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[15](zstd_compress_sequences.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[14](zstd_compress_literals.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[13](zstd_compress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[12](huf_compress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[11](hist.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[10](fse_compress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[34](zstd_v06.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[9](zstd_common.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[33](zstd_v05.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[8](xxhash.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[32](zdict.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[7](threading.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[31](fastcover.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[30](divsufsort.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[6](pool.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[5](fse_decompress.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[4](error_private.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[3](entropy_common.o)': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/gen/projects/macos/goldendict-webengine/maclibs/lib/libzstd.a[2](debug.o)': found architecture 'x86_64', required architecture 'arm64'
ld: Undefined symbols:
  _TIFFClientOpen, referenced from:
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
  _TIFFClose, referenced from:
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
  _TIFFGetField, referenced from:
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
  _TIFFReadScanline, referenced from:
      GdTiff::tiffToQImage(char const*, int, QImage&) in tiff.o
  _ZSTD_createDStream, referenced from:
      decompressZstd(char const*, unsigned int) in decompress.o
  _ZSTD_decompressStream, referenced from:
      decompressZstd(char const*, unsigned int) in decompress.o
  _ZSTD_freeDStream, referenced from:
      decompressZstd(char const*, unsigned int) in decompress.o
      decompressZstd(char const*, unsigned int) in decompress.o
  _ZSTD_initDStream, referenced from:
      decompressZstd(char const*, unsigned int) in decompress.o
  _ZSTD_isError, referenced from:
      decompressZstd(char const*, unsigned int) in decompress.o
      decompressZstd(char const*, unsigned int) in decompress.o
  Hunspell::get_dic_encoding(), referenced from:
      HunspellMorpho::(anonymous namespace)::encodeToHunspell(Hunspell&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t>> const&) in hunspell.o
      HunspellMorpho::(anonymous namespace)::decodeFromHunspell(Hunspell&, char const*) in hunspell.o

  Hunspell::spell(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*), referenced from:
      HunspellMorpho::(anonymous namespace)::HunspellPrefixMatchRequestRunnable::run() in hunspell.o
      HunspellMorpho::(anonymous namespace)::HunspellArticleRequestRunnable::run() in hunspell.o
  Hunspell::analyze(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&), referenced from:
      HunspellMorpho::(anonymous namespace)::suggest(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t>>&, Mutex&, Hunspell&) in hunspell.o
  Hunspell::suggest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&), referenced from:
      HunspellMorpho::(anonymous namespace)::HunspellArticleRequestRunnable::run() in hunspell.o
  Hunspell::Hunspell(char const*, char const*, char const*), referenced from:
      HunspellMorpho::makeDictionaries(Config::Hunspell const&) in hunspell.o
  Hunspell::~Hunspell(), referenced from:
      HunspellMorpho::(anonymous namespace)::HunspellDictionary::~HunspellDictionary() in hunspell.o
      HunspellMorpho::(anonymous namespace)::HunspellDictionary::~HunspellDictionary() in hunspell.o
  _libiconv, referenced from:
      Babylon::convertToUtf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, unsigned int) in bgl_babylon.o
      Babylon::convertToUtf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, unsigned int) in bgl_babylon.o
      Iconv::convert(void const*&, unsigned long&, void*&, unsigned long&) in iconv.o
      Mdict::MdictParser::toUtf16(char const*, char const*, unsigned long) in mdictparser.o
  _libiconv_close, referenced from:
      Babylon::convertToUtf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, unsigned int) in bgl_babylon.o
      Babylon::convertToUtf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, unsigned int) in bgl_babylon.o
      Iconv::reinit(char const*, char const*) in iconv.o
      Iconv::~Iconv() in iconv.o
      Iconv::~Iconv() in iconv.o
      Iconv::toWstring(char const*, void const*, unsigned long) in iconv.o
      Iconv::toWstring(char const*, void const*, unsigned long) in iconv.o
      ...
  _libiconv_open, referenced from:
      Babylon::convertToUtf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, unsigned int) in bgl_babylon.o
      Iconv::Iconv(char const*, char const*) in iconv.o
      Iconv::reinit(char const*, char const*) in iconv.o
      Mdict::MdictParser::toUtf16(char const*, char const*, unsigned long) in mdictparser.o
  _lzma_code, referenced from:
      decompressLzma2(char const*, unsigned int, bool) in decompress.o
  _lzma_end, referenced from:
      decompressLzma2(char const*, unsigned int, bool) in decompress.o
  _lzma_lzma_preset, referenced from:
      decompressLzma2(char const*, unsigned int, bool) in decompress.o
  _lzma_raw_decoder, referenced from:
      decompressLzma2(char const*, unsigned int, bool) in decompress.o
  _lzma_stream_decoder, referenced from:
      decompressLzma2(char const*, unsigned int, bool) in decompress.o
  _lzo1x_decompress_safe, referenced from:
      Mdict::MdictParser::parseCompressedBlock(long long, char const*, long long, QByteArray&) in mdictparser.o
  _lzo_adler32, referenced from:
      Mdict::MdictParser::parseCompressedBlock(long long, char const*, long long, QByteArray&) in mdictparser.o
      Mdict::MdictParser::parseCompressedBlock(long long, char const*, long long, QByteArray&) in mdictparser.o
  _opencc_close, referenced from:
      Chinese::CharacterConversionDictionary::~CharacterConversionDictionary() in chinese.o
      Chinese::CharacterConversionDictionary::~CharacterConversionDictionary() in chinese.o
      Chinese::CharacterConversionDictionary::~CharacterConversionDictionary() in chinese.o
  _opencc_convert_utf8, referenced from:
      Chinese::CharacterConversionDictionary::getAlternateWritings(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t>> const&) in chinese.o
  _opencc_convert_utf8_free, referenced from:
      Chinese::CharacterConversionDictionary::getAlternateWritings(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t>> const&) in chinese.o
  _opencc_error, referenced from:
      Chinese::CharacterConversionDictionary::CharacterConversionDictionary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, QIcon, QString const&) in chinese.o
      Chinese::CharacterConversionDictionary::getAlternateWritings(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t>> const&) in chinese.o
  _opencc_open, referenced from:
      Chinese::CharacterConversionDictionary::CharacterConversionDictionary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, QIcon, QString const&) in chinese.o
  _ov_clear, referenced from:
      Lsa::(anonymous namespace)::LsaDictionary::getResource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in lsa.o
      Lsa::(anonymous namespace)::LsaDictionary::getResource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in lsa.o
  _ov_info, referenced from:
      Lsa::(anonymous namespace)::LsaDictionary::getResource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in lsa.o
  _ov_open_callbacks, referenced from:
      Lsa::(anonymous namespace)::LsaDictionary::getResource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in lsa.o
  _ov_pcm_seek, referenced from:
      Lsa::(anonymous namespace)::LsaDictionary::getResource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in lsa.o
  _ov_read, referenced from:
      Lsa::(anonymous namespace)::LsaDictionary::getResource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in lsa.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [GoldenDict.app/Contents/MacOS/GoldenDict] Error 1

QtWebEngine

Hi

Tried building with qmake "CONFIG+=use_qtwebengine"

but after a successful build, got Could not find QtWebEngineProcess when trying to run goldendict from the terminal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.