View Full Version : SRL5 help.
shstiger2009
01-02-2012, 04:27 PM
I'm getting the error:
Exception in Script: Unable to find file 'SRL/srl.simba' used from ''
I followed the steps on the Official SRL5 thread, what'd I do wrong?
nokkasiili
01-02-2012, 04:34 PM
You didnt install it correctly...
shstiger2009
01-02-2012, 04:36 PM
You didnt install it correctly...
Ok, anything you'd suggest that isn't in the main thread? I thought I did everything there correctly.
nokkasiili
01-02-2012, 04:37 PM
Ok, anything you'd suggest that isn't in the main thread? I thought I did everything there correctly.
Try check why you dont have that file.
Flight
01-02-2012, 04:47 PM
Step 1: Download SRL5 (https://github.com/SRL/SRL-5/zipball/master)
Step 2: Unzip the SRL5 folder, inside you should have a folder named something like "SRL-SRL-5-d66d4bd". Rename this to SRL.
Step 3: Go to your Simba > Includes folder, rename your current SRL folder to something like "SRL-4" (just for referrance).
Step 4: Copy the SRL5 include (that you already renamed to "SRL") and paste it in Simba > Includes (same place the previous SRL folder was). In your Includes folder, you should now have both "SRL" and "SRL-4". This is good.
Step 5: Run a test script to make sure SRL 5 was correctly installed.
Here's an example script:
program SRL5_TestScript;
{$DEFINE SRL5}
{$i SRL/srl.simba}
Procedure WriteStuffz;
var
AVar1,AVar2: Integer;
begin
AVar1 := 1;
AVar2 := 937193;
Writeln('AVar1 is '+IntToStr(AVar1)+', and AVar2 is '+IntToStr(AVar2));
end;
begin
setupSRL();
WriteStuffz;
end.
shstiger2009
01-02-2012, 05:09 PM
Oh, I see what I did wrong. Thanks Flight, working now. Check your PM's also. :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.