Try use the FPC command line before using lazarus. By using the command line compiler we can see what errors you are getting more easily than with lazarus.