I am trying to compile this simple hooking library:
https://github.com/Zeex/subhook
and I am getting these errors:
1>subhook.obj : warning LNK4006: subhook_new already defined in subhook_x86.obj; second definition ignored
1>subhook.obj : warning LNK4006: subhook_free already defined in subhook_x86.obj; second definition ignored
1>subhook.obj : warning LNK4006: subhook_install already defined in subhook_x86.obj; second definition ignored
1>subhook.obj : warning LNK4006: subhook_remove already defined in subhook_x86.obj; second definition ignored
1>subhook.obj : warning LNK4006: subhook_read_dst already defined in subhook_x86.obj; second definition ignored
1>subhook.obj : warning LNK4006: subhook_disasm already defined in subhook_x86.obj; second definition ignored
1>subhook.obj : warning LNK4006: subhook_unprotect already defined in subhook_windows.obj; second definition ignored
1>subhook.obj : warning LNK4006: subhook_alloc_code already defined in subhook_windows.obj; second definition ignored
1>subhook.obj : warning LNK4006: subhook_free_code already defined in subhook_windows.obj; second definition ignored
Has anyone used this lib before?