Ah, no.
As I said, you don't need to compile. You digged to deep. It's good for your knowledge but not in the case do get the stuff running immediatly.
First, flash Bootloader with PicKit Programmer (IPE not IDE should be inside the pack with the IDE, however by google I just get this result) if you can handle it with IDE, never mind. But you just need the easy IPE with which you can load hex files.)
bootloader_v1_2b_pic18f4685.hex, right
First choose device Family 18fxxxx
I don't really know if there is a way to give ids, I think its in the hex and default 00
Than
open MIOS, connect to your PIC via Midi, error message, right
load mios8_v1_9h_pic18f4685.hex
Should upload after some seconds, if not, turn power off and on
Should upload
Than
you get no error message, MIOS recognized or something
upload setupmb6582.hex or however it's called correctly
do this with every PIC and change their ids
No problem to ask, I also had and will have this times where I'm stuck or don't understand correctly.