Dear Massimo, You did everything correctly, it's a bug in the gromacs beta. Please see the related post + fix on the gromacs mailing list: http://www.mail-archive.com/[email protected]/msg55959.html
The include directives are wrong, as a workaround you could also add -I/home/massimo/gromacs/gromacs-4.6b1/gromacs-4.6-beta2/exec-single/include/gromacs to your compiler flags (in addition to the gromacs include dir, not the /gromacs at the end). Victor 2012/12/8 ms <[email protected]>: > Hi, > > I just tried to see if VOTCA works with the new GROMACS 4.6-beta2. After > having successfully compiled GROMACS 4.6-beta2 I re-downloaded and > re-compiled VOTCA from scratch as: > > export prefix=/home/massimo/gromacs/votca > mkdir -p ${prefix}/src > cd src > wget http://votca.googlecode.com/hg/build.sh > chmod +x build.sh > > and then: > > ./build.sh > -DGROMACS_INCLUDE_DIR=/home/massimo/gromacs/gromacs-4.6b1/gromacs-4.6-beta2/exec-single/include > -DGROMACS_LIBRARY=/home/massimo/gromacs/gromacs-4.6b1/gromacs-4.6-beta2/exec-single/lib/libgmx_4.6b2.so > --prefix ~/gromacs/votca/votca tools csg > > and it fails with > /home/massimo/gromacs/gromacs-4.6b1/gromacs-4.6-beta2/exec-single/include/gromacs/types/ifunc.h:42:24: > fatal error: visibility.h: File o directory non esistente > compilation terminated. > > (a bit more context below). > > The same identical procedure worked for an older GROMACS-4.6 from Git. > > Any hint? > > thanks, > Massimo > > --- > [ 3%] Built target gmx_print_version > Current revision is 1234c5028e9dCurrent revision is 1234c5028e9d > > Current revision is 1234c5028e9d > Current revision is 1234c5028e9d > Current revision is 1234c5028e9d > [ 3%] [ 3%] [ 3%] [ 3%] [ 3%] Built target help2t2t > Built target csg_call > Built target hgversion > Built target multi_g_rdf > Built target csg_inverse > [ 5%] Generating gmx_libs_version.h > Scanning dependencies of target votca_csg > [ 7%] [ 9%] [ 10%] [ 12%] [ 14%] [ 16%] [ 18%] [ 20%] [ 21%] Building CXX > object src/libcsg/CMakeFiles/votca_csg.dir/openbox.cc.o > Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/molecule.cc.o > Building CXX object > src/libcsg/CMakeFiles/votca_csg.dir/boundarycondition.cc.o > Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/nematicorder.cc.o > Building CXX object > src/libcsg/CMakeFiles/votca_csg.dir/trajectoryreader.cc.o > Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/topologyreader.cc.o > Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/map.cc.o > Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/triclinicbox.cc.o > Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/beadlist.cc.o > In file included from > /home/massimo/gromacs/gromacs-4.6b1/gromacs-4.6-beta2/exec-single/include/gromacs/typedefs.h:69:0, > from > /home/massimo/gromacs/gromacs-4.6b1/gromacs-4.6-beta2/exec-single/include/gromacs/statutil.h:44, > from > /home/massimo/gromacs/votca/src/csg/src/libcsg/modules/io/gmxtrajectoryreader.h:38, > from > /home/massimo/gromacs/votca/src/csg/src/libcsg/trajectoryreader.cc:27: > /home/massimo/gromacs/gromacs-4.6b1/gromacs-4.6-beta2/exec-single/include/gromacs/types/ifunc.h:42:24: > fatal error: visibility.h: File o directory non esistente > compilation terminated. > [ 23%] [ 25%] Building CXX object > src/libcsg/CMakeFiles/votca_csg.dir/topologymap.cc.o > Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/imcio.cc.o > [ 27%] Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/version.cc.o > [ 29%] [ 30%] Building CXX object > src/libcsg/CMakeFiles/votca_csg.dir/exclusionlist.cc.o > Building CXX object src/libcsg/CMakeFiles/votca_csg.dir/cgengine.cc.o > make[2]: *** [src/libcsg/CMakeFiles/votca_csg.dir/trajectoryreader.cc.o] > Errore 1 > make[2]: *** Attesa per i processi non terminati.... > make[1]: *** [src/libcsg/CMakeFiles/votca_csg.dir/all] Errore 2 > make: *** [all] Errore 2 > massimo@francy:~/gromacs/votca/src$ > > > -- > Massimo Sandal, Ph.D. > http://devicerandom.org > > -- > You received this message because you are subscribed to the Google Groups > "votca" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/votca?hl=en. > -- You received this message because you are subscribed to the Google Groups "votca" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/votca?hl=en.
