Page 1 of 1
Recompilar Lib
Posted: Mon Sep 23, 2013 4:48 pm
by arthursilvestre
Good afternoon person asked that question a few months ago but got no success. I have to recompile the lib FW? because I would like to make some changes in classes such as some of the xBrowse's Default. I ask this not to have the need to make the desired change and then have q add prg class in proejto. I appreciate everyone's attention.
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 5:45 pm
by Antonio Linares
Arthur,
Run this batch file from source\function, source\classes and source\winapi
Code: Select all
for %%f in (*.prg) do c:\harbour\bin\harbour %%f /n /ic:\fwh\include;c:\harbour\include
for %%f in (*.c) do c:\bcc582\bin\bcc32 -c -Ic:\bcc582\include;c:\harbour\include %%f
for %%f in (*.obj) do c:\bcc582\bin\tlib fiveh.lib -+ %%f /0 /P32,,
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 6:54 pm
by arthursilvestre
The same procedure applies to xHarbour? I'm trying and I can not. I think I'm doing something wrong.
this bat file in the folder 'c: \ FWH \ source' (Exactly where are the folders classes, and winapi function).
to run it it displays the following error:
If I put the bat in one of the source folders it will generate a lib with 2.00kb in size, where the 'original' is to 2.6kb.
I'm doing some wrong procedure?
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 7:23 pm
by Antonio Linares
Please run your batch file from:
FWH\source\classes
FWH\source\function
FWH\source\winapi
Don't erase the original FWH libraries, as they have to be reused (some inner modules can't be rebuilt)
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 7:36 pm
by arthursilvestre
So just to confirm, or where it is written 'fivehx.lib' I must put the right directory? that would be 'c: \ Fwh.13.06 \ lib \ Fivehx.lib' or should remain as it is?
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 8:54 pm
by Antonio Linares
You can create it in any place and then later copy it to c:/FWH/lib folder
Re: Recompilar Lib
Posted: Tue Sep 24, 2013 11:37 am
by arthursilvestre
I'm not getting antonio, but I appreciate the help and attention. I'll leave that for a future.