Compiling in Xubuntu 18.04

Librairie C++ de calcul formel/ C++ symbolic computation library

Modérateur : xcasadmin

lukamar
Messages : 294
Inscription : ven. juin 30, 2017 9:55 am
Localisation : Zagreb, Croatia

Compiling in Xubuntu 18.04

Message par lukamar » lun. janv. 06, 2020 8:36 pm

Hello Bernard,
I had some trouble compiling giac unstable in Xubuntu 18.04. At some points the compiler was complaining about vector (i.e. std::vector) not being defined. I found out that inclusion of giac.h has to be modified in lpsolve.cc (I did the commit in my repository) and History.h, Equation.h, Graph.h, Graph3d.h, like this: the code block

Code : Tout sélectionner

#ifndef IN_GIAC
#include <giac/giac.h>
#else
#include "giac.h"
#endif
in each of the latter four files had to be changed to

Code : Tout sélectionner

#ifndef IN_GIAC
#include <giac/giac.h>
#else
#include "giacPCH.h"
#include "giac.h"
#endif
These modifications were enough for successful compilation.

Répondre