WP - I agree, something is very wrong.
Something is very wrong here...
When you open Lazarus it creates an empty project. Can you compile and run this default project?
[...] reinstalled Lazarus 2.2.0RC1, fpc 3.2.2 [...]
This sounds as if you installed Lazarus and fpc separately. But fpc is contained in the Lazarus installation. So, you only must install Lazarus and you will get fpc automatically. At least when you use the official installer.
So the question is: how did you install Lazarus?
Yes, after a clean installation of Lazarus 2.2.0RC1 the default project compiled and ran perfectly, no errors. Also, as far as I know, I did NOT install Lazarus and fpc separately. I think I used the official installer (lazarus-2.2.0RC1-fpc-3.2.2-win64.exe), so fpc should have been installed automatically. Here is the chain of events:
1. Clean install of "lazarus-2.2.0RC1-fpc-3.2.2-win64.exe"
2. Manually compiled all packages of LMath_06 and LComponents_05. I did NOT use the Project Group method.
3. I successfully compiled and ran the Address Book example that came with the Lazarus installation. Rans perfectly, no errors.
4. I successfully compiled and ran several of my old projects. They all ran perfectly, no errors.
5. I tried to open "LMath\demo\gui\curfit.lpi". Got this error message: "The current FPC has no config file. It will probably miss some units. Check your installation of fpc". Then, when I clicked OK in the error box, I got this error message: "The project uses target OS=win32 and cpu=x86_64. The system.ppu for this target was not found in the FPC binary directories. Make sure fpc is installed correctly for this target and the fpc.cfg contains the right directories"
6. But there IS a fpc.cfg file on the PC. It is located here "F:\Lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.cfg"
It seems to me that there is a major problem installing LMath into "lazarus-2.2.0RC1-fpc-3.2.2-win64.exe". Can you figure out what's going on? It seems to me that LMath is not compatible with Lazarus 2.2.0RC1-fpc-3.2.2-win 64 Is there a fix for this?