Recompilar Lib

Post Reply
User avatar
arthursilvestre
Posts: 32
Joined: Thu Sep 20, 2012 7:29 pm

Recompilar Lib

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Recompilar Lib

Post 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,,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
arthursilvestre
Posts: 32
Joined: Thu Sep 20, 2012 7:29 pm

Re: Recompilar Lib

Post 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:

Image

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?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Recompilar Lib

Post 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)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
arthursilvestre
Posts: 32
Joined: Thu Sep 20, 2012 7:29 pm

Re: Recompilar Lib

Post 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?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Recompilar Lib

Post by Antonio Linares »

You can create it in any place and then later copy it to c:/FWH/lib folder
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
arthursilvestre
Posts: 32
Joined: Thu Sep 20, 2012 7:29 pm

Re: Recompilar Lib

Post by arthursilvestre »

I'm not getting antonio, but I appreciate the help and attention. I'll leave that for a future.
Post Reply