eclib Code
Status: Inactive
Brought to you by:
str4nger
File | Date | Author | Commit |
---|---|---|---|
Header | 2008-11-05 | Str4nger | [r25] Say hello to CBI |
doc | 2008-10-26 | Str4nger | [r17] |
ecl | 2008-11-18 | str4nger | [r27] ECL Changes |
samples | 2011-02-07 | str4nger | [r28] - Add check for valid region on RedrawRegion call |
src | 2011-02-07 | str4nger | [r28] - Add check for valid region on RedrawRegion call |
ChangeLog | 2011-02-07 | str4nger | [r28] - Add check for valid region on RedrawRegion call |
README | 2008-10-26 | Str4nger | [r17] |
do | 2008-11-05 | str4nger | [r22] ecPanel Component and Some ECL fixes |
options.inc | 2008-11-05 | Str4nger | [r25] Say hello to CBI |
1. Dependeces 2. Installation 3. Tweaking 4. Uninstalling 5. FAQ 1. For compile eclib lib you must have FreePascal Compiler ver. 2.0.x On 2.2.x versions shared object mode not supported. 2. Installation: cd eclib/ and type chmod +x do ./do check - to check you system and compiler ./do build - to compile eclib ./do install - to install eclib ad headers WARNING: You must run ./do install from root 3. Tweaking You can tune some ecilb options by editing options.inc. After editing it you need to recompile/reinstall eclib: ./do clean ./do uninstall ./do build ./do install or ./do all 4. Uninstalling ./do uninstall 5. FAQ 5.1 I get "eclib.pas(22,53) "Fatal: Syntax error, ")" expected but "=" found"" Then trying to compile program with eclib Use -Sd option for fpc compiler. Like this: fpc -Sd colortest.pas 5.2 I get "An unhandled exception occurred at $00000001 :" then trying to run compiled eclib program You must add to program Uses section unit crt. 5.3 Where are instaled eclib located ? By default lib located in /usr/local/lib and header in /usr/local/include 5.4 Can I change this paths ? Yes, edit ./do script edit variables INSTALLPATH= and HEADERPATH= 5.5 Can I see any sample programs writed on eclib ? Yes, see in eclib/samples/. 5.6 How to compile samples ? To build all samples use ./do samples To build one sample use fpc -Sd {samplename} Example "fpc -Sd colortest" 5.7 Where a can get some documentation ? See doc directory or see source code(good Luck). 5.8 Can I select mode(Shared or Build-in) on install steep ? No, but you can manualy remove libeclib.so binary from /usr/local/lib/ 5.9 How I can choose mode(Shared or Build-in) ? Edit /usr/local/include/eclib/eclib.pas, for details see comments