Well, i tried with the Makefile, and it worked! but i must admit i dont understand half of it
but now the problem is SDL_gfx, i tried using the flag -lSDL_gfx, but it doesnt work! maybe the flag is different?? any suggestions??
Search found 2 matches
- Wed Nov 21, 2012 2:09 pm
- Forum: Programming Discussion
- Topic: How to compile a library?
- Replies: 6
- Views: 3405
- Tue Nov 20, 2012 10:17 am
- Forum: Programming Discussion
- Topic: How to compile a library?
- Replies: 6
- Views: 3405
How to compile a library?
Hi, this is my first post, and my question is how can i compile a library adn then use it in other projects, i tried, but it didnt worked :cry: i did the following thing: Graphics.h void RenderSurface(SDL_Surface *src,SDL_Rect *srcrect); Graphics.cpp #include "Graphics.h" #include <SDL.h> ...