There is a certain amount of configuration involved in using the older libraries, such as FM's. You have apparently not installed it correctly.
It is recommended that you just remove the older libraries (or ignore them) and use the Library manager to install Bill Perry's "HD44780" library which includes a profusion of examples for you to use. It actually completely figures out the configuration for you automatically (but you need to actually read the documentation).