lindsayw
Posts: 4
Joined: Sat Sep 28, 2013 7:40 am

Error when building simple project in Lazarus

Sat Oct 05, 2013 10:13 am

I get the following error when I try to build a simple project in Lazarus on Raspberry Pi:

Error: Can't call the assembler, error -1, switching to external assembling.

Would anyone know what the cause of the problem is?

Pier


Thaddy
Posts: 174
Joined: Wed Mar 06, 2013 11:28 am

Re: Error when building simple project in Lazarus

Sun Oct 06, 2013 4:48 pm

A simple project should be OK, provided you have a 512 MB model. Even quite -understatement- complex projects like Lazarus itself should compile ok..
Do you have the latest RaspBian? Do you maybe use a fixed memory split like 256/256? 256 is not enough for Lazarus (but it is for fpc..)
Lazarus works best with a memory split 64-128 for GPU or automatic, afaik this is the default in newer RaspBians.

A simple example would help :) And check your config.txt from RaspBian.

Return to “Other programming languages”