<div class="gmail_quote">On Mon, Jan 19, 2009 at 1:59 AM, Kermit Mei <span dir="ltr">&lt;<a href="mailto:kermit.mei@gmail.com">kermit.mei@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, I create my project in the directory ~/project.<br>
<br>
And then, I build it in ~/project/build as the following:<br>
<br>
cd ~/project<br>
mkdir build<br>
cd build<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr ..<br>
make<br>
sudo make install<br>
<br>
So far, everything of my program works well.<br>
<br>
But, if I delete the files under ~/project/build/*,<br>
My program will come back to the last version.<br>
<br>
Why?</blockquote><div><br>Is it possible you&#39;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?<br><br>Try running &quot;which your_program_name&quot; before and after removing ~/project/build/*.<br>
<br></div></div>-- <br>Philip Lowman<br>