But this is the same undefined reference to __imp___acrt_iob_func error. By viewing the command line arguments, I see -lworkaround_47048 is not getting passed to the linker. Make sure your setting is read by e.g. try changing it to -ldummy_nonexist and see getting an error.