Oh, I find a mistake I made after I built VXL. I changed the build folder name after building it. Now I have changed it to the original name and it works now. :)
I have one question, is the following steps correct when creating a CMakeLists.txt file?
1. write the following lines in CMakeLists :
2. then ADD_EXECUTABLE and TARGET_LINK_LIBRARIES.
Thanks so much!