梁全 | 12 May 01:52
Favicon

Re: FreeSG Digest, Vol 5, Issue 3


Sorry, I have given up Agar, FreeSG and CADTools. When they became stable, I think maybe I will think about
try them.

Thank you.

2009-05-12 


Liang Quan



发件人: freesg-request <at> freesg.org 
发送时间: 2009-05-12  00:00:22 
收件人: freesg <at> freesg.org 
抄送: 
主题: FreeSG Digest, Vol 5, Issue 3 
 
Send FreeSG mailing list submissions to
freesg <at> freesg.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail231.csoft.net/mailman/listinfo/freesg

or, via email, send a message with subject or body 'help' to
freesg-request <at> freesg.org
You can reach the person managing the list at
freesg-owner <at> freesg.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSG digest..."
Today's Topics:
   1. Re: Why I install Agar on Windows with Cygwin is failed
      (Julien Nadeau)
----------------------------------------------------------------------
Message: 1
Date: Mon, 11 May 2009 05:40:59 -0400
From: Julien Nadeau <vedge <at> hypertriton.com>
Subject: Re: [FreeSG] Why I install Agar on Windows with Cygwin is
failed
To: ???? <liangquan <at> foxmail.com>
Cc: freesg <freesg <at> freesg.org>
Message-ID: <20090511094059.GE4639 <at> csoft.net>
Content-Type: text/plain; charset=us-ascii
I believe I've seen this particular error before. Something in my
environment contained a bogus newline or something of the sort. Can
you post the output of "set"?
On Fri, May 08, 2009 at 08:32:36AM +0800, ???? wrote:
> I think I have installed Agar on my Cygwin, but when I want to build projects in demos directory,
> I encountered some errors. For example, when I execute "./configure" in directory glview,
> Cygwin reported error "This demo requires Agar installed on your system".
> 
> Why checking for Agar (http://libagar.org/)... is yes,
> while checking whether Agar works... is no
> 
> Follow is the content in config.log
> Machine: i686
> Release: 1.5.24(0.156/4/2)
> System: CYGWIN_NT-5.1
> checking for a usable C compiler...Detected executable suffix: .exe
> checking for compiler warning options.../usr/bin/cc   -Wall -Werror -o ./conftest conftest.c 
> yes
> checking for gcc.../usr/bin/cc  -Wall -Werror  -o ./conftest conftest.c 
> yes
> checking for IEEE754 floating point.../usr/bin/cc  -Wall -Werror  -o ./conftest conftest.c 
> yes
> checking __bounded__ attribute.../usr/bin/cc  -Wall -Werror  -o ./conftest conftest.c 
> conftest.c:1: warning: `__bounded__' attribute directive ignored
> -> failed (0)
> no
> checking __format__ attribute.../usr/bin/cc  -Wall -Werror  -o ./conftest conftest.c 
> yes
> checking __nonnull__ attribute.../usr/bin/cc  -Wall -Werror -Wall -Werror -o ./conftest conftest.c
> yes
> checking __aligned__ attribute.../usr/bin/cc  -Wall -Werror -Wall -Werror -o ./conftest conftest.c
> yes
> checking __packed__ attribute.../usr/bin/cc  -Wall -Werror -Wall -Werror -o ./conftest conftest.c
> yes
> checking for long double.../usr/bin/cc  -Wall -Werror -o ./conftest conftest.c
> yes
> checking for long long.../usr/bin/cc  -Wall -Werror -o ./conftest conftest.c
> yes
> checking for cygwin environment.../usr/bin/cc  -Wall -Werror -mcygwin -o ./conftest conftest.c
> yes
> checking for POSIX threads.../usr/bin/cc  -mno-cygwin -Wall -Werror  -o ./conftest conftest.c -lpthread
> conftest.c:1:21: pthread.h: No such file or directory
> conftest.c: In function `start_routine':
> conftest.c:6: error: `NULL' undeclared (first use in this function)
> conftest.c:6: error: (Each undeclared identifier is reported only once
> conftest.c:6: error: for each function it appears in.)
> conftest.c: In function `main':
> conftest.c:10: error: `pthread_mutex_t' undeclared (first use in this function)
> conftest.c:10: error: parse error before "mutex"
> conftest.c:11: error: `pthread_t' undeclared (first use in this function)
> conftest.c:12: warning: implicit declaration of function `pthread_mutex_init'
> conftest.c:12: error: `mutex' undeclared (first use in this function)
> conftest.c:12: error: `NULL' undeclared (first use in this function)
> conftest.c:13: warning: implicit declaration of function `pthread_mutex_lock'
> conftest.c:14: warning: implicit declaration of function `pthread_mutex_unlock'
> conftest.c:15: warning: implicit declaration of function `pthread_mutex_destroy'
> conftest.c:16: warning: implicit declaration of function `pthread_create'
> conftest.c:16: error: `thread' undeclared (first use in this function)
> -> failed (0)
> no
> checking for -pthread.../usr/bin/cc  -mno-cygwin -Wall -Werror  -o ./conftest conftest.c -pthread
> cc: unrecognized option `-pthread'
> conftest.c:1:21: pthread.h: No such file or directory
> conftest.c: In function `start_routine':
> conftest.c:6: error: `NULL' undeclared (first use in this function)
> conftest.c:6: error: (Each undeclared identifier is reported only once
> conftest.c:6: error: for each function it appears in.)
> conftest.c: In function `main':
> conftest.c:10: error: `pthread_mutex_t' undeclared (first use in this function)
> conftest.c:10: error: parse error before "mutex"
> conftest.c:11: error: `pthread_t' undeclared (first use in this function)
> conftest.c:12: warning: implicit declaration of function `pthread_mutex_init'
> conftest.c:12: error: `mutex' undeclared (first use in this function)
> conftest.c:12: error: `NULL' undeclared (first use in this function)
> conftest.c:13: warning: implicit declaration of function `pthread_mutex_lock'
> conftest.c:14: warning: implicit declaration of function `pthread_mutex_unlock'
> conftest.c:15: warning: implicit declaration of function `pthread_mutex_destroy'
> conftest.c:16: warning: implicit declaration of function `pthread_create'
> conftest.c:16: error: `thread' undeclared (first use in this function)
> -> failed (0)
> no
> checking for -pthread (common paths).../usr/bin/cc  -mno-cygwin -Wall -Werror  -o ./conftest
conftest.c 
> conftest.c:1:21: pthread.h: No such file or directory
> conftest.c: In function `start_routine':
> conftest.c:6: error: `NULL' undeclared (first use in this function)
> conftest.c:6: error: (Each undeclared identifier is reported only once
> conftest.c:6: error: for each function it appears in.)
> conftest.c: In function `main':
> conftest.c:10: error: `pthread_mutex_t' undeclared (first use in this function)
> conftest.c:10: error: parse error before "mutex"
> conftest.c:11: error: `pthread_t' undeclared (first use in this function)
> conftest.c:12: warning: implicit declaration of function `pthread_mutex_init'
> conftest.c:12: error: `mutex' undeclared (first use in this function)
> conftest.c:12: error: `NULL' undeclared (first use in this function)
> conftest.c:13: warning: implicit declaration of function `pthread_mutex_lock'
> conftest.c:14: warning: implicit declaration of function `pthread_mutex_unlock'
> conftest.c:15: warning: implicit declaration of function `pthread_mutex_destroy'
> conftest.c:16: warning: implicit declaration of function `pthread_create'
> conftest.c:16: error: `thread' undeclared (first use in this function)
> -> failed (0)
> no
> checking for the X/Open Threads Extension.../usr/bin/cc  -mno-cygwin -Wall -Werror -U_XOPEN_SOURCE
-D_XOPEN_SOURCE=600 -o ./conftest conftest.c -lpthread
> conftest.c:1:21: pthread.h: No such file or directory
> conftest.c: In function `main':
> conftest.c:6: error: `pthread_mutex_t' undeclared (first use in this function)
> conftest.c:6: error: (Each undeclared identifier is reported only once
> conftest.c:6: error: for each function it appears in.)
> conftest.c:6: error: parse error before "mutex"
> conftest.c:7: error: `pthread_mutexattr_t' undeclared (first use in this function)
> conftest.c:8: warning: implicit declaration of function `pthread_mutexattr_settype'
> conftest.c:8: error: `mutexattr' undeclared (first use in this function)
> conftest.c:8: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
> conftest.c:9: warning: implicit declaration of function `pthread_mutex_init'
> conftest.c:9: error: `mutex' undeclared (first use in this function)
> -> failed (0)
> no
> checking for the X/Open Threads Extension (common paths).../usr/bin/cc  -mno-cygwin -Wall -Werror
-U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -o ./conftest conftest.c 
> conftest.c:1:21: pthread.h: No such file or directory
> conftest.c: In function `main':
> conftest.c:6: error: `pthread_mutex_t' undeclared (first use in this function)
> conftest.c:6: error: (Each undeclared identifier is reported only once
> conftest.c:6: error: for each function it appears in.)
> conftest.c:6: error: parse error before "mutex"
> conftest.c:7: error: `pthread_mutexattr_t' undeclared (first use in this function)
> conftest.c:8: warning: implicit declaration of function `pthread_mutexattr_settype'
> conftest.c:8: error: `mutexattr' undeclared (first use in this function)
> conftest.c:8: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
> conftest.c:9: warning: implicit declaration of function `pthread_mutex_init'
> conftest.c:9: error: `mutex' undeclared (first use in this function)
> -> failed (0)
> no
> checking for PTHREAD_MUTEX_RECURSIVE.../usr/bin/cc  -mno-cygwin -Wall -Werror  -o ./conftest
conftest.c 
> conftest.c:1:21: pthread.h: No such file or directory
> conftest.c: In function `main':
> conftest.c:5: error: `pthread_mutex_t' undeclared (first use in this function)
> conftest.c:5: error: (Each undeclared identifier is reported only once
> conftest.c:5: error: for each function it appears in.)
> conftest.c:5: error: parse error before "mutex"
> conftest.c:6: error: `pthread_mutexattr_t' undeclared (first use in this function)
> conftest.c:7: warning: implicit declaration of function `pthread_mutexattr_settype'
> conftest.c:7: error: `mutexattr' undeclared (first use in this function)
> conftest.c:7: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
> conftest.c:8: warning: implicit declaration of function `pthread_mutex_init'
> conftest.c:8: error: `mutex' undeclared (first use in this function)
> -> failed (0)
> no
> checking for PTHREAD_MUTEX_RECURSIVE_NP.../usr/bin/cc  -mno-cygwin -Wall -Werror  -o ./conftest
conftest.c 
> conftest.c:1:21: pthread.h: No such file or directory
> conftest.c: In function `main':
> conftest.c:5: error: `pthread_mutex_t' undeclared (first use in this function)
> conftest.c:5: error: (Each undeclared identifier is reported only once
> conftest.c:5: error: for each function it appears in.)
> conftest.c:5: error: parse error before "mutex"
> conftest.c:6: error: `pthread_mutexattr_t' undeclared (first use in this function)
> conftest.c:7: warning: implicit declaration of function `pthread_mutexattr_settype'
> conftest.c:7: error: `mutexattr' undeclared (first use in this function)
> conftest.c:7: error: `PTHREAD_MUTEX_RECURSIVE_NP' undeclared (first use in this function)
> conftest.c:8: warning: implicit declaration of function `pthread_mutex_init'
> conftest.c:8: error: `mutex' undeclared (first use in this function)
> -> failed (0)
> no
> checking for SDL (http://www.libsdl.org)...yes
> checking whether SDL works.../usr/bin/cc  -mno-cygwin -Wall -Werror -I/usr/local/include/SDL
-I/usr/include/mingw -mno-cygwin -Dmain=SDL_main -o ./conftest conftest.c -L/usr/local/lib
-lmingw32 -lSDLmain -lSDL -mno-cygwin -mwindows
> yes
> checking for OpenGL (http://www.opengl.org)...yes
> checking whether -lopengl32 works.../usr/bin/cc  -mno-cygwin -Wall -Werror -I/usr/X11R6/include -o
./conftest conftest.c -lopengl32
> yes
> checking whether OpenGL works.../usr/bin/cc  -mno-cygwin -Wall -Werror -I/usr/X11R6/include -o
./conftest conftest.c -L/usr/X11R6/lib -lopengl32
> yes
> checking for FreeType (http://www.freetype.org)...yes
> checking whether FreeType works.../usr/bin/cc  -mno-cygwin -Wall -Werror
-I/usr/local/include/freetype2 -I/usr/local/include -o ./conftest conftest.c -L/usr/local/lib
-lfreetype -lz
> yes
> checking for Agar (http://libagar.org/)...yes
> checking whether Agar works.../usr/bin/cc  -mno-cygwin -Wall -Werror -I/usr/local/include/agar
-I/usr/local/include/SDL -I/usr/include/mingw -mno-cygwin -Dmain=SDL_main
-I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include   
>  -o ./conftest conftest.c -L/usr/local/lib -lag_gui -lag_core -L/usr/local/lib -lmingw32 -lSDLmain
-lSDL -mno-cygwin -mwindows -L/usr/local/lib -lfreetype -lz -L/usr/X11R6/lib -lopengl32 -lm  
> cc: 
> : No such file or directory
> cc: 
> : No such file or directory
> -> failed (0)
> no
> checking for OpenGL support in Agar...no
> checking for the C math library.../usr/bin/cc  -mno-cygwin -Wall -Werror  -mno-cygwin  -o ./conftest
conftest.c -lm
> yes
> 
> 
> 2009-05-08 
> 
> Liang Quan
> 
> _______________________________________________
> FreeSG mailing list
> FreeSG <at> freesg.org
> http://freesg.org/lists.html

------------------------------
_______________________________________________
FreeSG mailing list
FreeSG <at> freesg.org
http://freesg.org/lists.html

End of FreeSG Digest, Vol 5, Issue 3
************************************
_______________________________________________
FreeSG mailing list
FreeSG <at> freesg.org
http://freesg.org/lists.html

Gmane