I tried to add an external library to my waf: the winmm.lib library
it looks like this now:
srcs = ['timers.cpp']
LIBS ='winmm.lib';
create_lib('timers', srcs,LIBS)
it doesn't work. It says I vmp library 'winmm.lib.py' was not found in the current library.
can someone help?
I have never heard of "create_lib" in waf, so I have no idea what that function is or does, but I'll try to answer your question anyway. Below I have a very basic wscript that is my typical way of setting up a simple project (on linux). If waf is as platform independent as it claims, then this should work for windows as well; I have not tested it. This should create a simple shared library.
In the future please provide your whole wscript and the stack trace so its easier to answer your question.