Re: [Lazarus] Error while compiling resources

2012-04-18 Thread Sven Barth
Am 18.04.2012 07:31, schrieb patspiper: On 18/04/12 01:11, Mattias Gaertner wrote: On Wed, 18 Apr 2012 00:07:31 +0300 patspiper wrote: On 17/04/12 23:57, Mattias Gaertner wrote: I save the project to project1.lpi and unit1.pas I now run it again. It fails with "project1.lpr(19,1) Error: Erro

Re: [Lazarus] Error while compiling resources

2012-04-17 Thread patspiper
On 18/04/12 01:11, Mattias Gaertner wrote: On Wed, 18 Apr 2012 00:07:31 +0300 patspiper wrote: On 17/04/12 23:57, Mattias Gaertner wrote: I save the project to project1.lpi and unit1.pas I now run it again. It fails with "project1.lpr(19,1) Error: Error while compiling resources". Hint: Sta

Re: [Lazarus] Error while compiling resources

2012-04-17 Thread Dave Coventry
On 17 April 2012 22:57, Mattias Gaertner wrote: > It is saved to your temp directory and compiled there. Yes, of course. > Can you compare the two directories (temp and saved) and tell where the > difference is? Lazarus is running on a Virtualbox Virtual Windows XP guest on an Ubuntu derivative

Re: [Lazarus] Error while compiling resources

2012-04-17 Thread Mattias Gaertner
On Wed, 18 Apr 2012 00:07:31 +0300 patspiper wrote: > On 17/04/12 23:57, Mattias Gaertner wrote: > > > >> I save the project to project1.lpi and unit1.pas > >> > >> I now run it again. It fails with "project1.lpr(19,1) Error: Error > >> while compiling resources". > >> > >> Hint: Start of reading

Re: [Lazarus] Error while compiling resources

2012-04-17 Thread patspiper
On 17/04/12 23:57, Mattias Gaertner wrote: I save the project to project1.lpi and unit1.pas I now run it again. It fails with "project1.lpr(19,1) Error: Error while compiling resources". Hint: Start of reading config file C:\lazarus\fpc\2.6.0\bin\i386-win32\fpc.cfg Hint: End of reading config

Re: [Lazarus] Error while compiling resources

2012-04-17 Thread Mattias Gaertner
On Tue, 17 Apr 2012 22:51:48 +0200 Dave Coventry wrote: > On 17 April 2012 18:21, patspiper wrote: > > Did you check the project source (Radmin.lpr) for the $R directive (click > > Project/View project source)? Usually, the culprit is something like: > > {$IFDEF WINDOWS}{$R foobar.rc}{$ENDIF} >

Re: [Lazarus] Error while compiling resources

2012-04-17 Thread Dave Coventry
On 17 April 2012 18:21, patspiper wrote: > Did you check the project source (Radmin.lpr) for the $R directive (click > Project/View project source)? Usually, the culprit is something like: > {$IFDEF WINDOWS}{$R foobar.rc}{$ENDIF} 8< 8< 8< 8< 8<8< 8< Radmin.lpr 8< 8< 8< 8< 8< program Radmina; {$m

Re: [Lazarus] Error while compiling resources

2012-04-17 Thread patspiper
On 17/04/12 12:29, Dave Coventry wrote: Hi Mattias, Sorry, I was a bit rude (late) last night. Thanks for the help. ;) I have fpcres.exe installed in C:\lazarus\fpc\2.6.0\bin\i386-win32 I have appended this onto my Path through My Computer->Properties->Advanced->Environment Variables->System

Re: [Lazarus] Error while compiling resources

2012-04-17 Thread Dave Coventry
Hi Mattias, Sorry, I was a bit rude (late) last night. Thanks for the help. ;) I have fpcres.exe installed in C:\lazarus\fpc\2.6.0\bin\i386-win32 I have appended this onto my Path through My Computer->Properties->Advanced->Environment Variables->System variables->Path %SystemRoot%\system32;%Sy

Re: [Lazarus] Error while compiling resources

