secondlife
Member
- Joined
- Aug 1, 2009
- Messages
- 298
- Reaction score
- 23
Hi guys,
im trying to compile this project Tibia Extended Client Library from @Madzix with Visual Studio.
The only to-do wiki available is this:
all items marked with OK, i was able to do.
in item 3. Link opengl32 to your project. I have one doubt, i can use this library okk3/OpenGL-ES-SDK (https://github.com/okk3/OpenGL-ES-SDK) ??
Because i tried to compile with this Open-GL-ES-SDK and got an error while compiling:
DLLMAIN.CPP CODE ERROR:
I think i may be using the wrong library, can anyone help me?
Many thanks!
im trying to compile this project Tibia Extended Client Library from @Madzix with Visual Studio.
The only to-do wiki available is this:
- Create a dynamic link library project, name it and save. - OK
- Make sure your target filename is ddraw.dll - OK
- Link opengl32 to your project. - PROBLEM
- Always compile as release 32bit. - OK
all items marked with OK, i was able to do.
in item 3. Link opengl32 to your project. I have one doubt, i can use this library okk3/OpenGL-ES-SDK (https://github.com/okk3/OpenGL-ES-SDK) ??
Because i tried to compile with this Open-GL-ES-SDK and got an error while compiling:
Code:
error C2059: syntax error : '(' in dllmain.cpp 16
error C2238: unexpected token(s) preceding ';' 16
DLLMAIN.CPP CODE ERROR:
Code:
struct Render_NEW
{
DWORD padds1[5];
void (__stdcall *DrawRectangle) (DWORD nSurface, DWORD X, DWORD Y, DWORD W, DWORD H, DWORD nRed, DWORD nGreen, DWORD nBlue);
DWORD padds2[4];
void __stdcall (*LoadSprite) (int surface, int x, int y, int w, int h, void* data);
};
I think i may be using the wrong library, can anyone help me?
Many thanks!