[ghemical-devel] ghemical-2.98 released
Michael Galloway
mgx at ornl.gov
Fri Aug 1 12:03:32 EDT 2008
On Thu, Jul 31, 2008 at 02:31:42PM +0300, Tommi Hassinen wrote:
> Hello,
>
> today I released the following stuff:
>
> ghemical-2.98.tar.gz
> libghemical-2.98.tar.gz
> liboglappth-0.98.tar.gz
>
> in the usual places ; you can get them for example here:
> http://www.uku.fi/~thassine/projects/download/release20080731/
>
> Not much have changed on the outside, but on inside I have made such arrangements that it is now possible to compile ghemical as a gtk+ application on windows. I will make an installer package for windows soon (I still need to release the application from a fixed installation path and make the installer itself but the application works already fine). I have also trashed the ghemical-on-win32-api project because there is no longer need for it ; therefore the w32_xxx.cpp and such files have gone from the source tree.
>
> Here is what have been changed:
>
> 1) In libghemical there is a method libghemical_init(const char *) that must be called before anything else in the library ; it will tell the library where the data files are installed. In UNIX programs the following initialization code should work:
>
> libghemical_init(LIBDATA_PATH);
>
> 2) model::AddAtom() method has been renamed to model::AddAtom_lg() to avoid conflicts with Win32 API.
>
> 3) engine::GetClassName() method has been renamed to engine::GetClassName_lg() to avoid conflicts with Win32 API.
>
> 4) GLUT-library dependency have been removed from ghemical and liboglappth ; it was only needed for OpenGL text rendering but it is now done using gtkglext and pango.
>
> Regards,
>
> Tommi
ok, on to ghemical proper, build fails here:
if g++ -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/openbabel-2.0 -I/usr/local/include/ghemical -I/usr/local/include/oglappth -g -O2 -MT pangofont_wcl.o -MD -MP -MF ".deps/pangofont_wcl.Tpo" \
-c -o pangofont_wcl.o `test -f 'pangofont_wcl.cpp' || echo './'`pangofont_wcl.cpp; \
then mv -f ".deps/pangofont_wcl.Tpo" ".deps/pangofont_wcl.Po"; \
else rm -f ".deps/pangofont_wcl.Tpo"; exit 1; \
fi
pangofont_wcl.cpp: In member function ‘void pangofont_wcl::ogl_InitPangoFont(const gchar*)’:
pangofont_wcl.cpp:50: error: ‘EXIT_FAILURE’ was not declared in this scope
pangofont_wcl.cpp:50: error: ‘exit’ was not declared in this scope
pangofont_wcl.cpp:70: error: ‘EXIT_FAILURE’ was not declared in this scope
pangofont_wcl.cpp:70: error: ‘exit’ was not declared in this scope
pangofont_wcl.cpp: In member function ‘int pangofont_wcl::ogl_GetStringWidth(const char*)’:
pangofont_wcl.cpp:87: error: ‘strlen’ was not declared in this scope
pangofont_wcl.cpp: In member function ‘void pangofont_wcl::ogl_WriteString3D(const char*, GLfloat, GLfloat, GLfloat)’:
pangofont_wcl.cpp:119: error: ‘strlen’ was not declared in this scope
make[3]: *** [pangofont_wcl.o] Error 1
make[3]: Leaving directory `/tmp/ghemical-2.98/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ghemical-2.98/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/ghemical-2.98/src'
make: *** [all-recursive] Error 1
from the configure:
build options:
^^^^^^^^^^^^^^
enable gtk : yes
enable threads : yes
enable OpenBabel : yes
again, opensuse 11.0 i 386
-- michael
>
> _______________________________________________
> ghemical-devel mailing list
> ghemical-devel at bioinformatics.org
> http://www.bioinformatics.org/mailman/listinfo/ghemical-devel
>
More information about the ghemical-devel
mailing list