Menu

#907 project won't build w/laz tools on windows

New
nobody
rebuild (1)
High
Windows
Defect
2016-07-15
2016-07-09
Astara
No

Tried:
lazarus-1.6.0-fpc-3.0.0-win64.exe
lazarus-1.6.0-fpc-3.0.0-cross-x86_64-win64-win32.exe
lazarus-1.6.0-fpc-3.0.0-win32.exe

All had similar errors,
1st -- coudn't find compatible translations file:
win32int.pp(33,3) Fatal: Cannot find Translations used by Win32Int, incompatible ppu=C:\prog64\lazarus-pascal-IDE\lcl\units\x86_64-win64\translations.ppu, package LCLBase

found this link about the error:
http://forum.lazarus.freepascal.org/index.php?topic=29034.0

made changes as suggested, then couldn't find Translations:

(which is also red-unlined w/squiggles indicating no such module?

win32int.pp(33,3) Fatal: Cannot find Translations used by Win32Int, incompatible ppu=C:\prog64\lazarus-pascal-IDE\lcl\units\x86_64-win64\translations.ppu, package LCLBase

The Tranlations module was underlined in red like it was mispelt.
So commented that out, got:

win32int.pp(300,3) Error: Identifier not found "SystemCharSetIsUTF8"
(line:
SystemCharSetIsUTF8:=true;
)

Tried commenting that out & got:

rpc.pas(775,37) Error: Incompatible type for arg no. 1: Got "TJSONObject", expected "AnsiString" for:
res.Extract(Result);

At that point, was too confused to go further.

warnings for the whole build(up to that point):

Compile Project, OS: win64, CPU: x86_64, Target: units\transgui.exe: Exit code 1, Errors: 1, Warnings: 87
vargrid.pas(543,7) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
vargrid.pas(549,10) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
synautil.pas(577,51) Warning: Symbol "TimeSeparator" is deprecated
synautil.pas(1817,43) Warning: Symbol "ShortMonthNames" is deprecated
synautil.pas(1818,42) Warning: Symbol "ShortMonthNames" is deprecated
utils.pas(173,13) Warning: Symbol "ParamStrUTF8" is deprecated: "Use the function in LazUTF8 unit"
utils.pas(304,6) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
utils.pas(324,6) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
utils.pas(329,74) Warning: Symbol "SysErrorMessageUTF8" is deprecated: "Use the function in LazUTF8 unit"
utils.pas(499,57) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
utils.pas(499,41) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
restranslator.pas(153,6) Warning: Symbol "FindFirstUTF8" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(166,13) Warning: Symbol "FindNextUTF8" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(243,3) Warning: Symbol "LCLGetLanguageIDs" is deprecated: "Use function LazGetLanguageIDs in LazUTF8 unit"
restranslator.pas(245,6) Warning: Symbol "ExtractFileNameOnly" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(246,28) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(299,61) Warning: Symbol "ExtractFileNameOnly" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(300,8) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(313,11) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(335,3) Warning: Symbol "LCLGetLanguageIDs" is deprecated: "Use function LazGetLanguageIDs in LazUTF8 unit"
restranslator.pas(347,59) Warning: Symbol "ExtractFileNameOnly" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(381,6) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
restranslator.pas(489,28) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
restranslator.pas(489,46) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
restranslator.pas(652,8) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
daemonoptions.pas(266,17) Warning: Symbol "SysToUTF8" is deprecated: "Use the function in LazUTF8 unit"
main.pas(891,8) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(951,48) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(955,8) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1026,8) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1029,46) Warning: Symbol "GetAppConfigDirUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1033,3) Warning: Symbol "ForceDirectoriesUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1041,6) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1047,9) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1053,34) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1057,6) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1067,12) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1070,14) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1078,5) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1084,7) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1489,3) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(1689,78) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(1965,16) Warning: Symbol "SysToUTF8" is deprecated: "Use the function in LazUTF8 unit"
main.pas(2005,11) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2236,82) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(2303,86) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(2353,51) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(2354,57) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(2375,13) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2454,3) Warning: Symbol "ForceDirectoriesUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2470,12) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2490,9) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2495,14) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2579,8) Warning: Symbol "SysToUTF8" is deprecated: "Use the function in LazUTF8 unit"
main.pas(2580,10) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2602,5) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2604,5) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2605,5) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(2896,64) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(2944,72) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(2957,70) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(3279,62) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(3380,42) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(3384,41) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(3494,3) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(3686,10) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(3686,31) Warning: Symbol "DirectoryExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(3724,6) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
main.pas(3729,20) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
main.pas(4390,22) Warning: Symbol "DirectoryExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(4393,10) Warning: Symbol "DirectoryExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(4600,10) Warning: Implicit string type conversion from "AnsiString" to "WideString"
main.pas(4608,16) Warning: Implicit string type conversion from "AnsiString" to "WideString"
main.pas(5133,20) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
main.pas(5133,50) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
main.pas(5133,12) Warning: Symbol "UTF8Pos" is deprecated: "Use the function in LazUTF8 unit"
main.pas(6166,10) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(6195,6) Warning: Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(6195,34) Warning: Symbol "DirectoryExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(6513,5) Warning: Symbol "DeleteFileUTF8" is deprecated: "Use the function in LazFileUtils unit"
main.pas(6568,24) Warning: Symbol "UTF8LowerCase" is deprecated: "Use the function in LazUTF8 unit"
main.pas(6568,53) Warning: Symbol "UTF8LowerCase" is deprecated: "Use the function in LazUTF8 unit"
main.pas(6619,39) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
main.pas(6620,39) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
addtorrent.pas(803,6) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
addtorrent.pas(808,20) Warning: Symbol "UTF8UpperCase" is deprecated: "Use the function in LazUTF8 unit"
rpc.pas(266,11) Warning: Implicit string type conversion from "AnsiString" to "WideString"
rpc.pas(775,37) Error: Incompatible type for arg no. 1: Got "TJSONObject", expected "AnsiString"

Discussion

  • Yuriy Sydorov

    Yuriy Sydorov - 2016-07-15

    For FPC 3.0 and latest Lazarus you need to use the latest svn sources of transgui. Not a sources archive.

     

Log in to post a comment.

MongoDB Logo MongoDB