Topic: [HELP] Adding external libraries to teeworlds
Hello there.
I am trying to implement a certain library into teeworlds, let's just call it "x". The corresponding file structure is like this:
other/x/lib/x.dll
other/x/lib/x.lib
other/x/include/x/x.h
In bam.lua, I added this:
table.insert(client_depends, CopyToDirectory(".", "other\\x\\lib\\x.dll"))
also, further below:
client_settings.cc.includes:Add("other/x/include")
client_settings.link.libpath:Add("other/x/lib")
client_settings.link.libs:Add("x");
Yes, I am trying to modify my client. Now, the error is that "x/x.h" can't be found. What am I missing here? Thanks for you time,
Ikaron