Hi

Have you changed the line in the makefile to point to your installation of 
deal.II
eg.
 D = path_to_where_you_have_put_the_library


Cheers
andrew

On 13.02.2012, at 01:05, Zhengrong Cheng wrote:

> Hey guys.
> 
> I am new to deal.II and now I have problem in compiling the examples in the 
> deal.II.
> 
> If I try to compile the example by directly make it in the folder of the 
> examples, it works. But if I copy the example, say, step-1, to somewhere 
> else, and type in the terminal "make", it does not work.
> 
> Moreover, if I try to compile it in the folder of examples itself, say, in 
> the step-2 directory, by typing in the terminal, for example, " g++ step-2.cc 
> -o step2", it says: 
> 
>         fatal error: deal.II/grid/trial.h: No such file or directory
>         compilation terminated.
> 
> Let alone compile it in in somewhere else outside deal.II directory in the 
> terminal.
> 
> 
> Moreover, when I try to set PATH by typing: emacs .bash_profile, it just 
> generated a new document for me. Thus I don't know how to set the PATH for 
> deal.II.
> 
> Please let me know how to fix these problems and explain a little bit about 
> the mechanism. Your help will be highly appreciated.
> 
> All the best
> 
>  Z. Cheng
> 
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to