problem in cmake example step1

759 views
Skip to first unread message

Rami Aqqad

unread,
Feb 23, 2015, 5:51:02 AM2/23/15
to dea...@googlegroups.com
Hi there,

I have successfully installed Deal.II and move the whole folder to another directory.
I want to cmake examples and I tried cmake step1:

 ------------------------------------------------------------------
/Software/deal.II/examples/step-1:$cmake -DDEAL_II_DIR=/Software/deal.II .
CMake Error: The current CMakeCache.txt directory /Software/deal.II/examples/step-1/CMakeCache.txt is different than the directory /home/aqqad/deal.II/examples/step-1 where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
 -----------------------------------------------------------------

would you please tell me what I have to do with this?

Thanks in advance,
Rami

Daniel Arndt

unread,
Feb 23, 2015, 8:10:22 AM2/23/15
to dea...@googlegroups.com
Hi Rami,

Simply delete CMakeCache.txt and do "cmake ." again. That should do the trick :-)

Best
Daniel

Rami Aqqad

unread,
Feb 23, 2015, 8:24:42 AM2/23/15
to dea...@googlegroups.com
awesome it´s working thanks Daniel :)
Reply all
Reply to author
Forward
0 new messages