/utf8proc

C++ library for processing UTF-8 Unicode data

Primary LanguageC++OtherNOASSERTION

utf8proc

Originally forked from JuliaStrings/utf8proc

Aims:

How to build

Environment for compiling

  • cmake 3.16
  • standard for the C++ - 20
  • gcc-10, g++-10

On GNU/Linux Ubuntu 20.04

sudo add-apt-repository ppa:ubuntu-toolchain-r/test #for gcc-10 g++-10
sudo apt install cmake gcc-10 g++-10 build-essential libtool libboost-dev

Dependences

GpCore2

Linux x86_64

  • create folders build/src
  • go into src and clone this repo
  • go to the repo folder and run
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DBOOST_INCLUDE=/usr/include/boost/ -DBUILD_SHARED_LIBS=ON
  • then make and install it
make & make install

In the folder build be created folders:

├── bin
├── doc
├── inc - for headers
├── lib - for *.so files
├── src - for sources
└── tmp