On Thu, Mar 10, 2011 at 2:04 AM, Martin Genet <[email protected]> wrote: > Dear all, > > I would like to compile my own program based on the GetFEM library. For > instance, I want to start from getfem/tests/laplacian.cc and modify it to > adapt it to my problem. > > When I go to getfem/tests, I can run "make laplacian" and then "./laplacian > laplacian.param" and everything works perfectly. But when I move > laplacian.cc and laplacian.param to some directory, I can't manage to > compile it anymore. And I can't find any information about this. What is the > correct way to do it? > > Many thanks in advance for your precious help. > And sorry for the trivial question. > > Best regards, > Martin. > > _______________________________________________ > Getfem-users mailing list > [email protected] > https://mail.gna.org/listinfo/getfem-users >
Hi, you have to edit your makefile and add the adapt/add the appropriate include options e.g. -I /path/where/getfem/headers/are/installed/ what kind of OS are you running? Regards Kostas _______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
