[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] install sdl.egg with mingw32?

From: Jong-Hyouk Yun
Subject: Re: [Chicken-users] install sdl.egg with mingw32?
Date: Mon, 25 Jun 2007 21:47:50 +0900

Hi, thanks to your concern.

  make extension
csc -C -Ic:/codeblocks/include/SDL -L -lmingw32 -lSDLmain -lSDL -L -lSDL_ttf -L
-lSDL_image -L -lSDL_gfx -L -lSDL_net -s -o sdl.scm
sdl.c:1: warning: -fPIC ignored for target (all code is position independent)
sdl.c: In function `stub497':
sdl.c:2226: warning: implicit declaration of function `gettimeofday'
Cannot export .idata$4: symbol not found
Cannot export .idata$5: symbol not found
Cannot export .idata$6: symbol not found
Cannot export .text: symbol not found
Cannot export SDL_ttf_NULL_THUNK_DATA: symbol not found
sdl.o:sdl.c:(.text+0x22622): undefined reference to `gettimeofday'
collect2: ld returned 1 exit status
*** Shell command terminated with exit status 1: gcc sdl.o -lchicken -o -
fPIC -shared -L"C:\Program Files\Chicken\lib" -Wl,-R"C:\Program Files\Chicken\li
b" -lmingw32 -lSDLmain -lSDL -lSDL_ttf -lSDL_image -lSDL_gfx -lSDL_net  -lws2_32
make: *** [] Error 1
Error: shell invocation failed with non-zero return status
"make extension"

is there anything I have to do something? I just had to change Makefile for replace 'sdl-config'.

Sorry, I couldn't recognize what's going wrong ^.^;


ps. I'm interest about game development with chicken-scheme ^.^;

2007/6/25, Alex Queiroz < address@hidden>:

On 6/25/07, felix winkelmann < address@hidden> wrote:
> On 6/24/07, Jong-Hyouk Yun <address@hidden> wrote:
> >
> > what's wrong, or more simple method there? anybody has succeed sdl.egg +
> > mingw32?
> I think you are the first person who actually tries to use it on mingw.
> sdl.scm should include <winsock2.h> if _WIN32 is defined and omit the
> inclusion of netinet/in.h.

     No, he's the second. :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]