Project

General

Profile

Bug #207

BuiltIn Normaliz functions not available in C5 gui

Added by Christof Soeger almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
GUI
Target version:
Start date:
10 Jul 2012
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

It works with the CoCoAInterpreter, but not in the gui.

# NormalizComputation(Cone, ["HilbertBasis", "HilbertPoly"]);
ERROR: Cannot find a variable named "NormalizComputation" in scope

Other functions from BuildInFunctions like VersionInfo() work.


Related issues

Related to CoCoALib - Support #452: Documentation for adding functions to CoCoA-5 (BuiltInFunctions and BuiltInOneLiners)Closed2014-03-01

Related to CoCoA-5 - Bug #519: GUI: fix DEFINES in makefileClosed2014-04-03

History

#1 Updated by Anna Maria Bigatti almost 12 years ago

hmmmm, I guess that the GUI compilation does not see/set the compilation flags for external libraries from configuration/autoconf.mk.
We must find a way to pass them to C5.pro.

#2 Updated by Anna Maria Bigatti almost 12 years ago

... work in progress ...

#3 Updated by Anna Maria Bigatti almost 12 years ago

  • Assignee set to Anna Maria Bigatti
  • % Done changed from 0 to 80

#4 Updated by Anna Maria Bigatti almost 12 years ago

  • Target version set to CoCoA-5.0.3
  • % Done changed from 80 to 90

Now "configure" exports to configuration/autoconf.mk <lib>_FLAG (e.g. NORMALIZ_FLAG = -DCoCoA-with-Normaliz) and <lib>_INC_DIR so they can be passed to make-c5makefile to be included in C5.pro.

Nothing has changed for the user (configure syntax is identical)

I think that's going to be easy to maintain and extend.

#5 Updated by Anna Maria Bigatti almost 12 years ago

  • Status changed from New to Feedback

#6 Updated by Christof Soeger almost 12 years ago

I get an linker error because some libnormaliz functions cannot find some gmp functions. To correct this the libnormaliz.a should come before the libgmpxx.a (I suggest right after libcocoa.a) in the C5Makefile.

I modified the C5Makefile and after that the BuildIn Normaliz functions are availabe. :)

#7 Updated by Anna Maria Bigatti almost 12 years ago

fixed and cvs-ed

#8 Updated by Anna Maria Bigatti over 11 years ago

  • Subject changed from BuildIn Normaliz functions not available in C5 gui to BuiltIn Normaliz functions not available in C5 gui

#9 Updated by Anna Maria Bigatti over 11 years ago

Waiting for feedback... does it work now?

#10 Updated by Christof Soeger over 11 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

Works fine now, thanks for fixing!

Also available in: Atom PDF