Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Mon, 08 Feb 1999 21:36:29 +0000

Re: compile problems on x86

gg gg wrote:
> 
>                  Hello,
> 
> I know that you have a lot of work but please help me !
> There are three weeks that I try to compile libggi and I become crazy !
> this my problems :

[snip]

>  Making all in glide
>  make[3]: Entering directory `/degas/lib/libggi/display/glide'
>  /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
>  -I../.. -I../../include   -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall
>  -c box.c
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2
>  -D_REENTRANT -D_THREAD_SAFE -g -Wall -Wp,-MD,.deps/box.p -c -fPIC
>  -DPIC box.c
>  In file included from box.c:30:
>  ../../include/ggi/display/glide.h:47: parse error before `GrVertex'
>  ../../include/ggi/display/glide.h:47: warning: no semicolon at end of
>  struct or union

>  I don't understand why it is working with libgii and not with
> libggi(perhaps because libgii is not for graphic !)

This is because LibGII doesn't use Glide.

> My glide package is in "/usr/local/glide" with a "./lib", a
> "./include" and "./bin" and my "/etc/ld.so.conf" is :

[snip]

>  So I don't understand...I think it don't found the include of
> glide...??? But When I do (with liggi) a "./configure
> --with-extra-includes=/usr/local/glide/include/
> --with-extra-lib=/usr/local/glide/lib/"
> 
> it give the same error messages when I do "make".
>  so I don't know...
>  I hope that you could help me !

First delete config.cache in the libggi directory, run the configure
command you have above, making sure that you do not misspell the
--with-extra* cflags, and check for the two lines:
checking for glide.h... yes
checking for glide/glide.h... no

At least one of them should say yes. If they doesn't, send me the
file config.log from the libggi dir. If they do, and compilation
still fails you might need a newer snapshot of libggi.

> It's important for my projects : <http://multimania.com/magicgg>;

Sounds interresting.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]