Can you compile and transfer a simple helloworld and try that first?
If that fails, plz report back. That would be useful information to test:
program hellomars;
{$mode objfpc}
begin
writeln('Hello, Mars!');
end.
If that doesn't work, there is a problem but only if the processor families do not match (32/64) , otherwise it is a matter of dependencies.
This program must be run from a terminal window, of course...Lazarus won't open a terminal window for you automatically. (Much to my annoyance,)