Having trouble in inserting linux header type to windows

Hii, I'm a beginner and I want to ask something
i have header file but it was created in linux platform by someone
I try it and it works in linux...
The problem is I want to add it to my windows 7 but I got some error there...
this is some fragment of the code, and thank you for helping...(As I know, the language is a little bit different)

I have some example of the problem....
----------------------------------------------------------
#ifdef __cplusplus
#include <cstdlib>
#else
#include <stdlib.h>
#endif
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_mixer.h>
#include <SDL_ttf.h>
//#include <SDL_stretch/SDL_stretch.h>
//#include <SDL_rotozoom.h>
#include "../sprig/sprig.h"
//#include "nfont/nfontc.h"
#include "wayang.h"

#define between(v,a,b) ((v>a) && (v<b))
#define outside(v,a,b) ((v<a) || (v>b))

char* font_path = "fonts/truetype/";
char* image_path = "images/";
char* sound_path = "sounds/";

Kelir kelir;
Dalang dalang;

int sStart();
void sFinish();

char print_buffer[PRINT_MAX+1];

bool enable_log = true;

void logPrintf(char* fmt, ...) {
if (enable_log) {
va_list ap;
va_start(ap, fmt);
vprintf(fmt, ap);
va_end(ap);
}
}

SDL_Surface* cLoadImage(char* filename) {
SDL_Surface* image = IMG_Load(filename);
if (image == NULL) {
strncpy(print_buffer, image_path, PRINT_MAX);
strncat(print_buffer, filename, PRINT_MAX);
image = IMG_Load(print_buffer);
if (image == NULL) {
logPrintf("IMG_Load: %s\n", IMG_GetError());
return NULL;
}
}
return image;
}

--------------------------------------------
it says : undefined reference to 'IMG_Load'
how to fix it?
Topic archived. No new replies allowed.