From Lazarus wiki
Revision as of 16:04, 21 November 2008 by GMorris (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OK! Seeing as how this is the first time I've been on the wiki, I'll just be brief and get right to the point. Several years ago I discovered this fantastic tool, and having Turbo Pascal experience I was elated to see that some enterprising folks had taken this on and gotten so far with it. Now it is even better than before, and I'm glad to see some things like the IDE in Linux (finally). I loaded FPC on my Linux distro (a current SlackWare install), and it seems to work fine and without much coaxing. In fact, I was amazed that I really didn't need to do much except customize it a little with the Options.

SOOOO....., I decide "why not try this on the new laptop running Windows Vista?", which I did. The install went well, and I originally put it in C:\Program Files\FPC\etc., etc. The first program I tried to compile, I get errors. One (the only one) was easily fixed, so I fixed that and tried again. Next attempt at a compile, I get the error "Unable to open fp.cfg". Naturally being the troubleshooting type of guy I am, I looked for the file, and it was in the correct place. I checked permissions, and even changed them to give full access to all, but same error. Then I thought that maybe (for some odd reason) the compiler is having a problem with the space in the "Program Files" directory name. That didn't make a lot of sense, but at the time I couldn't imagine what else it could be. After scratching my head and trying several different things, I decided to just remove the installation and re-install on my D drive in the root directory (D:\FPC\etc..), hoping that would solve the problem, but it didn't. I STILL get that first error every time, fix it, and then the same old thing about fp.cfg

If someone knows what to do here, I would greatly appreciate it, though it is not a priority. I'm hoping to figure it out myself anyway, but it's not looking good right now as I cannot determine where, when and how FP is looking for this file, and why it can't or won't access it. So much for my first page!