2012-04-16 Thread Dave Coventry
2012/4/16 Mattias Gaertner : > Any $R directive requires the resource compiler fpcres. fpcres? I don't know, I just installed from the exe I downloaded. I have removed the $R directive and now it just fails without any error message. -- ___ Lazarus ma

Re: [Lazarus] Error while compiling resources

2012-04-16 Thread Mattias Gaertner
Dave Coventry hat am 16. April 2012 um 17:06 geschrieben: > I tried to take my project across to Windows and compile it there as > my Linux Lazarus intall is borked, but I kept getting the above error > whenever I tried to compile. > > Google suggest that this is because of {$IFDEF WINDOWS}{$R >

[Lazarus] Error while compiling resources

2012-04-16 Thread Dave Coventry
I tried to take my project across to Windows and compile it there as my Linux Lazarus intall is borked, but I kept getting the above error whenever I tried to compile. Google suggest that this is because of {$IFDEF WINDOWS}{$R lclimager.rc}{$ENDIF} however none of the incarnations of my Project us

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Bo Berglund
On Tue, 01 Feb 2011 15:14:13 +0700, Paul Ishenin wrote: >> lazarus_0_9_30_fixes. >> Maybe there is a change in behaviour between _0_9_29_fixes and the new >> one? > >Please read this article again: >http://lazarus-dev.blogspot.com/2010/02/work-on-0930-changes-in-resource.html > >There are two w

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Graeme Geldenhuys
Op 2011-02-01 12:28, Mattias Gaertner het geskryf: > > I moved the FPCMessagesHelpDB to the ideintf unit idehelpintf. > You can alter it or replace it. Thanks, I'll go take a look at that. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.so

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Mattias Gaertner
On Tue, 01 Feb 2011 12:08:00 +0200 Graeme Geldenhuys wrote: > Op 2011-02-01 11:17, Mattias Gaertner het geskryf: > > > > This might help: > > http://wiki.lazarus.freepascal.org/Creating_IDE_Help#Help_for_Messages > > > Is there a way to hook into external (non-wiki) help systems too? eg: > Say

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Graeme Geldenhuys
Op 2011-02-01 11:17, Mattias Gaertner het geskryf: > > This might help: > http://wiki.lazarus.freepascal.org/Creating_IDE_Help#Help_for_Messages Is there a way to hook into external (non-wiki) help systems too? eg: Say I have created detailed Compiler Messages Help in INF help format? Thus by pr

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Mattias Gaertner
On Tue, 01 Feb 2011 10:07:47 +0100 Sven Barth wrote: > Am 01.02.2011 08:47, schrieb Graeme Geldenhuys: > > Op 2011-02-01 08:46, Paul Ishenin het geskryf: > >> > >> As I know Lazarus does not have a feature to show a help for compiler > >> error/warnings/hints. > > > > Well, my copy of Lazarus 0.9

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Sven Barth
Am 01.02.2011 08:47, schrieb Graeme Geldenhuys: Op 2011-02-01 08:46, Paul Ishenin het geskryf: As I know Lazarus does not have a feature to show a help for compiler error/warnings/hints. Well, my copy of Lazarus 0.9.29 (.30 fixes branch) does indeed show such help. It's small, but it's there.

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Paul Ishenin
01.02.2011 15:00, Bo Berglund wrote: The question is from where it came, this application was started when I used an earlier version of Lazarus and at first I used the form only to test some endian conversion functions I need to use for the data from the attached equipment. Then yesterday I chang

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Bo Berglund
On Tue, 01 Feb 2011 06:07:25 +0700, Paul Ishenin wrote: >01.02.2011 5:28, Bo Berglund wrote: >> {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} >resource which was added by lazarus 0.9.26 >> {$R *.res} >added by lazarus 0.9.30? > >Remove {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} and try again. > I comme

Re: [Lazarus] Error while compiling resources...

2011-01-31 Thread Graeme Geldenhuys
Op 2011-02-01 08:46, Paul Ishenin het geskryf: > > As I know Lazarus does not have a feature to show a help for compiler > error/warnings/hints. Well, my copy of Lazarus 0.9.29 (.30 fixes branch) does indeed show such help. It's small, but it's there. See attached screenshot. > And yes, I like

Re: [Lazarus] Error while compiling resources...

2011-01-31 Thread Paul Ishenin
01.02.2011 13:40, Graeme Geldenhuys wrote: Paul, I haven't tried the original posters sample app, but if your hint is indeed the solution, maybe that hint could be added to the F1 help on compiler errors/hints in Messages window? As I know Lazarus does not have a feature to show a help for comp

Re: [Lazarus] Error while compiling resources...

2011-01-31 Thread Graeme Geldenhuys
Op 2011-02-01 01:07, Paul Ishenin het geskryf: > 01.02.2011 5:28, Bo Berglund wrote: >> {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} > resource which was added by lazarus 0.9.26 >> {$R *.res} > added by lazarus 0.9.30? > > Remove {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} and try again. > Paul, I have

Re: [Lazarus] Error while compiling resources...

2011-01-31 Thread Paul Ishenin
01.02.2011 5:28, Bo Berglund wrote: {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} resource which was added by lazarus 0.9.26 {$R *.res} added by lazarus 0.9.30? Remove {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} and try again. Best regards, Paul Ishenin -- __

[Lazarus] Error while compiling resources...

2011-01-31 Thread Bo Berglund
I have created a class to handle the communications towards a data acquisition instrument. Now I am preparing the test application so I have simply made a form with some entry boxes and a button. Here is the main program file content: program commtest; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$

Re: [Lazarus] Error while compiling resources

2010-08-06 Thread Vincent Snijders
2010/8/6 Ger Remmers : > On Friday 06 August 2010 11:50:52 Ger Remmers wrote: >> Hi all, >> >> After a clean reinstall I get the above error message. >> >> Lazarus svn revision 27014 >> Free Pascal Compiler version 2.4.0 [2009/12/18] for x86_64 >> >> Running on both >> >> openSUSE 11.2 i86 and open

Re: [Lazarus] Error while compiling resources

2010-08-06 Thread Ger Remmers
On Friday 06 August 2010 11:50:52 Ger Remmers wrote: > Hi all, > > After a clean reinstall I get the above error message. > > Lazarus svn revision 27014 > Free Pascal Compiler version 2.4.0 [2009/12/18] for x86_64 > > Running on both > > openSUSE 11.2 i86 and openSUSE 11.3 > > The strange thin

[Lazarus] Error while compiling resources

2010-08-06 Thread Ger Remmers
Hi all, After a clean reinstall I get the above error message. Lazarus svn revision 27014 Free Pascal Compiler version 2.4.0 [2009/12/18] for x86_64 Running on both openSUSE 11.2 i86 and openSUSE 11.3 The strange thing is that I can install and use Lazarus/fpc for a while, but at some undefin

Re: [Lazarus] Error while compiling resources

2010-02-05 Thread Alex du Plessis
On 5 February 2010 15:27, Paul Ishenin wrote: > 05.02.2010 19:44, Alex du Plessis wrote: > >> Previously everything compiled fine - up to today. Trying to recompile my >> project gives me the following messages: >> > .. > > mobilemanager.lpr(45,1) Fatal: There were 1 errors compiling module, >>

Re: [Lazarus] Error while compiling resources

2010-02-05 Thread Paul Ishenin
05.02.2010 19:44, Alex du Plessis wrote: Previously everything compiled fine - up to today. Trying to recompile my project gives me the following messages: .. mobilemanager.lpr(45,1) Fatal: There were 1 errors compiling module, stopping ... What should I do to correct the problem? Since I a

[Lazarus] Error while compiling resources

2010-02-05 Thread Alex du Plessis
Hello List Previously everything compiled fine - up to today. Trying to recompile my project gives me the following messages: Hint: Start of reading config file C:\lazarus\fpc\2.4.1\bin\i386-win32\fpc.cfg Hint: End of reading config file C:\lazarus\fpc\2.4.1\bin\i386-win32\fpc.cfg Free Pascal Co