May 26, 2019, 09:45:18 AM
Robotforum | Industrial Robots Community

 Karel compilation error

normal_post Author Topic:  Karel compilation error  (Read 149 times)

0 Members and 1 Guest are viewing this topic.

May 13, 2019, 03:36:41 PM
Read 149 times
Offline

CPh


Hello,

I get the following message during the compilation of my Karel program: "Code size exceeded maximum.  Break program into separately translated units."
Have you ever seen this message?
How should I do to be able to compile my code?

Today at 09:45:18 AM
Reply #1

Advertisement

Guest

May 13, 2019, 06:31:48 PM
Reply #1
Offline

MIRobotGuy


Hello,

I have received this error when my program gets too big.  To fix this issue really depends on the size of your KAREL program.  You may be able to just take the variables and constant declarations and put them in another .KL file and %Include that in your Karel program.

If that does not work, you may be able to take some of your routines from your karel program file and put them in another karel program file and then %Include them, or declare them FROM the other file.

Basically, you have to make your program smaller.

Hope this helps,
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
MI Robot Guy

May 14, 2019, 05:56:58 AM
Reply #2
Offline

CPh


Hello,

Thank you for your help, I will try something like that.


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

xx
Karel compilation

Started by larspluimers on Fanuc Robot Forum

32 Replies
4507 Views
Last post February 08, 2019, 01:17:49 AM
by BDDIAS
sad
Compilation error

Started by kenran on KUKA Robot Forum

14 Replies
10050 Views
Last post May 28, 2013, 07:06:30 PM
by kr16_2
xx
R1/$config:1 Compilation error

Started by semirk on KUKA Robot Forum

2 Replies
1975 Views
Last post December 25, 2014, 06:06:51 AM
by semirk
xx
Karel Systax error

Started by hugogalarza on Fanuc Robot Forum

7 Replies
2104 Views
Last post October 22, 2016, 04:16:19 AM
by hugogalarza