Search found 2 matches

by blackflower
Wed Nov 21, 2012 2:09 pm
Forum: Programming Discussion
Topic: How to compile a library?
Replies: 6
Views: 3405

Re: How to compile a library?

Well, i tried with the Makefile, and it worked! :) but i must admit i dont understand half of it :lol:
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??
by blackflower
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> ...