how to use properly hbc files

647 views
Skip to first unread message

jparada

unread,
Dec 14, 2010, 10:41:57 AM12/14/10
to Harbour Users
Hi,

I'm trying to use hbc and hbp files to compile a project, and I am
having some problems.

This is my folder structure:

<sia>
|
+—data
|
+—imgs
| |
| +—icons
|
+—include
|
+—lib -----> lib folder contains the Mylib1.a,
Mylib2.a, etc (personal libraries)
| |
| +—src
| +—include
|
+—source -----> source folder contains sia.hbc and
sia.hbp files
|
+—temp


This is the content of my sia.hbc file:

skip={!win}
incpaths=..\include
libs=gtwvg.hbc
libs=xhb.hbc

and this is the content of my sia.hbp file:

-w0 -es2

program1.prg
program2.prg
program3.prg

I compile like this:

hbmk2 sia.hbp -osia -icon=..\imgs\icons\sia.ico -rebuild -run

And can not find my ch files (within sia -> inlcude)

OK, then to solve "fast" the problem, I just copy the files ch (within
sia -> include), to my folder sia-> source, and then can not find the
wvtwin.ch file (I use this lib in my application).

Can you help me please, where I am failing with my configuration
files.

I appreciate any help.

Thank you very much.

Best Regards,
Javier

jparada

unread,
Dec 14, 2010, 4:19:43 PM12/14/10
to Harbour Users
Hi,

I think I solved my problem, I've compiled my project correctly, what
I did, was delete the hbc file and use hbm file and that's it.

Thanks

Best Regards,
Javier

Viktor Szakáts

unread,
Dec 14, 2010, 5:35:48 PM12/14/10
to Harbour Users
Hi,

You have to add the .hbc file to your cmdline (or add it to
the .hbp file).

Earlier hbmk2 versions automatically picked up .hbc files
is current dir, but this feature we deleted, see:
2010-06-28 00:25 UTC+0200 Viktor Szakats

Viktor

jparada

unread,
Dec 14, 2010, 11:12:17 PM12/14/10
to Harbour Users
Hi Viktor,

Thanks a lot for this explanation, now everything is very clear.

Thank you very much

Best Regards,
Javier
> > Javier- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -
Reply all
Reply to author
Forward
0 new messages