Page 2 of 2

Re: Completely new to clipper and Advice Required

Posted: Sun Sep 10, 2017 2:48 pm
by MkGomp
dragancesu wrote: Fri Sep 08, 2017 9:07 am Did you try to make a compilation? Are there any problems?
Hi Dragancesu,
Thank you for your message & concern.
I'm in a midst of "trying" to compile it in Harbour.
But, as I read a little bit of the code, I found that my .RMK is a multi-purpose module. It has 3 types of "Programs" module, i.e. namely Type1, Type2, and Type3

You can see it under "Set Library name" inside rmake.txt that I attached.
Most of the .PRG will do things depending on Type.

So, If I were to run "Rmake Master /dmulti /dtype1"
All the .PRG will only show things that are related to Type1

The same goes with Type2 and Type3

Question 1: If I were to compile it to Harbour, do I have to make 3 separate .HBP ?

Also, I found out that the .RMK use 1 external .LIB called utilm.Lib (which you can find in rmake.txt file I attached...and sadly I don't have the .LIB source code :( and I know it's going to cause error during compilation in harbour)
Question 2: Do I have to compile it first to find out which harbour library is compatible with it?

Regards,

Re: Completely new to clipper and Advice Required

Posted: Sun Sep 10, 2017 3:53 pm
by BeGeS
Hi, Gomp.
I do not know if I can help you, among other things because I have never used .RMK files
But I will try.
First (if you have not already done so), you must mark the way:

C:\YOURFOLDER>PATH %PATH%;C:\HARBOUR3\BIN

where HARBOUR3, obviously, is the folder in which you have Harbour, so it will be called this way... or not. :mrgreen:

Then you should place where you have the source program (YOURFOLDER) and indicate the command: :geek:

C:\YOURFOLDER>HBMK2 DMULTI DTYPE1 DLANG1 -lUTILM

The UTILM library, for now, put it in YOURFOLDER for the compiler to find.

Let's see if we can get anything. :|

Re: Completely new to clipper and Advice Required

Posted: Sun Sep 10, 2017 4:10 pm
by serge_girard
Yes, I get by with a little help from my friends !

Serge

Re: Completely new to clipper and Advice Required

Posted: Sun Sep 10, 2017 5:43 pm
by esgici

Re: Completely new to clipper and Advice Required

Posted: Mon Sep 11, 2017 2:39 pm
by BeGeS
Compiling with pure Harbour (without GUI) it is not necessary to convert .lib to .a

Just with -lNAMEFILE and take NAMEFILE.lib with no problems.

I say it from experience. ;)