Re: [deal.II] deal.II 8.0 cmake - could not locate deal.II

252 views
Skip to first unread message

Wolfgang Bangerth

unread,
Aug 7, 2013, 6:56:50 PM8/7/13
to dea...@googlegroups.com, Jinhyun Choo

> :~/Dropbox/FEM/deal.II_Linux/deal.II/examples/step-1$ cmake .
> CMake Error at CMakeLists.txt:22 (MESSAGE):
>
> *** Could not locate 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.

Well, did you?

Best
W.


--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@math.tamu.edu
www: http://www.math.tamu.edu/~bangerth/

Jinhyun Choo

unread,
Aug 7, 2013, 8:35:51 PM8/7/13
to dea...@googlegroups.com, Jinhyun Choo
Unfortunately, no. Even after re-installing from the bottom, it still gives an error even with the flag (as shown below).
What is possible problems?

Thanks,
Jinhyun

~/Dropbox/FEM/deal.II_Linux/deal.II/examples/step-1$ cmake -DDEAL_II_DIR=~/Dropbox/FEM/deal.II_Linux/deal.II .
CMake Error at CMakeLists.txt:22 (MESSAGE):
  

  *** Could not locate 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.


-- Configuring incomplete, errors occurred!

Jinhyun Choo

unread,
Aug 7, 2013, 9:08:14 PM8/7/13
to dea...@googlegroups.com, Jinhyun Choo
I finally succeeded. My problem may be incorrect path in cmake -DCMAKE_INSTALL_PREFIX=...

Thank you for taking your time,
Jinhyun
Reply all
Reply to author
Forward
0 new messages