Philip Lowman wrote:
On Mon, Jan 19, 2009 at 1:59 AM, Kermit Mei <[email protected]
<mailto:[email protected]>> wrote:
Hello, I create my project in the directory ~/project.
And then, I build it in ~/project/build as the following:
cd ~/project
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
So far, everything of my program works well.
But, if I delete the files under ~/project/build/*,
My program will come back to the last version.
Why?
Is it possible you're setting your PATH environment variable to
include ~/project/build or something like that so by removing it the
system is falling back on /usr/bin?
Try running "which your_program_name" before and after removing
~/project/build/*.
--
Philip Lowman
Hmm, I'm sorry to trouble you here. The real problem is that I install
it in /usr/local with careless. So, the program linked to the libs
under /usr/local/lib ;p
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake