bool to uint_8
rrt to compile