Hm… something wrong in BatteryPickup.cpp with IsCollected Implementation, I would need to see the whole code for more Information (inclusive the header file).
When you compile with VS, do get get a more specific error message? Like line number or maybe missing declaration in .hpp file or something?