Use -I.. instead of -Icore in duel
Don't -I../core from duel
Don't -I../core from capture/