On 1/5/09, Joost van der Sluis <[email protected]> wrote: > After all these years I can still be amazed how even it-professionals > describe problems. 'I expected it to work the same as on Win32', 'the > patches you wrote are now working', 'I expect it to work', 'I did > something and now it doesn't work -> fix it'. [snip] > This way this can become a long thread....
OK, then I will try to be more clear. (I'm in no way an IT-specialist b.t.w.. I just do basic programming for fun..., and I'm not a native English speaker) > Well, if you expect the IDE to behave differently after your patch you > have to recompile the IDE and restart. On WinMe I did: Menu -> Tools -> Configure "Build Lazarus" -> click on the "Build LCL" radiobutton -> click on the "Build" button. Now the LCL is re-built. >From the Messages window: "LCL" completed If I re-build my program, it now uses the new (hopefully improved) version of LCL, without need to restart the IDE. > What did you change? Are you sure it is part of the lcl and thus > recompiled? Did you check the recompile was succesfull? Maybe you did > change something for another widgetset then you are really using? (Maybe > it's usefull to tell us what you did change, and what you expect from > that change. More then... well, the story above..) I rewrote major parts of maskedit.pp (in lcl directory). > A way to check if your change is really recompiled is to make a syntax > error in the code, and recompile. If the compiler doesn't complain, you > didn't recompiled the code. ;) Good one ! > If you run the ide as root and then do your recompile of the LCL, does > that work? If you plan to change the LCL often, you'd better install > lazarus in your home-directory and work from there. I run the Lazarus IDE on Linux as a normal user. > But now I know you installed as root: did you check where the > recompilation of the LCL placed it's files? And does your project uses > this path to search for the LCL? I did not see any other copies of maskedit.pp or maskedit.ppu, but I'll check again. > > What make command should I apply to build the IDE with packages like > > they come in the binaries (rpm's or win32 executables)? > You could try 'make bigide' but there's also a command to build the ide > with the selected packages. That would be the "Build with packages" option then in the Configure Build Lazarus dialog? > But maybe you'd better run the ide as root > and build from there. This will give me a "Cannot find unit X used Y" errormessage (I'm currently on win, so I cannot reproduce). > Joost. Thanks for your patience. Bart _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
