geometryplotter.c:22:16: fatal error: gd.h: No such file or

Compiler issues (Intel compiler, mpicc, etc.), data libraries and everything needed to get Serpent running is discussed here

geometryplotter.c:22:16: fatal error: gd.h: No such file or

Postby nickvise » Tue Sep 26, 2017 12:12 am

When I run make I get the following error:
...
gcc -pedantic -Wall -ansi -DOPEN_MP -fopenmp -O3 -ffast-math -c generatetransmuchain.c
gcc -pedantic -Wall -ansi -DOPEN_MP -fopenmp -O3 -ffast-math -c geometryplotter.c
geometryplotter.c:22:16: fatal error: gd.h: No such file or directory
#include <gd.h>
^
compilation terminated.
Makefile:815: recipe for target 'geometryplotter.o' failed
make: *** [geometryplotter.o] Error 1

I am running Ubuntu 17.04. I tried "make clean" and then "make" as well. This did not work. Any help would be much appreciated.
User avatar
nickvise
 
Posts: 2
Joined: Tue Sep 19, 2017 5:08 am

Re: geometryplotter.c:22:16: fatal error: gd.h: No such file or

Postby nickvise » Tue Sep 26, 2017 1:33 am

Solved. I didn't have the GD library.
Ran "sudo apt-get install libgd2-xpm-dev" in console and it compiled perfectly.
User avatar
nickvise
 
Posts: 2
Joined: Tue Sep 19, 2017 5:08 am


Return to Compiling and installing Serpent

Who is online

Users browsing this forum: No registered users and 1 guest

cron