Lazarus pauses up when compiling and never finishes lazarus / 13-General ---------------------------------------------------------------------- bulrush · 2016-06-02 11:13 Lazarus 1.6.0 with Freepascal 3.0.0 on Windows 7 64-bit Normally I click the "run" green arrow on the toolbar, which I believe corresponds to Run, Run File. And I believe that only compiles files that have changed and need compiling. I get frequent "pauses" where Lazarus pauses, not really locks up, and never finishes compiling. No matter how long I wait it never finishes compiling. I can do a Run, Abort compile and the IDE works normally. These are the messages it's stuck on: Code: [Select]Compile Project, Target: test1.exe Start of reading config file c:\chuck\compiler\lazarus\fpc\3.0.0\bin\x86_64-win64\fpc.cfg I even changed Lazarus to run with Admin rights and I still get the problem. Am I supposed to run Lazarus in compatibility mode or something? Now I did  Run, Build File, and got these errors: Code: [Select]Free Pascal Compiler version 3.0.0 [2016/02/14] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others Target OS: Win64 for x64 Compiling C:\chuck\compiler\lazarus\Projects\test1\unit1.pas unit1.pas(8,22) Fatal: Can't find unit FileUtil used by Unit1 Fatal: Compilation aborted Error: C:\chuck\compiler\lazarus\fpc\3.0.0\bin\x86_64-win64\ppcx64.exe returned an error exitcode My Windows Task Manager also says lazarus.exe is not using any CPU time. So it seems Lazarus is stuck. ---------------------------------------------------------------------- Thaddy · 2016-06-02 11:57 1. Uninstall the lot 2. Use crap cleaner (ccleaner) or similar to clear out the registry (Lazarus installer doesn't use it too much, but neither does it remove too much). Download it from piriform.com, not from other sites (packed with nag-ware). 3. Reinstall None of the issues you mention should be there. You simply have a system that needs cleaning. On occasions, an unsuitable virus scanner can be an issue (mkoffie and the likes) . Define a rule for Lazarus and FPC. Or just use MS defender which is lightweight and is more than enough for most users. But most likely steps 1,2,3 will be enough. ---------------------------------------------------------------------- Martin_fr · 2016-06-02 12:04 Except for the info how to uninstall (inne setup), there is nothing in the registry. So not a concern. QuoteCan't find unit FileUtilBroken fpc install, or mixing old and new install. If it simply hangs, then most likely fpc stopped (check taskmgr for fpc or ppc*), but did not produce an error understood by the IDE, so the IDE still waits for that. Right click the message win, and copy "all and hidden", and then paste this and see what the last msg is. ---------------------------------------------------------------------- marcov · 2016-06-02 12:53 Disable antivirus and/or add an exception to your antivirus for the lazarus directory, the fpc directory and your project directory. ---------------------------------------------------------------------- bulrush · 2016-06-02 13:10 We have WebRoot SecureAnywhere here at work so I can't change any settings on it, allow exceptions, or disable it. (We get a lot of people clicking on all kinds of attachments they never asked for so that's why IT did that.) This is the first install I ever did of Lazarus on this PC so I don't think the issue is a mix of old and new installs. My download of Lazarus came from Sourceforge: http://tenet.dl.sourcefo rge.net/project/lazarus/Lazarus%20Windows%2064%20bits/Lazarus%201.6/la zarus-1.6.0-fpc-3.0.0-win64.exe. Is that bad? ---------------------------------------------------------------------- Handoko · 2016-06-02 13:31 Have you tried the same installation exe file on other computer? Also, try to download and install the 32-bit version to see if the problem still exists. ---------------------------------------------------------------------- marcov · 2016-06-02 13:32 Quote from: bulrush on June 02, 2016, 03:10:44 pmWe have WebRoot SecureAnywhere here at work so I can't change any settings on it, allow exceptions, or disable it. (We get a lot of people clicking on all kinds of attachments they never asked for so that's why IT did that.) Start with the win32 installer. But the behaviour is typical of antivirus (an EXE producing an EXE? Madness!)[/list] But the default installers should work fine otherwise with thousands of downloads a month we would have heard it. So it must be something like this. Most logical solution is since IT creates the problem, to let them solve it. ---------------------------------------------------------------------- bulrush · 2016-06-02 13:35 I was thinking of running all EXE files under $(lazarus) as admin. Does anyone know how to change that en masse? Normally I have to right click every exe file. ---------------------------------------------------------------------- marcov · 2016-06-02 13:37 Quote from: bulrush on June 02, 2016, 03:35:56 pmI was thinking of running all EXE files under $(lazarus) as admin. Does anyone know how to change that en masse? Normally I have to right click every exe file. Afaik exes spawned by the first exe automatically inherit the permissions. So doing it for startlazarus should be enough?