Hi everyone,

First, here my system :
Ubuntu 12.04 64 bits
gcc : 4.6.3
cmake :  2.8.7
fftw : 3.3.3 including SSE 2

The building/compilation of gromacs itself is working.
But, when I try to compile the template file to create my own plugin, it fails.

First, I'm sourcing Gromacs.
The building part with cmake is fine :
[santuz]$ cmake ..
/GROMACS version 4.6.0 found//
//-- Configuring done//
//-- Generating done//
//-- Build files have been written to: [...]/gromacs-4.6_beta1/share/gromacs/template/cmake/

But when I try the "make" part, it fails :
[santuz]$ make
/[100%] Building C object CMakeFiles/template.dir/template.c.o//
//In file included from [...]/gromacs-4.6_///beta1//include/gromacs/typedefs.h:69:0,// // from ///[...]//gromacs-4.6_///beta1//include/gromacs/futil.h:43,// // from ///[...]//gromacs-4.6_///beta1//include/gromacs/filenm.h:42,// // from ///[...]//gromacs-4.6_///beta1//share/gromacs/template/template.c:32:// ///[...]//gromacs-4.6_///beta1//include/gromacs/types/ifunc.h:42:24: fatal error: visibility.h : No file found//
//compilation aborted.//
//make[2]: *** [CMakeFiles/template.dir/template.c.o] Error 1//
//make[1]: *** [CMakeFiles/template.dir/all] Error 2//
//make: *** [all] Error 2/

Same problem when I try the other option : make -f Makefile.pkg

The thing is that "visibility.h" is located "include/gromacs/" so if you change the path in "ifunc.h", it works but it's not a solution.
Furthermore, when I compile Gromacs itself, it works perfectly.

So, I don't really know why it's failing for the template.

Cheers,
Hubert



--
Hubert SANTUZ
Equipe DSIMB
UMR-S 665, INSERM-Paris Diderot, INTS
6 rue Alexandre Cabanel 75015 Paris
Tel : 01 44 49 31 53

--
gmx-users mailing list    [email protected]
http://lists.gromacs.org/mailman/listinfo/gmx-users
* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
* Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected].
* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to