coolreader icon indicating copy to clipboard operation
coolreader copied to clipboard

Problem with building for debian 11

Open Nikita-Presnov opened this issue 2 years ago • 0 comments

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.

Nikita-Presnov avatar Apr 07 '22 22:04 Nikita-Presnov