first be sure to copy the dll files into the teeworlds folder while compiling since the game will need it:
if family == "windows" then
table.insert(client_depends, CopyToDirectory(".", "other\\sdl\\vc2005libs\\SDL.dll"))
table.insert(server_depends, CopyToDirectory(".", "other\\your_stuff\\libs\\your.dll"))
end
than be sure to add the include folder, the lib path and the .lib u are using for compiling for compiling:
elseif family == "windows" then
settings.link.libs:Add("gdi32")
settings.link.libs:Add("user32")
settings.link.libs:Add("ws2_32")
settings.link.libs:Add("ole32")
settings.link.libs:Add("shell32")
settings.cc.includes:Add("other/your_stuff/include")
settings.link.libpath:Add("other/your_stuff/libs")
settings.link.libs:Add("your_lib")
end
it should work like this... at least it does for me
uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^