[ghemical-devel] installation of ghemical

Jean Bréfort jean.brefort at normalesup.org
Tue Jan 30 15:44:25 EST 2007


Le mardi 30 janvier 2007 à 16:57 +0100, Per Jr. Greisen a écrit :
> Hi all,
> 
> I have run into some problems when installing ghemical. I download the
> files from http://www.bioinformatics.org/ghemical/download/ and take
> the version *- 2.10.tar.gz.
> 
> tar -xvf *-2.10.tar.gz
> ./configure --enable-gamess 
> make
> sudo make install 
> 
> which gives me the following error:
> 
> /usr/local/include/ghemical/libghemicalconfig2.h:88:1: warning: this
> is the location of the previous definition 
> project.cpp:49:21: error: GL/glut.h: No such file or directory
> project.cpp: In member function 'void
> project::ProcessCommandString(graphics_view*, const char*)':
> project.cpp:1836: error: no matching function for call to
> 'sequencebuilder::Build(project* const, char [4096], f64 [3])' 
> /usr/local/include/ghemical/seqbuild.h:117: note: candidates are: void
> sequencebuilder::Build(model*, sb_chain_descriptor*)
> project.cpp:1860: error: no matching function for call to
> 'sequencebuilder::Build(project* const, char [4096], f64 [10])' 
> /usr/local/include/ghemical/seqbuild.h:117: note: candidates are: void
> sequencebuilder::Build(model*, sb_chain_descriptor*)
> project.cpp: In member function 'void project::Render(graphics_view*,
> project::rmode)': 
> project.cpp:2541: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope
> project.cpp:2557: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope
> project.cpp:2573: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope 
> project.cpp:2589: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope
> project.cpp:2605: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope
> project.cpp:2636: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope 
> project.cpp:2653: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope
> project.cpp:2666: error: 'class chn_info' has no member named
> 'GetSequence'
> project.cpp:2691: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope 
> project.cpp:2731: error: 'GLUT_BITMAP_9_BY_15' was not declared in
> this scope
> project.cpp: In member function 'virtual void
> color_mode_hydphob::GetColor4(const void*, i32s, fGL*)':
> project.cpp:4280: error: 'class chn_info' has no member named
> 'GetSequence' 
> make[2]: *** [project.o] Fejl 1
> make[2]: Forlader katalog '/home/greisen/ghemical-2.01/src'
> make[1]: *** [all] Fejl 2
> make[1]: Forlader katalog '/home/greisen/ghemical-2.01/src'
> make: *** [all-recursive] Fejl 1 
> 
> How to fix this thanks in advance
> 

It's not very easy to detect the glut library and the flags needed to
make it compile. May be it is not even installed on your computer,
please check if it is installed, where GL/glut.h is installed and show
the g++ options used in your compilation.

Best regards,
Jean Bréfort



More information about the ghemical-devel mailing list