#9167 closed Bugs (invalid)
quadmath.h not found by boost multiprecision headers
| Reported by: | anonymous | Owned by: | John Maddock |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | multiprecision |
| Version: | Boost 1.54.0 | Severity: | Problem |
| Keywords: | multiprecision, float128, quadmath | Cc: |
Description
When I try to compile
#include<boost/multiprecision/float128.hpp>
I get the following compile-time error:
In file included from test.cpp:9: /usr/local/lib/boost_1_54_0/boost/multiprecision/float128.hpp:17: fatal error: quadmath.h: No such file or directory compilation terminated.
Change History (2)
comment:1 by , 9 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 7 years ago
On OpenSUSE ( and others ) install gccXX-fortran package it provides quadmath.h
Note:
See TracTickets
for help on using tickets.

I suspect that either you are using a version of GCC which doesn't support
__float128, or else you haven't installed the libquadmath devel package on your machine. Either way it's not our issue.