Recompilar Lib

Recompilar Lib

Postby arthursilvestre » Mon Sep 23, 2013 4:48 pm

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
arthursilvestre
 
Posts: 32
Joined: Thu Sep 20, 2012 7:29 pm

Re: Recompilar Lib

Postby Antonio Linares » Mon Sep 23, 2013 5:45 pm

Arthur,

Run this batch file from source\function, source\classes and source\winapi
Code: Select all  Expand view
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
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Recompilar Lib

Postby arthursilvestre » Mon Sep 23, 2013 6:54 pm

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
arthursilvestre
 
Posts: 32
Joined: Thu Sep 20, 2012 7:29 pm

Re: Recompilar Lib

Postby Antonio Linares » Mon Sep 23, 2013 7:23 pm

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

Re: Recompilar Lib

Postby arthursilvestre » Mon Sep 23, 2013 7:36 pm

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
arthursilvestre
 
Posts: 32
Joined: Thu Sep 20, 2012 7:29 pm

Re: Recompilar Lib

Postby Antonio Linares » Mon Sep 23, 2013 8:54 pm

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

Re: Recompilar Lib

Postby arthursilvestre » Tue Sep 24, 2013 11:37 am

I'm not getting antonio, but I appreciate the help and attention. I'll leave that for a future.
User avatar
arthursilvestre
 
Posts: 32
Joined: Thu Sep 20, 2012 7:29 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests