You have to add setargv.obj as a link flag, not as a library.