|
|
Search
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered User
Join Date: Nov 2008
Location: exUSSR, pvl
Posts: 6
|
compiling problem...
i can't compiling dxbx from svn[rev 307] on delphi 2007... exe-files is perfectly compile... but when i'm compiling any dll(DxbxDLL.dpr or DxbxKrnl.dpr) i get error: Code:
... [DCC Error] JclFileUtils.pas(1547): E2003 Undeclared identifier: 'AnsiLineFeed' [DCC Error] JclFileUtils.pas(1547): E2003 Undeclared identifier: 'AnsiCarriageReturn' ... p.s. and don't work build.cmd .. =) |
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
|
#2 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2008
Location: Netherlands
Posts: 97
|
I'll look into this, thanks for the heads-up. With a bit of luck this could be fixed within an hour or two... Could you try revision 309, it should compile again with that... please let me know! Last edited by patrickvl; November 17th, 2008 at 22:19.. Reason: Automerged Doublepost |
|
|
|
|
|
#4 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2003
Location: Netherlands
Posts: 656
|
sorry for the late response.. The build.cmd is not working because some problems with the include files. Want scripts is not my best part... so if you got some experiance be free to adjust them.I wanted to make Finalbulder scripts, but there is no free version of that..
|
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Nov 2008
Location: exUSSR, pvl
Posts: 6
|
now i write cmd script for building DXBX.. =)... Dxbx.exe is compiling OK.. =)... DxbxKrnl.dll... hm... i get 1 error... Code:
... DxbxKrnl\uDxbxDebugUtils.pas(153) Error: E2003 Undeclared identifier: 'uLog' ... Code:
...
153: uLog.DbgPrintf('DxbxErrorHandler(%d,$%.8x) %s', [ErrorCode, ErrorAddr, JclLastExceptStackListToString]);
...
what is the uLog identifier????? a can find any record about this ident in source code.... =(( if comment this line.. compiling is OK.... if compiling with GUI.... error not show.. =) Last edited by s1nka; December 15th, 2008 at 19:31.. |
|
|
|
|
|
#6 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2003
Location: Netherlands
Posts: 656
|
What yah using for making the compiler script ?? ( want ? ) When yah try to compile the dll insert the following Conditionals: DEBUG;DXBX_DEBUG;DXBX_DLL;_DEBUG_TRACE;_DEBUG_TRAC K_PB this will fix the problem.. Ulog is a delphi unit used for logging, here DbgPrintF is the log function and is in the uLog.pas file. When yah compile in gui mode ( delphi itself ) these conditionls are probably already set. Some command compilers ( like want and also Finalbuilder ) will not take the conditional options from the project file. |
|
|
|
|
|
#7 (permalink) | |
|
Registered User
Join Date: Nov 2008
Location: exUSSR, pvl
Posts: 6
|
no.... it easy.. =).... i want TRUE way.. =))) Quote:
like: Code:
set BDS=c:\Program Files\[Coding]\Delphi 2007 set Folders="..\src";"..\Libraries\DirectX9";"..\Libraries\Jcl";"..\Libraries\Jcl\common";"..\Libraries\Jcl\windows";"..\Libraries\jwapi\Common";"..\Libraries\jwapi\Win32API";"%BDS%\lib";"%BDS%\Imports" @dcc32.exe -E..\bin -I%Folders% -N0..\dcu -NH..\dcu -NO..\dcu -O%Folders% -U%Folders% --no-config -$O- -$Q+ -$R+ -$Y+ Dxbx.dpr after i'm all testing... i post full script.. =) |
|
|
|
|
|
|
#8 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2003
Location: Netherlands
Posts: 656
|
ok i see ... yah not using the want tool... but the BDS to compile. prehaps yah can take a look at "Want" its in the Want folder. That is a bit more difficult then yust call the bds, but then you also support more delphi versions ![]() but working with the bds makes things lot easier. prehaps yah can use something to get the path of bds compiler. then other delphi versions works also. cant wait to see more of this script, this will work lot better then my try and error build script |
|
|
|
|
|
#9 (permalink) |
|
Registered User
Join Date: Nov 2008
Location: exUSSR, pvl
Posts: 6
|
heh.. enjoy.. =)... for using small manual: 1) rename to makefile.cmd 2) place in root folder of svn repositories(near build.cmd or gpl.txt)... 3) add to PATH environment variable folder %BDS%\source\Win32\rtl\sys\ and %BDS%\Bin (example: c:\Program Files\[Coding]\Delphi_2007\source\Win32\rtl\sys\;C:\Program Files\[Coding]\Delphi_2007\Bin) 4) in makefile.cmd set path to %BDS% folder.. =)... in line 21.. examle: Code:
set BDS=c:\Program Files\[Coding]\Delphi_2007 6) run in cmd.exe Code:
makefile clean fuhh... it was funny.. =).... i see too many errors.. =).... but now building without any error... test on DXBX rev 369.. =) if will be any errors.. please report me... i try to fix it... for report... set to 1st line in makefile.cmd Code:
echo on if this script is work perfect.. and coders want upload in svn, i can say some fix for rationality svn structure... (for example: del "Want\" folder, del "Bin\" folder, create folder "Stuff\"(or other name) with need libraries) and fix final version script.. =) p.s. i try studing Want script... but without any progress... and i start write this script.. =)... p.s.2. upload new build of script.. =)... Last edited by s1nka; December 18th, 2008 at 19:06.. Reason: smal fix in script file |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|