Opened 9 years ago
Last modified 9 years ago
#50795 closed defect
mathgl doesn't pick up gsl — at Version 2
Reported by: | annacegu@… | Owned by: | mschamschula@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | mathgl |
Description (last modified by mf2k (Frank Schima))
I am compiling a C++ program that uses mathgl, and I am getting the following error:
/opt/local/include/mgl2/datac_cf.h:30:8: error: definition of type 'gsl_matrix' conflicts with typedef of the same name struct gsl_matrix; ^ /opt/local/include/gsl/gsl_matrix_double.h:50:3: note: 'gsl_matrix' declared here } gsl_matrix;
Looking at data_cf.h, it seems like MGL_HAVE_GSL is switched off, so mathgl is not picking up GSL headers.
Change History (4)
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to mschamschula@… |
---|
comment:2 Changed 9 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
Changed 9 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile-mathgl.diff added |
---|
Changed 9 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile-mathgl.2.diff added |
---|
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers mathgl
), if any.