Lazarus
Programming => General => Topic started by: Bazzao on October 07, 2018, 12:05:29 am
-
For the past year I have been successfully modifying and compiling an application.
This morning I get a fatal error:
xquery.pas(2948,24) Fatal: Cannot find xquery__regex used by xquery, incompatible ppu=C:\Lazarus\units\internettools\lib\x86_64-win64\xquery__regex.ppu, package internettools
A search of forums does not help. The following topics found:
1) is an install of Internettools - I had previously done this successfully.
Ref: https://forum.lazarus.freepascal.org/index.php/topic,39082.msg267149.html#msg267149
2) is an old message, which may be outdated:
https://forum.lazarus.freepascal.org/index.php/topic,32171.msg207048.html#msg207048
The last successful compile was last night.
The only major change since the last compile is overnight we started daylight saving, and the milk is souring :D
TIA,
Bazza
-
That looks to be like a missing DLL file (library)…
Has windows done an update on you and removed that file?
Are you having compiling linking issues are this happens at runtime ?
-
> Has windows done an update on you and removed that file?
No update since last compile. All previous updates has not caused this error to occur, and this application is being actively developed.
> Are you having compiling linking issues are this happens at runtime ?
Last successful compile was last night.
These are all the shown messages (I believe I did not hide any) ...
Compile Project, Mode: Development, Target: QuickNotes1.exe: Exit code 1, Errors: 1, Warnings: 1
Warning: Recompiling xquery__regex, checksum changed for xquery
xquery.pas(2948,24) Fatal: Cannot find xquery__regex used by xquery, incompatible ppu=C:\Lazarus\units\internettools\lib\x86_64-win64\xquery__regex.ppu, package internettools
Should I re-install Internet tools?.
Bazza
-
hello,
have you tried a clean up before compiling :
menu Run / Clean up and rebuild
Friendly, J.P
-
Hi Jurassic Pork,
Cleanup and Build results in heaps of warnings, but the same error messages for the Application compilation.
Compile Project, Mode: Development, Target: QuickNotes1.exe: Exit code 1, Errors: 1, Warnings: 1
Warning: Recompiling xquery__regex, checksum changed for xquery
xquery.pas(2948,24) Fatal: Cannot find xquery__regex used by xquery, incompatible ppu=C:\Lazarus\units\internettools\lib\x86_64-win64\xquery__regex.ppu, package internettools
Bazza
-
Is there a way to stop the offending external unit from recompiling? I can copy the unit from another PC. If so what files to look for?
-
Is there a way to stop the offending external unit from recompiling? I can copy the unit from another PC. If so what files to look for?
The files should be xquery_regex.ppu and xquery_regex.o but if I were you I would rather uninstall the package internettools, delete all the compiled units (which are probably in C:\Lazarus\units\internettools\lib\x86_64-win64\; just delete the directory) and reinstall the package.
-
Thanks lucamar,
I will uninstall & reinstall as you suggest.
A link to or notes of an uninstall procedure would be good. I can file it away for future problems.
Bazza
-
A link to or notes of an uninstall procedure would be good. I can file it away for future problems.
Like this: Lazarus_Packages#Removing_Packages (http://wiki.freepascal.org/Lazarus_Packages#Removing_Packages)?
BTW: That directory ... is a little strange; make sure that the compiled units are really there. If they are not, then your problem is other.
-
Ta. Working on it now.
Bazza.
-
I cannot find internettools in either list of Install/Uninstall.
Did the fatal error void the installation?
Should I just remove the files and replace?
B
-
I cannot find internettools in either list of Install/Uninstall.
Did the fatal error void the installation?
Should I just remove the files and replace?
B
Hmm... How did you install it the first time? The process is well--if somewhat tersely--explained in Internet Tools docs, did you follow it?
ETA: It's 4:00 AM here so I won't follow up till tomorrow later :)
-
I actually cannot remember. I do scraping of websites in Pascal, so it must have been installed or otherwise working.
Anyway I'll remove the files and try to install.
B
-
All done & fixed. Thanks everybody.
B
-
is it possible you included one of the source files of that package in your project? If so
it could be recompiling it each time and changing the signature
-
A good bit of thinking jamie, however the package has not produced any issues until just now. And the application has been actively compiled using internet tools since April.
The fatal error just suddenly appeared when I didn't really have the time to try to fix it.
B