On Sat, Jan 19, 2013 at 7:06 PM, John Peterson <jwpeter...@gmail.com> wrote: > > On Jan 19, 2013, at 5:08 PM, Derek Gaston <fried...@gmail.com> wrote: > > On Sat, Jan 19, 2013 at 4:57 PM, Derek Gaston <fried...@gmail.com> wrote: >> >> Hmmm.... we did some testing with this this week and there are a couple of >> issues: >> >> 1. If you don't "make install" then Make.common does not get created >> (obviously not necessary for an example... but that is problematic for some >> users). >> >> 2. If you don't "make install" then bin/libmesh_config doesn't output the >> proper include directories (or are we doing something wrong?). Coupled with >> #1 this means that not make installing doesn't seem to be an option for >> actual application development... but are we missing something? > > > BTW - We didn't report these issues because when we noticed this we all > agreed that we must have been remembering wrong... and that in-tree builds > really weren't supported. Otherwise I would have pinged you guys about it. > > Now that I know that in-tree builds should work, I'll help work out the > kinks... > > > The "uninstalled" libmesh-config script did not print the right paths for > the --include switch. We immediately got build errors about not finding > libmesh header files. May have something to do with the fact that we are > still use legacy include paths?
So I fixed the issue I mentioned previously. Basically, with an in-tree (uninstalled) build, if you still specify --prefix=$LIBMESH_DIR to configure even though you don't plan to 'make install' the library there, you will get $LIBMESH_DIR/include/libmesh in your compiler search paths. This gets us a bit further, but our build next dies when it tries to find the "exodusII.h" header file -- the problem is, for an installed libmesh exodusII.h (and other contrib headers) get installed into $LIBMESH_DIR/include/libmesh but this doesn't happen for an uninstalled libmesh. That header is still hidden away in contrib/exodusii/Lib/include where it lives in the distribution. -- John ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel