(1010) Writing Resource String Table file: lazutilsstrconsts.rsj
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/components/lazutils/lazfileutils.pas(175,3) Fatal: (2003) Syntax error, "BEGIN" expected but "identifier UNIX" found
Are there any easy way to fix that?Ah, come on. Now that everything works, this is the easy part ;)
PS: without pasting any code what-so-ever nobody here is going to help you as you are using a unofficial-fork-with-official-unsupported-lazarus-branch.
There are no code, i try compile empty projectI was talking about the code that causes the error ;D
I try analyze all ifdef, and compare with official lazarus& In official we have in this pieceYou have done some homework. That's very good 8)
he logic is rightWell, the logic behind the ifdefs is perfectly ok, it is the actual implementation part that has a (small) flaw. As said, a simple oversight from the developer by placing something at the wrong location :-X
if non amiga else windows if non windows else darwin and if non amiga^ non windows non darwin then unix
You want to say thatBingo ! :)
HasAmiga was not defined, include units Unix and BaseUnix
are superfluous?
Is that enough information for you to fix the error ?To correct myself there: perhaps not all information in case you are not familiar with the hasamiga define.
Thank you!!! I fix it! Now in this lazarus i have correct compilation forCongratulations :D
Windows, mac, MORPHOS, Linux, Linux Arm, And for IOS without lcl!
And what can you say about:Uhm, yeah i noticed that question in your intial post, but i have to admit that it seems like my English skills are lacking there :-[ That's why i conveniently tried to avoid the question.
1. What are the right options to rebuild this lazarus after packet installation?
I fix first message :)Are you talking about the following message that you 'fixed' ? :
....
And when i try to build lazarus i always have error...
Free Pascal Compiler version 3.0.0 [2016/01/06] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
.......
(3104) Compiling lazfileutils.pas
(3104) Compiling lazutilsstrconsts.pas
(1010) Writing Resource String Table file: lazutilsstrconsts.rsj
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/components/lazutils/lazfileutils.pas(175,3) Fatal: (2003) Syntax error, "BEGIN" expected but "identifier UNIX" found
Fatal: (1018) Compilation aborted
Error: /sw/bin/ppc386 returned an error exit code
Are there any easy way to fix that?
When i try rebuild lazarus, i set this settings: Compiler /sw/bin/fpcSorry, i have to call defeat here :'(
LCL type Carbon, Target Darwin
The project open is for darwin too
And when i try to build lazarus i have errors
carbonproc.pp(535,13) Error: Identifier not found "ATSUFindFontFromName"
carbonproc.pp(696,11) Error: Identifier not found "HIViewSetVisible"
carbonproc.pp(755,36) Error: Identifier not found "GetControlEventTarget"
carbonproc.pp(1393,28) Warning: Local variable "sz" does not seem to be initialized
When i try rebuild lazarus, i set this settings: Compiler /sw/bin/fpcReminds me of 64bit vs 32bit problem.
LCL type Carbon, Target Darwin
The project open is for darwin too
And when i try to build lazarus i have errors
carbonproc.pp(535,13) Error: Identifier not found "ATSUFindFontFromName"
carbonproc.pp(696,11) Error: Identifier not found "HIViewSetVisible"
carbonproc.pp(755,36) Error: Identifier not found "GetControlEventTarget"
carbonproc.pp(1393,28) Warning: Local variable "sz" does not seem to be initialized