Thank you for answering so quickly and helpfully.

> >   cd demos
> >   ./configure
> > 
> > The last command failed and suggested to ensure that "agar-config" was in 
> > the
> > path (which it is). I still did:
> 
> Can you try building just one demo and post the contents of config.log?
> It should contain the exact error.

I'd like to do so but making the current svn revision 8867
yields an earlier error:

After

  ./configure --enable-threads
  make depend
  make

when compiling drv_wgl.c in gui/, line 47 includes drv_gl_common.h.
Here, gcc complains about line 12 of this header file with:

  error: syntax error before "GLboolean"
  warning: no semicolon at end of struct or union
  ...

This might be due to line 8 of the header file
where there appears to be lacking a name:

  struct ag_glyph;

I'm stopping my experiments for now.
Later today, I may try revision 8865 which
was current when I first saw your post.

---

Some additional remarks on svn, mingw32 and CRLF:

In order to checkout agar from svn, I installed tortoise svn,
created an empty folder and selected the new item "svn checkout"
from this folder's context menu. 

- Unfortunately, as tortoise svn is installed on Windows,
it checks out the text files with end-of-lines patched to CR LF.
Trying to compile these sources in Msys using mingw
immediately yields errors complaining about whitespace
between backslash and LF (supposedly the extra CR is meant,
which is not expected in the MSys environment.)

- Trying to fix this, I tried to recursively add
the property svn:eol-style=LF to the ckecked out folder
(context menu -> TortoiseSVN -> Properties -> New).
This didn't appear to change the files, not even after selecting "update".
The files were simply marked as changed.
Also, the new property is not listed beside the one that already existed.
Maybe I had to have write permission to the original repository (no thanks)
to add this property (I'm new to svn).

- So I learned about auto-props (Accessible via context menu -> TortoiseSVN
-> Settings -> Edit (Subversion configuration file).
Still, activating auto-props (by uncommenting "enable-auto-props = yes")
and adding LF properties for *.c and *.h files
(at the end of the configuration file) did not succeed in getting
correct end-of-line markers (in a new checkout into an empty folder).

- My workaround was to do

  svn checkout http://dev.hypertriton.com:8080/agar/trunk

on a Linux system, tarring the result and unpacking it
on the Windows system into the Msys folder...

Still, it would be nice to know how one could get tortoise svn to do a checkout
suitable for MSys / mingw...


_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to