Laryssa:

The problem was that I had extracted the boost headers locally and had not built/installed it. David Wells (thanks David!) reported the issue here: https://github.com/dealii/dealii/issues/14925. Since then, I have been trying to link one of my projects against deal.ii (copy with bundled boost) and I get this error:

c++: error: unrecognized command line option ‘-fopenmp-simd’

This is an unrelated problem you want to address. How did that flag end up on your command line? If the compiler doesn't understand the flag, then deal.II should not have added it. Do you have it set via an environment variable?

[ 40%] Building CXX object CMakeFiles/fchep.dir/src/IonicModels/vanderPolDuffing.cpp.o In file included from /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/support/tag_of.hpp:14:0,                  from /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/support/category_of.hpp:11,                  from /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/adapted/struct/detail/extension.hpp:14,                  from /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/adapted/struct/adapt_struct.hpp:22,                  from /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/adapted/std_pair.hpp:14,                  from /nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/include/std_pair.hpp:11,
                  from /nas/longleaf/home/laryssa/fch-ep/src/Datafile.h:11,
                  from /nas/longleaf/home/laryssa/fch-ep/src/Datafile.cpp:8:
/nas/longleaf/home/laryssa/dogwood/sfw/dealii/install-dbg/include/deal.II/bundled/boost/fusion/support/detail/is_mpl_sequence.hpp:12:69:fatal
 error: boost/fusion/support/detail/is_native_fusion_sequence.hpp: No such file 
or directory
  #include <boost/fusion/support/detail/is_native_fusion_sequence.hpp>
                                                                      ^
compilation terminated.

Shouldn't fusion be available once I use the bundled version of boost? I am not sure what to get out of this error message.

This is a problem. The bundled version of boost is not complete -- boost is just too large for us to include everything. It only includes those parts we actually need in boost. But that also means that you are left high and dry if you are using other parts of boost in your own code. Are you?

If you are, then the only option is to use the version of boost that comes with your system. Of course, in that case you have to not only install the boost headers in your system, but also the corresponding libraries.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/5b88563a-03ef-0f34-448d-0affa3f32cf8%40colostate.edu.

Reply via email to