Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-08

Okay... I've got Lazarus 0.9.25 but now it doesn't find it's own units.

9 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Williams

G'day All,

Okay... Good news is that I've managed to install FPC, FPC Source, and Lazarus -- from today's snapshot.

Bad news is -- the same project which Mattias assures me won't Build. I get the following fatal error:

HelpMultiTabbed.lpr(8,7) Fatal: Can't find unit Interfaces used by
HelpMultiTabbed

I'm thinking that I need to change/add path(s) in the Project / Compiler Options menu... but what goes into which path(s) boxes?!?

-----------
program HelpMultiTabbed;
{$mode objfpc}{$H+}

uses

  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Interfaces, // this includes the LCL widgetset
// ^^^^^^^^^^ --- that's the line giving the fatal error
  Forms
  { you can add units after this },
  mainunit, frameunit;
begin
  Application.Title:='HelpDialog';
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.
-----------

Best Regards & Happy Debugging,
PEW

Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.)

Reply by email

Peter Williams
to Mattias Gärtner

G'day Mattias and Fellow Lazarus Fans,

*SMILE*

2008/8/11 Mattias G?rtner

Show quoted text 20 lines
Zitat von Peter Williams : > G'day All, > > Okay... Good news is that I've managed to install FPC, FPC Source, and > Lazarus -- from today's snapshot. > > Bad news is -- the same project which Mattias assures me won't Build. > I get the following fatal error: > > HelpMultiTabbed.lpr(8,7) Fatal: Can't find unit Interfaces used by > HelpMultiTabbed > > I'm thinking that I need to change/add path(s) in the Project / > Compiler Options menu... but what goes into which path(s) boxes?!? Don't change the project compiler options search paths. In 9 of 10 cases this is the wrong solution.

ok. I suspected as much.

Show quoted text 20 lines
unit interfaces belongs to the LCL. So either your environment options are not correct (e.g. it still points to your old lazarus directory, or you are still using an old compiler) or you are trying to compile with the wrong widgetset (choose 'default' in compiler options) or you have installed some fpc/lazarus packages that don't fit together. Since you have already tried different things on your kubuntu it might be possible that you have some left overs from prior installations. In this case we can only guess, what went wrong without a complete -vut output (-vu -vt are fp compiler flags to show every tried file). Please do a compiler test: Project / compiler options / test. Probably the best strategy for you at this point is to do this: Uninstall the lazarus package (keep fpc and fpc-src)

I did this by using the Adept Manager and using the 'mark for uninstallation' option (or 'removal' - not quite sure of the terminology it used) on the lazarus software. It worked well. :-)))

Show quoted text 7 lines
Download lazarus from svn and build it. Open a terminal/command prompt, (do *no* sudo and do *not* become root) change to the directory you wish the Lazarus folder to be created in, download it and build it:

I followed your instructions (below):

mkdir /home/user/pascal cd /home/user/pascal svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus

At this point, the terminal reported that SVN was not installed. However, it was very clever and helpful (!!!) and it told me the 'apt-get' command to install SVN. I entered the command to install SVN and it installed without any problems. ;-)))

cd lazarus make LCL_PLATFORM=gtk2

This also worked well !!! *SMILE*

Show quoted text 8 lines
If you have trouble with svn, see http://wiki.lazarus.freepascal.org/Getting_Lazarus#Using_SVN If you have trouble linking, you may have to install the gtk2 development package: sudo apt-get install libgtk2.0-dev

I didn't need to do this. It must have already been installed.

Show quoted text 6 lines
Start lazarus with /home/user/pascal/lazarus/lazarus You can put an icon on your desktop to this path if you want.

The only (small) problem that I have now is that the command for lazarus, in both the Menu / Applications / Development submenu, and the shortcut on my desktop HAVE LOST THE ICON. I get a crappy looking icon of a white paper document *instead* of the usual leopard icon. It's probably something simple -- but like most computer problems, it's a matter of knowing what to change and where to look.

btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my "Help Multitabbed Dialog" app -- it works fine now. So I quickly archived the folder -- just in case... so that I have a working copy of it archived!!! *SMILE*

Show quoted text 8 lines
Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Best Regards and Wishing One & All Happy Debugging, PEW

Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080812/5a1fd6dc/attachment.html

Reply by email

Peter Williams
to Mattias Gärtner: An embedded and charset-unspecified text was scrubbed... Name: not available Url:…

G'day Mattias and Fellow Lazarus Fans,

*SMILE*

2008/8/11 Mattias G?rtner

Show quoted text 20 lines
Zitat von Peter Williams : > G'day All, > > Okay... Good news is that I've managed to install FPC, FPC Source, and > Lazarus -- from today's snapshot. > > Bad news is -- the same project which Mattias assures me won't Build. > I get the following fatal error: > > HelpMultiTabbed.lpr(8,7) Fatal: Can't find unit Interfaces used by > HelpMultiTabbed > > I'm thinking that I need to change/add path(s) in the Project / > Compiler Options menu... but what goes into which path(s) boxes?!? Don't change the project compiler options search paths. In 9 of 10 cases this is the wrong solution.

ok. I suspected as much.

Show quoted text 20 lines
unit interfaces belongs to the LCL. So either your environment options are not correct (e.g. it still points to your old lazarus directory, or you are still using an old compiler) or you are trying to compile with the wrong widgetset (choose 'default' in compiler options) or you have installed some fpc/lazarus packages that don't fit together. Since you have already tried different things on your kubuntu it might be possible that you have some left overs from prior installations. In this case we can only guess, what went wrong without a complete -vut output (-vu -vt are fp compiler flags to show every tried file). Please do a compiler test: Project / compiler options / test. Probably the best strategy for you at this point is to do this: Uninstall the lazarus package (keep fpc and fpc-src)

I did this by using the Adept Manager and using the 'mark for uninstallation' option (or 'removal' - not quite sure of the terminology it used) on the lazarus software. It worked well. :-)))

Show quoted text 7 lines
Download lazarus from svn and build it. Open a terminal/command prompt, (do *no* sudo and do *not* become root) change to the directory you wish the Lazarus folder to be created in, download it and build it:

I followed your instructions (below):

mkdir /home/user/pascal cd /home/user/pascal svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus

At this point, the terminal reported that SVN was not installed. However, it was very clever and helpful (!!!) and it told me the 'apt-get' command to install SVN. I entered the command to install SVN and it installed without any problems. ;-)))

cd lazarus make LCL_PLATFORM=gtk2

This also worked well !!! *SMILE*

Show quoted text 8 lines
If you have trouble with svn, see http://wiki.lazarus.freepascal.org/Getting_Lazarus#Using_SVN If you have trouble linking, you may have to install the gtk2 development package: sudo apt-get install libgtk2.0-dev

I didn't need to do this. It must have already been installed.

Show quoted text 6 lines
Start lazarus with /home/user/pascal/lazarus/lazarus You can put an icon on your desktop to this path if you want.

The only (small) problem that I have now is that the command for lazarus, in both the Menu / Applications / Development submenu, and the shortcut on my desktop HAVE LOST THE ICON. I get a crappy looking icon of a white paper document *instead* of the usual leopard icon. It's probably something simple -- but like most computer problems, it's a matter of knowing what to change and where to look.

btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my "Help Multitabbed Dialog" app -- it works fine now. So I quickly archived the folder -- just in case... so that I have a working copy of it archived!!! *SMILE*

Show quoted text 8 lines
Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Best Regards and Wishing One & All Happy Debugging, PEW

Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080812/e16c15cc/attachment.html

Reply by email

Peter Williams
to Mattias Gärtner: An embedded and charset-unspecified text was scrubbed... Name: not available Url:…

