SRL Archive - Development

Getting tools to start developing for Simba


Wizzup?

2010-07-20 16:02:42

There is now a text file included in the Simba repository that will keep up-to-date information on compiling Simba.

You can find this file here —> https://github.com/MerlijnWajer/Simba/blob/master/INSTALL.rst

Any commits before this file are expected to be FPC 2.4.4 and Lazarus-fixes.



Old post left here for historical purposes.
———————————————————————————–

It is trivial to set up a base install of Lazarus/FPC (and git), which is all you need to compile simba.

You will want a recent lazarus, download it here:
http://www.hu.freepascal.org/lazarus/
I suggest: Lazarus-fixes + fpc 2.4.4 (Obviously as new FPCs are released, you may want to get a newer version.)
Now run the lazarus installler.

Download the portable version of git: http://code.google.com/p/msysgit/downloads/list (on linux, just install git from your package manager. actually, install fpc from the package manager too if the version is >= 2.4.0, you can then do a svn checkout on lazarus sources and build the latest lazarus yourself)
I suggest: PortableGit-1.7.0.2-preview20100309.7z

Unzip portable git to a directory, and run git-bash.
From git-bash run:

cd C:/ #on linux: cd ~
git clone git://github.com/MerlijnWajer/Simba.git

If you are a simba developer, you will use a different URL for the git repos.

Now you have git ready for use. Refer to my other git tutorials on how to use git to update the simba source. (hint: git pull)

To compile simba, simply open the file C:/Simba/Projects/Simba/Simba.lpr in lazarus and hit compile.

Wanted

2010-07-20 17:30:01

Glad there is finally an easy to find short simple guide for this, now to do SRL 5

Wizzup?

2010-07-21 07:52:47

From: IceFire908
Glad there is finally an easy to find short simple guide for this, now to do SRL 5


What do you mean, ``to do SRL 5''?

EvilChicken!

2010-07-21 12:20:57

Thanks for this!

(I really nave nothing else to add, I just felt that it was important that I'd show you my appreciation – as I've actually been wanting to get myself involved in Simba. As there is no "add to favourites"-option, I'll just subscribe to this and try it when I get home.)

cailing0322

2010-08-30 13:02:38

I agree with you !I support you .

Frement

2010-08-30 13:23:52

^ Another spambot?

Shuttleu

2010-08-30 13:43:59

From: Frement
^ Another spambot?


you just need to report the post, that way it will be found easier ;)
also notice how the sig is all about shoes XD

~shut

HyperSecret

2010-09-03 10:41:07

So would you suggest I do this on my Linux partition?

Wizzup?

2010-09-03 11:18:09

From: HyperSecret
So would you suggest I do this on my Linux partition?


If you want to compile it for Linux, yes.

HyperSecret

2010-09-03 11:24:32

From: Wizzup?
If you want to compile it for Linux, yes.


I tried to get it working on my mac but I couldn't get anything to work successfully. I was completely confused though with what I was doing and how to get lazarus to use FPC. It always said that FPC couldn't be found even though I had it.

Bixby Sayz

2011-11-01 14:01:55

From: Wizzup?
To compile simba, simply open the file C:/Simba/Projects/Simba/Simba.lpr in lazarus and hit compile.

I get the following errors:
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(298,12) Error: identifier idents no member "Tabs"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(302,17) Error: identifier idents no member "Tabs"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(306,12) Error: identifier idents no member "TabIndex"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(310,17) Error: identifier idents no member "TabIndex"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(314,16) Error: Incompatible types: got "TCustomTabControl" expected "TNotebook"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(398,16) Error: Incompatible types: got "TTabControl" expected "TCustomTabControl"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(596,39) Error: identifier idents no member "GetHitTestInfoAt"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(596,21) Error: Variable identifier expected
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(597,39) Error: identifier idents no member "IndexOfTabWithCaption"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(597,21) Error: Variable identifier expected
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(599,39) Error: identifier idents no member "RowCount"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(599,21) Error: Variable identifier expected
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(600,39) Error: identifier idents no member "ScrollTabs"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(600,21) Error: Variable identifier expected
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(601,39) Error: identifier idents no member "BeginUpdate"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(601,21) Error: Variable identifier expected
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(602,39) Error: identifier idents no member "EndUpdate"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(602,21) Error: Variable identifier expected
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(603,39) Error: identifier idents no member "IsUpdating"
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(603,21) Error: Variable identifier expected
C:\Program Files\Simba\Source\Units\PascalScript\uPSI_ComCtrls.pas(841) Fatal: There were 20 errors compiling module, stopping
This was using Lazarus + fpc 2.5.1. I'll try the older version and see if it makes a difference.

Edit: Just tried it with fpc 2.4.4 (the current stable release). Same errors.

Wizzup?

2011-11-01 15:54:31

You need the Lazarus-fixes download. A newer lazarus breaks (what else…) Pascalscript. We'll get around to resolving this once a new stable lazarus is released, until then, use the lazarus-fixes branch. (Advisable for stability as well)

E: Updated post. :D

Bixby Sayz

2011-11-01 17:54:34

Cool. It was admittedly a bit of a crap shoot trying to figure out which branch exactly I needed.

pencilbi

2012-04-15 21:16:51

the 2.4.4 download link was outdate.
the newst version of lazarus+ fpc 2.6.0 compile simba error.
how to compile simba now?

Sex

2012-04-15 21:19:39

From: pencilbi
the 2.4.4 download link was outdate.
the newst version of lazarus+ fpc 2.6.0 compile simba error.
how to compile simba now?


You can use the FPC 2.6 branch of Simba, or you must use 2.4.4.

pencilbi

2012-04-15 21:30:47

From: Sex
You can use the FPC 2.6 branch of Simba, or you must use 2.4.4.

thank u, i will try this later.

pencilbi

2012-04-15 23:20:12

its not work yet~
this time i using Lazarus 0.9.30.2 & FPC 2.4.4

error info:

..\..\Units\MMLAddon\mmlpsthread.pas(93,17) Fatal: Can't find unit lpparser used by mmlpsthread

Dgby714

2012-04-15 23:34:18

Wizzup forgot to add you need to do these two commands as well to pull the Lape interpreter.
git submodule init
git submodule update

Sex

2012-04-15 23:40:19

From: Dgby714
Wizzup forgot to add you need to do these two commands as well to pull the Lape interpreter.
git submodule init
git submodule update


I don't think he forgot, Lape wasn't in Simba at this time was it?

Anyways, you can remove Lape in Simba.inc if you want :).

Dgby714

2012-04-16 00:04:14

From: Sex
I don't think he forgot, Lape wasn't in Simba at this time was it?

Anyways, you can remove Lape in Simba.inc if you want :).


Meh didn't notice how old the thread was >..>
Anyways he forgot to add it when we added Lape to Simba =P lol jk

YoHoJo

2014-03-13 05:51:08

What a neat spambot! Pretty smart :p.
Close since dead thread!