When compiling the host code on an Ubuntu system, if you encounter an error such as cannot find crtn.o: No such file or directory
, set up the environment as shown below to resolve it.
$ export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
When compiling host code, if you encounter an error such as terminate called after throwing an instance of 'std::runtime_error' what()..
, set up the environment as shown below to resolve it.
$ export LC_ALL="C"