buggins / coolreader

Official site of CoolReader project. Sourceforge repository is obsolete.
GNU General Public License v2.0
387 stars 101 forks source link

Problem with building for debian 11 #330

Open Nikita-Presnov opened 2 years ago

Nikita-Presnov commented 2 years ago

For version cr3.2.58

/.../crengine/src/textlang.cpp:992:40: error: ‘LBP_ZWJ’ was not declared in this scope; did you mean ‘LBP_WJ’?
  992 |     _lb_props[n++] = { 0x00AD, 0x00AD, LBP_ZWJ };
      |                                        ^~~~~~~
      |                                        LBP_WJ
/.../coolreader-cr3.2.58/crengine/src/textlang.cpp:992:48: error: no match for ‘operator=’ (operand types are ‘LineBreakProperties’ and ‘<brace-enclosed initializer list>’)
  992 |     _lb_props[n++] = { 0x00AD, 0x00AD, LBP_ZWJ };

For latest git version it wants libunibreak version 4.0, but debian 11 repos have only 1.1

Building gives great number of warnings.