G'day Mattias and Fellow Lazarus Fans,

*SMILE*

2008/8/11 Mattias G?rtner

Show quoted text 20 lines
Zitat von Peter Williams : > G'day All, > > Okay... Good news is that I've managed to install FPC, FPC Source, and > Lazarus -- from today's snapshot. > > Bad news is -- the same project which Mattias assures me won't Build. > I get the following fatal error: > > HelpMultiTabbed.lpr(8,7) Fatal: Can't find unit Interfaces used by > HelpMultiTabbed > > I'm thinking that I need to change/add path(s) in the Project / > Compiler Options menu... but what goes into which path(s) boxes?!? Don't change the project compiler options search paths. In 9 of 10 cases this is the wrong solution.

ok. I suspected as much.

Show quoted text 20 lines
unit interfaces belongs to the LCL. So either your environment options are not correct (e.g. it still points to your old lazarus directory, or you are still using an old compiler) or you are trying to compile with the wrong widgetset (choose 'default' in compiler options) or you have installed some fpc/lazarus packages that don't fit together. Since you have already tried different things on your kubuntu it might be possible that you have some left overs from prior installations. In this case we can only guess, what went wrong without a complete -vut output (-vu -vt are fp compiler flags to show every tried file). Please do a compiler test: Project / compiler options / test. Probably the best strategy for you at this point is to do this: Uninstall the lazarus package (keep fpc and fpc-src)

I did this by using the Adept Manager and using the 'mark for uninstallation' option (or 'removal' - not quite sure of the terminology it used) on the lazarus software. It worked well. :-)))

Show quoted text 7 lines
Download lazarus from svn and build it. Open a terminal/command prompt, (do *no* sudo and do *not* become root) change to the directory you wish the Lazarus folder to be created in, download it and build it:

I followed your instructions (below):

mkdir /home/user/pascal cd /home/user/pascal svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus

At this point, the terminal reported that SVN was not installed. However, it was very clever and helpful (!!!) and it told me the 'apt-get' command to install SVN. I entered the command to install SVN and it installed without any problems. ;-)))

cd lazarus make LCL_PLATFORM=gtk2

This also worked well !!! *SMILE*

Show quoted text 8 lines
If you have trouble with svn, see http://wiki.lazarus.freepascal.org/Getting_Lazarus#Using_SVN If you have trouble linking, you may have to install the gtk2 development package: sudo apt-get install libgtk2.0-dev

I didn't need to do this. It must have already been installed.

Show quoted text 6 lines
Start lazarus with /home/user/pascal/lazarus/lazarus You can put an icon on your desktop to this path if you want.

The only (small) problem that I have now is that the command for lazarus, in both the Menu / Applications / Development submenu, and the shortcut on my desktop HAVE LOST THE ICON. I get a crappy looking icon of a white paper document *instead* of the usual leopard icon. It's probably something simple -- but like most computer problems, it's a matter of knowing what to change and where to look.

btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my "Help Multitabbed Dialog" app -- it works fine now. So I quickly archived the folder -- just in case... so that I have a working copy of it archived!!! *SMILE*

Show quoted text 8 lines
Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Best Regards and Wishing One & All Happy Debugging, PEW

Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080812/8bddd4e7/attachment-0001.html

Reply by email

Peter Williams
to Mattias Gärtner: An embedded and charset-unspecified text was scrubbed... Name: not available Url:…

G'day Mattias and Fellow Lazarus Fans,

*SMILE*

2008/8/11 Mattias G?rtner

Show quoted text 20 lines
Zitat von Peter Williams : > G'day All, > > Okay... Good news is that I've managed to install FPC, FPC Source, and > Lazarus -- from today's snapshot. > > Bad news is -- the same project which Mattias assures me won't Build. > I get the following fatal error: > > HelpMultiTabbed.lpr(8,7) Fatal: Can't find unit Interfaces used by > HelpMultiTabbed > > I'm thinking that I need to change/add path(s) in the Project / > Compiler Options menu... but what goes into which path(s) boxes?!? Don't change the project compiler options search paths. In 9 of 10 cases this is the wrong solution.

ok. I suspected as much.

Show quoted text 20 lines
unit interfaces belongs to the LCL. So either your environment options are not correct (e.g. it still points to your old lazarus directory, or you are still using an old compiler) or you are trying to compile with the wrong widgetset (choose 'default' in compiler options) or you have installed some fpc/lazarus packages that don't fit together. Since you have already tried different things on your kubuntu it might be possible that you have some left overs from prior installations. In this case we can only guess, what went wrong without a complete -vut output (-vu -vt are fp compiler flags to show every tried file). Please do a compiler test: Project / compiler options / test. Probably the best strategy for you at this point is to do this: Uninstall the lazarus package (keep fpc and fpc-src)

I did this by using the Adept Manager and using the 'mark for uninstallation' option (or 'removal' - not quite sure of the terminology it used) on the lazarus software. It worked well. :-)))

Show quoted text 7 lines
Download lazarus from svn and build it. Open a terminal/command prompt, (do *no* sudo and do *not* become root) change to the directory you wish the Lazarus folder to be created in, download it and build it:

I followed your instructions (below):

mkdir /home/user/pascal cd /home/user/pascal svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus

At this point, the terminal reported that SVN was not installed. However, it was very clever and helpful (!!!) and it told me the 'apt-get' command to install SVN. I entered the command to install SVN and it installed without any problems. ;-)))

cd lazarus make LCL_PLATFORM=gtk2

This also worked well !!! *SMILE*

Show quoted text 8 lines
If you have trouble with svn, see http://wiki.lazarus.freepascal.org/Getting_Lazarus#Using_SVN If you have trouble linking, you may have to install the gtk2 development package: sudo apt-get install libgtk2.0-dev

I didn't need to do this. It must have already been installed.

Show quoted text 6 lines
Start lazarus with /home/user/pascal/lazarus/lazarus You can put an icon on your desktop to this path if you want.

The only (small) problem that I have now is that the command for lazarus, in both the Menu / Applications / Development submenu, and the shortcut on my desktop HAVE LOST THE ICON. I get a crappy looking icon of a white paper document *instead* of the usual leopard icon. It's probably something simple -- but like most computer problems, it's a matter of knowing what to change and where to look.

btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my "Help Multitabbed Dialog" app -- it works fine now. So I quickly archived the folder -- just in case... so that I have a working copy of it archived!!! *SMILE*

Show quoted text 8 lines
Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Best Regards and Wishing One & All Happy Debugging, PEW

Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080812/50ddb1e8/attachment.html

Reply by email

Reenen Laurie
to Peter Williams
Show quoted text 8 lines
btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my "Help Multitabbed Dialog" app -- it works fine now. So I quickly archived the folder -- just in case... so that I have a working copy of it archived!!! *SMILE*

The beauty is, that if you are creating GPL or other free software, you can use SVN yourself... and getting a working copy is very easy as well, and all the backups are kept by people who backup their databases regularly.

There are loads of sites that allow you to do this, with SourceForge ( www.sf.net) and GoogleCode (code.google.com) being only some of them.

o__ ,_.>/ _ (_)_\(_)_______ ...speed is good _______________ I believe five out of four people have a problem with fractions. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080812/8c0bf7eb/attachment.html

Reply by email

Peter Williams
to Reenen Laurie

G'day Reenen, Mattias and All Lazarus Fans,

2008/8/12 Reenen Laurie

Show quoted text 15 lines
> btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my > "Help Multitabbed Dialog" app -- it works fine now. So I quickly archived > the folder -- just in case... so that I have a working copy of it > archived!!! *SMILE* > > The beauty is, that if you are creating GPL or other free software, you can use SVN yourself... and getting a working copy is very easy as well, and all the backups are kept by people who backup their databases regularly. There are loads of sites that allow you to do this, with SourceForge ( www.sf.net) and GoogleCode (code.google.com) being only some of them.

