Page 1 sur 1

Compiling in Xubuntu 18.04

Publié : lun. janv. 06, 2020 8:36 pm
par lukamar
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.