Re: Compile SourceCode using OpenGL / SDL (Gravit 0.4.2) - additional info...

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

 



I dont really think this is the right mailing list to be asking about
libSDL and code-blocks i doubt many of us on here have ever used them
:). Try the libSDL mailing list.

On 27 December 2010 22:05, emanu <emanuellarsson@xxxxxxxxxxx> wrote:
>
> So... following is what Code::Blocks gives after importing Gravits
> main.c-file and rying to compile:
>
> Compiling: ..\gravit-0.4.2\gravit-0.4.2\main.c
> In file included from D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:22:
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:74:24: error: SDL_syswm.h:
> No such file or directory
> In file included from D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:22:
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:88: warning: ignoring
> #pragma warning
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:118:18: error: SDL.h: No
> such file or directory
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:119:22: error: SDL_ttf.h:
> No such file or directory
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:120:25: error:
> SDL_opengl.h: No such file or directory
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:121:24: error: SDL_image.h:
> No such file or directory
> In file included from D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:137,
>                 from D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:22:
> c:\program files
> (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/../../../../include/ctype.h:56:
> error: expected identifier or '(' before 'int'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:140:17: error: lua.h: No
> such file or directory
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:141:21: error: lauxlib.h:
> No such file or directory
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:142:20: error: lualib.h: No
> such file or directory
> In file included from D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:261,
>                 from D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:22:
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\font.h:29: error: expected
> specifier-qualifier-list before 'GLuint'
> In file included from D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:22:
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:267: warning: parameter
> names (without types) in function declaration
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:268: error: expected ')'
> before '*' token
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:271: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before 'glPointParameterfvARB_ptr'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:300: error: expected
> specifier-qualifier-list before 'SDL_VideoInfo'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:374: error: expected
> specifier-qualifier-list before 'lua_State'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:419: error: 'SDLK_LAST'
> undeclared here (not in a function)
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:594: error: expected ')'
> before 'c'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:685: error: expected ')'
> before '*' token
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\gravit.h:687: error: expected ')'
> before '*' token
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c: In function 'loadDefaults':
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:37: error: 'video_t' has no
> member named 'sdlStarted'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c: In function 'clean':
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:247: error: 'video_t' has no
> member named 'sdlStarted'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:248: warning: implicit
> declaration of function 'TTF_Quit'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:249: warning: implicit
> declaration of function 'SDL_Quit'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c: In function 'runInput':
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:259: error: 'video_t' has no
> member named 'sdlStarted'
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c: In function 'runVideo':
> D:\C-projects\gravit-0.4.2\gravit-0.4.2\main.c:278: error: 'video_t' has no
> member named 'sdlStarted'
> Process terminated with status 1 (0 minutes, 1 seconds)
> 22 errors, 4 warnings
>
> That´s it.
>
> So I allready know that I should look for something SDL, OpenGL and Lua...
> but even having I think oficial  sites of theese there´s tons of stuff and I
> really don´t know wich part or parts of it all I need.
>
>
> --
> View this message in context: http://old.nabble.com/Compile-SourceCode-using-OpenGL---SDL-%28Gravit-0.4.2%29-tp30541429p30541677.html
> Sent from the gcc - Help mailing list archive at Nabble.com.
>
>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux