OBJ Compiling help

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
liviod
Posts: 2
Joined: Wed Dec 07, 2016 5:00 pm

OBJ Compiling help

Post by liviod »

We are looking for help on compiling Clipper with HMG 3.4.3 64 bits I downloaded from app.php/page/download

But I did not find a link to register in the forums.

ucp.php?mode=login

Here is the original Clipper Compiler line:

rtlink file NDSm000,nds,CTUS LIB CT52,esc30_52

Here we have 2 OBJ files that are not working compiling IAMIDLE.OBJ CTUS.OBJ

Here is the error on some .obj files I got compiling.

C:\tmp\HARBOUR-64\bin\hbmk2.exe -o0liv NDSm000.prg NDS.prg IAMIDLE.OBJ CTUS.OBJ -lct52 -lESC30_52 -lNANFOR -lCPMI
Harbour 3.2.0dev (r1604201603)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling 'NDSm000.prg'...
Compiling 'NDSm110.prg'...
Compiling 'NDSm120.prg'...
Compiling 'NDSm130.prg'...
Compiling 'NDSt210.prg'...
Compiling 'NDSt220.prg'...
Compiling 'NDSr100.prg'...
Compiling 'NDSR200.prg'...
Compiling 'NDSr110.prg'...
Compiling 'NDSr300.prg'...
Compiling 'NDSr400.prg'...
Compiling 'NDSr500.prg'...
Compiling 'NDSr600.prg'...
Compiling 'NDSr700.prg'...
Compiling 'NDSr800.prg'...
Compiling 'NDSr900.prg'...
Compiling 'NDSr10.prg'...
Compiling 'NDSr1100.prg'...
Compiling 'NDSr830.prg'...
Compiling 'NDSr310.prg'...
Compiling 'NDSu410.prg'...
Compiling 'NDSu440.prg'...
Compiling 'NDSu450.prg'...
Lines 69, Functions/Procedures 74
Generating C source output to 'C:\Users\loko\AppData\Local\Temp\hbmk_wa7zga.dir\NDSm000.c'... Done.
Compiling 'NDS.prg'...
Lines 819, Functions/Procedures 42
Generating C source output to 'C:\Users\loko\AppData\Local\Temp\hbmk_wa7zga.dir\NDS.c'... Done.
gcc.exe: error: IAMIDLE.o: No such file or directory
gcc.exe: error: CTUS.o: No such file or directory
hbmk2: Error: Running linker. 1
gcc.exe C:/Users/loko/AppData/Local/Temp/hbmk_wa7zga.dir/NDSm000.o C:/Users/loko/AppData/Local/Temp/hbmk_wa7zga.dir/NDS.o IAMIDLE.o CTUS.o -mconsole -Wl,--start-group -lct52 -lESC30_52 -lNANFOR -lCPMI -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -o0liv.exe -L"C:/tmp/HARBOUR-64/lib/win/mingw64"


Please Help.

Best Regards.

Liviod....
liviod
Posts: 2
Joined: Wed Dec 07, 2016 5:00 pm

Re: OBJ Compiling help

Post by liviod »

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

OBJ Compiling help

Post by Pablo César »

Hi liviod, welcome to our community. (By the way, what is your name?)

Let me give you some tips prior I do not know about your Harbour knowledges.

If you intentions is just to compile your Clipper sources codes in CONSOLE mode, there are some considerations to be taken.

1. You can use 3.4.3 version and can be used 32 bits for your propose, I guess.
2. You will need to know some Harbour basic knowledge. As beeing structureted as Clipper 5 with functions structuration. The first function must be "Function Main". Basically Harbour is 99% compatible with Clipper source.
3. Yours old OBJ files and libs, you will not longer be used in Harbour. You have to look up for equivalent functions you need for it.
4. CT functions, mostly are already in Harbour.
5. Do not use rtlink any more. Is harbour + other C compiler. In our case here in HMG will be used MinGW
6. If this is the first compiling try, I advice you to take SAMPLES and see especially for console (in case) otherwise you will see other examples in GUI (graphical mode)
7. There is some basic for console compilation. See at DOC in Basics/Building HMG Applications
8. This DJGPP is a graphical lib for Clipper. Doesn't it ? Here you will not be used, I guess.

Let us know what experience you have in Harbour and what you want: console or in GUI mode ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: OBJ Compiling help

Post by danielmaximiliano »

Welcome liviod

Saludos / Regard form Buenos Aires Argentina
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
serge_girard
Posts: 3167
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: OBJ Compiling help

Post by serge_girard »

Hi liviod,

Welcome from Belgium!

Serge
There's nothing you can do that can't be done...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: OBJ Compiling help

Post by esgici »

Hello liviod

Welcome wonderful world of HMG :arrow:

Saludos / Regard form Turkiye :D
Viva INTERNATIONAL HMG :D
Post Reply