Dear Dr Heister.

I was trying to follow this command in READ me section (after downloading 
and unpacking the dealii-9.1.1.tar.gz to set install directory of deal.II 

  cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II   


i had changed it to cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/


However, everytime I got the following error
CMake Error: The source directory "/home/malik/projects/dealii-9.1.1/build" 
does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.


The only way it worked was if i added two dots after the command: 

$ cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ ..


But then, the installation does not happen in the deal.II directory. THe 
program is installed in ~/projects/dealii-9.1.1/build

THe deal.II folder stays empty


ANd of course i face the error

  *** Could not locate a (sufficiently recent) version of deal.II.  ***

  

  You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake

  or set an environment variable "DEAL_II_DIR" that contains this path.


I am fairly new to linux. Can you please say what is happening wrong here?


I will be obliged.



On Friday, February 20, 2015 at 10:52:41 AM UTC-5, Timo Heister wrote:
>
> Rami, please read this: 
> >   You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to 
> cmake 
> > 
> >   or set an environment variable "DEAL_II_DIR" that contains this path. 
>
> -- 
> Timo Heister 
> http://www.math.clemson.edu/~heister/ 
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/62613ed7-074f-41c3-bc34-f2ebdc6270dc%40googlegroups.com.

Reply via email to