LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please, I got this error: "proto.h:10:18: error: hdf5.h: No such file or directory". (https://www.linuxquestions.org/questions/linux-newbie-8/please-i-got-this-error-proto-h-10-18-error-hdf5-h-no-such-file-or-directory-4175432048/)

msbstar 10-13-2012 01:28 PM

Please, I got this error: "proto.h:10:18: error: hdf5.h: No such file or directory".
 
Hello everybody,

I tried to "make" a code, but after issuing the "make" command I got the following error:


hassan@ubuntu:~/Gadget-2.0.7/Gadget2$ make
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5 -I/usr/common/pdsoft/include -c -o main.o main.c
In file included from main.c:8:
proto.h:10:18: error: hdf5.h: No such file or directory
In file included from main.c:8:
proto.h:193: error: expected ‘)’ before ‘handle’
make: *** [main.o] Error 1
hassan@ubuntu:~/Gadget-2.0.7/Gadget2$
-----------------------------------------------------

The Gadget code can be found from following address, in case any one wants to reproduce the error:

http://www.mpa-garching.mpg.de/gadge...t-2.0.7.tar.gz

I would be grateful for any help on this.

With best regards,
Hassan

mmheera 10-13-2012 03:32 PM

Well, it looks like,you have some necessary libraries/dependecies missing or not in the right path. Please check the requirements and make sure there path is correctly mentioned in the make file.

Thanks!


All times are GMT -5. The time now is 04:12 PM.