You need a newer version of FPC. AFAIK Generics.Collections is part of FPC trunk for almost two years now. The TDictionary from Generics.Collections is compatible with the one from Delphi System.Generics.Collections. For older versions of FPC, the closest to TDictionary is TFPGMap from unit fgl. You can give it a try.