Hi Jean-Paul,
Sorry to bring this back up again, but I'm running into it after installing dealii on a new machine -- last time the solution was just to delete the entire dealii installation and do a clean reinstall. That's annoying, so I want to avoid if possible.
To reiterate: I first installed dealii with the packaged Boost version (1.70). Then, I installed the newest workable Boost version (1.76) and reinstalled. The installation didn't give any errors, and the detailed.log file says that dealii was set up with external dependencies, using Boost version (1.76). However, when I try to build anything using the standard cmake files included in the examples, the deal.II/base/config.h file complains that I have the wrong boost version because when dealii includes boost, the include directory points to the packaged boost instead of the external boost.
Following your suggestion, I tried to pass in the -DBOOST_DIR flag when cmaking the examples, but it says that the variable is unused -- I suspect you meant to pass that into cmake when building and configuring the initial dealii installation. I've also attached the requested files, but I think that the initial installation worked so I'm not sure what you'll find there.
One question to maybe get started: in the context of building one of the examples (say step-1), how does dealii know where to look for boost when it calls the deal.II/base/config.h file? I reckon it tells cmake where to look in the "FINDPACKAGE", "DEAL_II_INITIALIZE_CACHED_VARIABLES", or the "DEAL_II_INVOKE_AUTOPILOT" macros, but I don't know enough about cmake to know where to look.
Let me know if you know the answer to my question, or a workaround, and thanks so much for any help.
Kind regards,
Lucas