[GiNaC-list] problems with cstring and string

Richard B. Kreckel kreckel at in.terlu.de
Thu Feb 9 23:05:40 CET 2017

On 02/09/2017 10:56 PM, Tania Robens wrote:
> ./configure --prefix=/home/trobens/programs/ginac/install
> CLN_CFLAGS=-I$CLN/include/cln/ CLN_LIBS=-L$CLN/lib/
> CPPFLAGS=-I$CLN/include/ LDFLAGS=-L$CLN/lib/ LIBS=-lcln

Ah, -I$CLN/include/cln/ makes it pick up the files in that directory!
But the CLN headers should always be included a la <cln/cln.h>, never as
<cln.h>. And, as Mario Prausa suggested, there is a conflict between std
<string.h> and <cln/string.h>.

Richard B. Kreckel

More information about the GiNaC-list mailing list