Bug #1361
Compilation fails when compiling with libgsl
Description
If I compile cocoalib 0.99601 with libgsl (version 2.6-1) using:
./configure --with-libgsl='/usr/lib/libgsl.so'
make
I get the following error:
TmpLDP.C: In Funktion »void CoCoA::ApproxPts::AddToCornerAndUpdate(const CoCoA::PPMonoidElem&, CoCoA::QBGenerator&, const std::vector<CoCoA::RingElem>&, const std::vector<CoCoA::RingElem>&, std::vector<CoCoA::RingElem>&)«:
TmpLDP.C:356:28: Fehler: »monomial« wurde in diesem Gültigkeitsbereich nicht deklariert; meinten Sie »binomial«?
356 | const RingElem tAsPoly = monomial(P, t);
| ^~~~~~~~
| binomial
TmpLDP.C: In Funktion »void CoCoA::ApproxPts::VanishPoly(std::vector<std::vector<CoCoA::RingElem> >&, std::vector<CoCoA::RingElem>&, const CoCoA::SparsePolyRing&, const std::vector<std::vector<CoCoA::RingElem> >&, const std::vector<CoCoA::RingElem>&, CoCoA::ConstRefRingElem)«:
TmpLDP.C:1333:32: Fehler: »monomial« wurde in diesem Gültigkeitsbereich nicht deklariert; meinten Sie »binomial«?
1333 | const RingElem tAsPoly = monomial(P, t);
| ^~~~~~~~
| binomial
make[3]: *** [../../configuration/autoconf.mk:88: TmpLDP.o] Fehler 1
History
#1 Updated by John Abbott almost 2 years ago
- Category set to Portability
- Target version set to CoCoALib-0.99850
Is this still a problem with 0.99800?
#2 Updated by John Abbott almost 2 years ago
If this is still a problem, please supply platform details.
Maybe wait until I have issued the next interim release (imminent).
#3 Updated by John Abbott 3 months ago
Hi Florian. Does compilation still fail with version 0.99818 (from website)? Thanks!
#4 Updated by Florian Walsh 3 months ago
Hi John, the new version compiles without problems.
#5 Updated by John Abbott 3 months ago
- Status changed from New to Closed
- Assignee set to Florian Walsh
- % Done changed from 0 to 100
- Estimated time set to 0.55 h
#6 Updated by Anna Maria Bigatti about 1 month ago
- Related to Support #1687: Release CoCoALib 0.99850 added
#7 Updated by Anna Maria Bigatti about 1 month ago
- Related to deleted (Support #1687: Release CoCoALib 0.99850)