I can't get the example turbopower_ipro to run
lazarus / 5-Lazarus Extra Components
----------------------------------------------------------------------
Adnarim · 2006-12-18 22:10
Hi,
I need to show different formated text in my application and the only
way I could think of handling this is using the IPhtmlpanel, which is
used in this example.
I can compile this example without any errors. And the jpegs are shown
correctly but no text and no links and stuff like that.
This is the screen with the example index.html:
(http://img370.imageshack.us/img370/4563/lazscreentx9.jpg)
You can see the Link-text of the index.html is not shown. Here the
code of the index.html:
Code: [Select]
Test Page for IPro HTML control for Lazarus
Lazarus example for IPro HTML control.
Image ../../docs/images/cheetah1.png

Image ../../docs/images/laztitle.jpg

Image broken

Link
This whole happens under linux. Does someone know what I can do now?
greets
----------------------------------------------------------------------
Adnarim · 2006-12-19 21:00
Noone an idea? Or some suggestion which other componant I could use to
show formated text?
----------------------------------------------------------------------
jesusr · 2006-12-21 19:23
I will take a look at the ipro problem. There are other options, for
example check out: http://wiki.lazarus.freepascal.org/RichView
----------------------------------------------------------------------
jesusr · 2006-12-22 23:02
I reproduced the problem in my system, I fixed a bug in lazarus and
after that it works ok, please update to lazarus revision 10349 or
later and try again, report if problem persist, preferable by filling
a bug report about it.
----------------------------------------------------------------------
Adnarim · 2006-12-23 17:02
Hi,
where can I find this revision 10349? I'm using Lazarus on linux and I
have installed the newest lazarus_0.9.20-0_i386.deb packet from
http://sourceforge.net/project/showfiles.php?group_id=89339.
greets
----------------------------------------------------------------------
Lord_ZealoN · 2006-12-23 18:24
I think he speaks about getting the Lazarus source an compile it.
If you don't want to do this, download the nightybuild:
http://www.hu.freepascal.org/lazarus/
----------------------------------------------------------------------
Adnarim · 2006-12-27 15:27
hey,
I tried now a few days long but I can't install the nightly built on
linux (ubuntu). I've downloaded de rpm-packet and converted it to a
deb one. This I can install without any error but if I start lazarus I
get errors, that the paths aren't right and I should go to the
environment tab and fix the
problem:(http://img153.imageshack.us/img153/4332/lazerrordp0.jpg)
But how? What is the right directory to choose? usr/share/lazarus
won't work either...
greets
----------------------------------------------------------------------
Marc · 2006-12-27 18:11
the right laz directory is the one containing the sources.
It should contain directories like: components, debugger, designer,
docs, ide, ideintf, languages, lcl etc.
----------------------------------------------------------------------
Adnarim · 2006-12-29 21:10
K thanks I changed the path to /usr/lib/lazarus and everything starts
fine now. But now an other problem appeared I can't compile the
example anymore. If I open it as an project (the example folder has
been copied to the desktop to get write permission) and press the
green arrow I get:
Couldn't write the file
/usr/lib/lazarus/components/turbopower_ipro/Makefile.fpc
What is of course right because on linux no program can simply write
into the /usr/lib folder unless he is root. And because under linux
you don't work as root this can of course not work. This should really
be changed in lazarus. No linuxuser wants Lazarus write into
systemfolder or at least folders behind /usr/...
So I went on to the projects tab and wanted to do 'make file' to
compile the file into the examples folder on my desktop but he alwas
says:
/home/adnarim/Desktop/turbopower_ipro/mainunit.pas(11,22) Fatal: Can't
find unit LResources.
What does this mean? Do I need to link this unit somewhere?
greets
----------------------------------------------------------------------
Marc · 2007-01-02 10:09
I think this is some kind of bug. However since I run lazarus from my
own sourcedir (and don't install it I can't confirm it)
However how things should work: When laz is installed in a ro dir,
then when laz needs to be recompiled, it recompiles itself to
~/.lazarus/bin compiled packages go also somewhere in ~/.lazarus
(lib?)
In your case I suspect that the last part isn't working.