[ghemical-devel] new releases
Jean Bréfort
jean.brefort at normalesup.org
Sat Jul 2 10:54:34 EDT 2005
Le samedi 02 juillet 2005 à 16:35 +0200, Michael Banck a écrit :
> On Sat, Jul 02, 2005 at 03:47:45PM +0200, Jean Bréfort wrote:
> > Le samedi 02 juillet 2005 à 15:27 +0200, Michael Banck a écrit :
> > > qm1e_mopac.cpp:16:17: g2c.h: No such file or directory
>
> > /usr/lib/gcc/i486-linux/3.4.5/include/ is a standard path for headers
> > when you use gcc-3.4.5 on a i486-linux machine. mopac7 includes f2c.h
> > which, normally, include g2c.h.
>
> Gah, and Debian has gcc-3.3 as default, but libg2c is built from
> gcc-3.4. Forcing gcc-3.4 did the trick, thanks.
>
> However, now I get a compile error:
>
> g++-3.4 -c -g -O2 -fno-exceptions -I../../src/graphics
> -I../../src/common -I/build/mbanck/ghemical-1.02/src
> -I/usr/include/openbabel -I/usr/include/sc
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/include/gnome-1.0
> -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include ./mtools.cpp
> In file included from ./camera.h:34,
> from ./mtools.h:42,
> from ./mtools.cpp:10:
> ./objects.h:93: error: `obj_loc_data* dummy_object::GetLocDataRW()
> const' is protected
> ./objects.h:180: error: within this context
> make[2]: *** [mtools.o] Error 1
I already signaled that (for libghemical-1.90). Just remove "protected:"
before GetLocDataRW() in objects.h.
More information about the ghemical-devel
mailing list