Problem compiling on both windows and Linux lazarus / 8-Other ---------------------------------------------------------------------- andrew.higgs · 2008-04-15 13:40 Hi all, I am developing software on Linux and occasionally I compile on windows. When I extract the zipped source on windows I can't compile. No errors, just plain nothing :?:. Both are running the same (svn 14820) version of Lazarus. Any suggestions would be appreciated. Regards Andrew Higgs ---------------------------------------------------------------------- Bart · 2008-04-15 20:35 You mean compile for the current OS (Win) or cross-compile on Win for Linux? Bart ---------------------------------------------------------------------- andrew.higgs · 2008-04-16 06:04 I am developing and compiling on Linux for Linux. Occasionally I zip the source and extract it on windows. On windows I compile for windows. I am not yet brave enough to attempt any sort of cross compiling. :-) Regards ---------------------------------------------------------------------- Bart · 2008-04-16 13:27 Try using only *.lfm *.pas (*.pp) *.lpr and remove all *.o *.ppu *.compiled *.lpi ? What does the Menu->Project->Compile options tell you about the target it is compiling for? Bart ---------------------------------------------------------------------- andrew.higgs · 2008-04-16 15:23 Hi Bart. I had deleted *.o, *.ppu and *.compiled already so I deleted the lpi file. That has solved the problem of not compiling, however it has created a new one. I open the project using the lpr and created a new project from it. Now the units used by lNet are no longer found. Do I need to add a path somewhere? All other files except lNet's seem to be found. Regards Andrew ---------------------------------------------------------------------- Vincent Snijders · 2008-04-16 17:09 Add a dependency on the lnet package in the project inspector. ---------------------------------------------------------------------- andrew.higgs · 2008-04-17 08:36 Awesome. Thanks guys. As always the help on this forum is brilliant. :-) Regards Andrew Higgs ---------------------------------------------------------------------- Almindor · 2008-04-17 09:56 the .lpi files should be safe to copy between windows and linux (I think the lineendings is detected now?) In any case, always delete the .o .ppu and .compiled files between OSes. They should get detected as wrong platform but FPC has some issues with old .ppu files still.