use cmake compile ok