Porting from Lazarus 0.9.26 to 1.0.10 lazarus / 31-LCL ---------------------------------------------------------------------- polypress · 2013-07-19 10:37 I am trying to port applications and own-designed components from 0.9.26 to 1.0.10. 1) It won't accept the components which work well on 0.9.26. It says it can't find Graphics (and later Controls) units. 2) I've modified the application so it just uses standard lazarus components, but it won't allow removing the call to my original component. No matter how much of a reference to it I remove, it insists on reverting back to its declaration. I do I retake control of my own applications? Regards ---------------------------------------------------------------------- JuhaManninen · 2013-07-19 10:44 Do a clean build of Lazarus (clean all). It may be needed for some platforms even if you installed on a clean machine without previous versions installed. ---------------------------------------------------------------------- polypress · 2013-07-19 11:03 Thank you. Is that with "Clean up Build Files..." in the Run menu? I tried that and it's still looking for the component, and in turn it says there's still no Graphics (and Controls) units. I can't find a reference to "Clean all" in the menus. Searching on the internet describes making a clean all file, but that seems to be part of the source build files via command prompts - I have installed only with binaries within GUI. I have included a cross compiler for wince (if that makes a difference) and the expected ppccrossarm.exe file doesn't appear in the Environment compiler path files. Regards ---------------------------------------------------------------------- Rails · 2013-07-19 11:17 Try rebuilding Lazarus itself. That's what I had to do when I upgraded to 1.0.10. Look under the Tools menu, down at the bottom, Configure Build Lazarus. ---------------------------------------------------------------------- polypress · 2013-07-19 11:38 I tried that Rails but it's exactly the same. On compiling the application, it reverts to the original requirement for the own- designed component, and that won't install because it can't find Graphics etc units. Regards ---------------------------------------------------------------------- Rails · 2013-07-19 11:51 Some other thoughts.  Do you have the latest stable FPC installed? Did you try removing all traces of your old installation, including configuration files? If you post your full system information, it would help. There are a lot of knowledgeable people on here. The more information you provide, the better the can help you. ---------------------------------------------------------------------- BigChimp · 2013-07-19 12:20 Quote from: polypress on July 19, 2013, 12:37:15 pm1) It won't accept the components which work well on 0.9.26. It says it can't find Graphics (and later Controls) units. You could have a go at looking through the release notes for the various versions between 0.9.26 and 1.0.10 on the wiki. There were some unit renames, so you'd probably have to change the requirements for the components. ---------------------------------------------------------------------- polypress · 2013-07-21 11:19 Thank you for all your help. Successful in porting to 1.0.10/2.6.2. It was the problem of defining paths which seemed to give the most trouble. The description of paths (using "$" prefixes) caused the most concern as each one had to be defined and interpreted before it could be used in the Options pages. Thanks again. Regards