Donate Share

SDL_draw

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

DevC++ Windows complinig Problem

You are viewing a single message from this topic. View all messages.

  1. 2008-05-10 12:33:40 UTC
    Hi

    I'm using sdl_draw in two of my linux apps.
    Now I need to offer a windows port.
    Therefore I've downloaded sdl_draw and the DevCpp folder.
    I've copied the headers and the libs to the locations explained in the readme.

    But when I open SDL_draw.dev and try to 'Rebuild All' I get a lot of error messages.

    [compiler log]
    Compiler: Default compiler
    Building Makefile: "E:\sdl\SDL_draw-1.2.11\DevCpp\Makefile.win"
    Führt make... aus
    make.exe -f "E:\sdl\SDL_draw-1.2.11\DevCpp\Makefile.win" all
    gcc.exe -c ../src/SDL_draw.c -o ../src/SDL_draw.o -I"../include" -I"../src"

    ../src/SDL_draw.c:69: error: 'Draw_Pixel' redeclared as different kind of symbol
    ../src/SDL_draw.c:65: error: previous implicit declaration of 'Draw_Pixel' was here

    ../src/SDL_draw.c:110: error: 'Draw_Line' redeclared as different kind of symbol
    ../src/SDL_draw.c:105: error: previous implicit declaration of 'Draw_Line' was here

    ../src/SDL_draw.c:152: error: 'Draw_Circle' redeclared as different kind of symbol
    ../src/SDL_draw.c:146: error: previous implicit declaration of 'Draw_Circle' was here

    ../src/SDL_draw.c:194: error: 'Draw_FillCircle' redeclared as different kind of symbol
    ../src/SDL_draw.c:188: error: previous implicit declaration of 'Draw_FillCircle' was here

    ../src/SDL_draw.c:235: error: 'Draw_HLine' redeclared as different kind of symbol
    ../src/SDL_draw.c:230: error: previous implicit declaration of 'Draw_HLine' was here

    ../src/SDL_draw.c:275: error: 'Draw_VLine' redeclared as different kind of symbol
    ../src/SDL_draw.c:270: error: previous implicit declaration of 'Draw_VLine' was here

    ../src/SDL_draw.c:316: error: 'Draw_Rect' redeclared as different kind of symbol
    ../src/SDL_draw.c:311: error: previous implicit declaration of 'Draw_Rect' was here

    ../src/SDL_draw.c:360: error: 'Draw_Ellipse' redeclared as different kind of symbol
    ../src/SDL_draw.c:353: error: previous implicit declaration of 'Draw_Ellipse' was here

    ../src/SDL_draw.c:404: error: 'Draw_FillEllipse' redeclared as different kind of symbol
    ../src/SDL_draw.c:397: error: previous implicit declaration of 'Draw_FillEllipse' was here

    ../src/SDL_draw.c:445: error: 'Draw_Round' redeclared as different kind of symbol
    ../src/SDL_draw.c:440: error: previous implicit declaration of 'Draw_Round' was here

    ../src/SDL_draw.c:486: error: 'Draw_FillRound' redeclared as different kind of symbol
    ../src/SDL_draw.c:481: error: previous implicit declaration of 'Draw_FillRound' was here

    make.exe: *** [../src/SDL_draw.o] Error 1
    [/compiler log]

    Any ideas what could go wrong ?

    Greetings
    Sebastian
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.