buid many library and sample source