I think that I would definitely like to somehow share my freeware open source Lazarus projects with others. The thing is: I need a sort of dummy's guide to doing this. And in particular how to use the SVN command to achieve this.

Actually, I already have one of my projects, as Delphi 7 Second Edition code (developed with M$ Windowz), called "Frog Retro Remake" game ver 1.3 (for Windowz) on SourceForge. I've noticed that SourceForge has been sending emails (to me) to tell me that they are re-designing their website... and will be converting the current projects to the new website (I'm not sure of the time-scale).

Is there a way of finding like-minded Lazarus programmers who would like to share their open source projects?!? I know that this is an ambigious question, but, what is the best approach to sharing code with others?!? ( I persume with SVN command involved somehow ).

ps - My OS is now 100% Linux Kubuntu -- I've decided that I don't want to have anything further to do with M$ Windowz -- e.g. I've given Windowz the flick.... and I'm pretty happy with Linux Kubuntu now.

Best Regards & Wishing Everyone Happy Computing,
PEW *SMILE*

Show quoted text 15 lines
-- o__ ,_.>/ _ (_)_\(_)_______ ...speed is good _______________ I believe five out of four people have a problem with fractions. _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080822/9926c84b/attachment.html

Reply by email

Reenen Laurie
to Peter Williams

see http://wiki.lazarus.freepascal.org/Create_Google_Code_Project

I am still editing it, but as I am on windows at the moment, I don't have SVN (the command) to my disposal.

On windows (which you don't use) TortoiseSVN is really good, and that is what I use.

But it'll start you off, and you can continue with that documentation...

Regards,
-Reenen

2008/8/22 Peter Williams

Show quoted text 77 lines
G'day Reenen, Mattias and All Lazarus Fans, 2008/8/12 Reenen Laurie > >> btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my >> "Help Multitabbed Dialog" app -- it works fine now. So I quickly archived >> the folder -- just in case... so that I have a working copy of it >> archived!!! *SMILE* >> >> > > The beauty is, that if you are creating GPL or other free software, you > can use SVN yourself... and getting a working copy is very easy as well, and > all the backups are kept by people who backup their databases regularly. > > There are loads of sites that allow you to do this, with SourceForge ( > www.sf.net) and GoogleCode (code.google.com) being only some of them. > I think that I would definitely like to somehow share my freeware open source Lazarus projects with others. The thing is: I need a sort of dummy's guide to doing this. And in particular how to use the SVN command to achieve this. Actually, I already have one of my projects, as Delphi 7 Second Edition code (developed with M$ Windowz), called "Frog Retro Remake" game ver 1.3 (for Windowz) on SourceForge. I've noticed that SourceForge has been sending emails (to me) to tell me that they are re-designing their website... and will be converting the current projects to the new website (I'm not sure of the time-scale). Is there a way of finding like-minded Lazarus programmers who would like to share their open source projects?!? I know that this is an ambigious question, but, what is the best approach to sharing code with others?!? ( I persume with SVN command involved somehow ). ps - My OS is now 100% Linux Kubuntu -- I've decided that I don't want to have anything further to do with M$ Windowz -- e.g. I've given Windowz the flick.... and I'm pretty happy with Linux Kubuntu now. Best Regards & Wishing Everyone Happy Computing, PEW *SMILE* > > -- > o__ > ,_.>/ _ > (_)_\(_)_______ > ...speed is good > _______________ > I believe five out of four people have a problem with fractions. > > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
o__ ,_.>/ _ (_)_\(_)_______ ...speed is good _______________ I believe five out of four people have a problem with fractions. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080822/c4c2f0e5/attachment.html

Reply by email