ViewError - HMG building utility

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

Tiger
Posts: 70
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: ViewError - HMG building utility

Post by Tiger »

Hi Pablo,

I have to prepare a report now and will test your new code this weekend. Many thanks for your help.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: ViewError - HMG building utility

Post by Pablo César »

Tiger wrote: Wed Apr 05, 2017 12:07 pm I have to prepare a report now and will test your new code this weekend. Many thanks for your help.
Thanks for letting me know and I'll really wait for this ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: ViewError - HMG building utility

Post by RPC »

Hi Pablo
Sorry for replying late.
I could not run your latest build of viewError on my laptop with win7 professional 32 bits.
I compiled it in 32 bits when I ran the program I got the following message.
ViewError_SCR.png
ViewError_SCR.png (35.19 KiB) Viewed 6080 times
Pls check
Thanks
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: ViewError - HMG building utility

Post by Pablo César »

Rajeev,

This your HMG version 3.4.3 has already all the patches be applied ?

Since Threads HMG version, Main Windows are not required...

When you talk about run your latest build (error in your compilation), you refer to any compilation of "your project" or a compilation of ViewError itself ? :? (I'm confussed now).
Because this error doesn't happen here...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: ViewError - HMG building utility

Post by RPC »

Hi Pablo
I have applied both the patches.
I have compiled viewError.prg dt 4/4/17 time 3:22 pm.
The error is produced by viewError program. This error screen does not come when I compile wthout viewError(though I get different errors)
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: ViewError - HMG building utility

Post by Pablo César »

Hello Rajeev,
RPC wrote: Wed Apr 12, 2017 5:51 pm I have compiled viewError.prg dt 4/4/17 time 3:22 pm.
So It's means you are not using the last ViewError version. Now it's version # 2.6.
This your compilation date/time is ahead of last release. How It could ?

Because I published at 4:56 pm.
Screen181.png
Screen181.png (27.67 KiB) Viewed 6032 times
 
So it could never be at this time the due the same ViewError we talking about... even thinking in time zone difference (Brazil to India). India is ahead of the time zone with Brazil. I am really confused. :?
(though I get different errors)
May you attach the error file ?
This is coming from ShowErrorLog (line # 128) and this function attended errors at PRG with NO line number.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: ViewError - HMG building utility

Post by RPC »

Pablo César wrote: Wed Apr 12, 2017 6:35 pm Hello Rajeev,
RPC wrote: Wed Apr 12, 2017 5:51 pm I have compiled viewError.prg dt 4/4/17 time 3:22 pm.
So It's means you are not using the last ViewError version. Now it's version # 2.6.
This your compilation date/time is ahead of last release. How It could ?

Because I published at 4:56 pm.
Screen181.png

So it could never be at this time the due the same ViewError we talking about... even thinking in time zone difference (Brazil to India). India is ahead of the time zone with Brazil. I am really confused. :?
(though I get different errors)
May you attach the error file ?
This is coming from ShowErrorLog (line # 128) and this function attended errors at PRG with NO line number.
Hi Pablo
* I have downloaded the source and exe file from your post dt Tue Apr 04, 2017 7:56 pm. The date and time(modified) of ViewError.prg is 4/4/17 and 3.22 pm. Pls check.
* Error.log file
***
hbmk2[tbtally]: Warning: Unknown directive: 'libs = hbnf' in
D:\HMG-SAMPLES\MyPrgs\tbtally.hbc:1
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/Users/SPC/AppData/Local/Temp/hbmk_74hb83.dir/tbtally.o:tbtally.c:(.data+0x228): undefined reference to `HB_FUN_FT_FINSERT'
C:/Users/SPC/AppData/Local/Temp/hbmk_74hb83.dir/tbtally.o:tbtally.c:(.data+0x248): undefined reference to `HB_FUN_FT_FWRITELN'
collect2.exe: error: ld returned 1 exit status
hbmk2[tbtally]: Error: Running linker. 1
gcc.exe C:/Users/SPC/AppData/Local/Temp/hbmk_74hb83.dir/tbtally.o C:/Users/SPC/AppData/Local/Temp/hbmk_74hb83.dir/hbmk_x8rbej.o "D:/HMG-SAMPLES/MyPrgs/_temp.o" -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -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 -otbtally.exe -LC:/hmg.3.4.3/harbour/lib/win/mingw -LC:/hmg.3.4.3/lib

hbmk2: Hint: Add option 'hbnf.hbc' for missing function(s): ft_FWriteLn(),
ft_FInsert()
***
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: ViewError - HMG building utility

Post by Pablo César »

I have downloaded the source and exe file from your post dt Tue Apr 04, 2017 7:56 pm.
The date and time(modified) of ViewError.prg is 4/4/17 and 3.22 pm.
We do not understand each other at all. :|

See you table according what you said. So tell me what is wrong in this time/hours:
Screen182.png
Screen182.png (8.26 KiB) Viewed 5988 times
hbmk2[tbtally]: Warning: Unknown directive: 'libs = hbnf' in
Now we know what the error is about hbnf. Always the main reason is: the given poor info... :|

I prepare this project, same name, same folder, and is quite empty program but it serves enough for compiling.
Take this I try to compile:
MyPrgs.rar
Source files empty project
(720 Bytes) Downloaded 251 times
 
Certainly, the compiling error did not make happen. Am I right ?
No compilation errors ? Do you want to know where is your error in

Now lets return to VoewError interests...

You say that ViewError does not work for you...
I do not know where did you mistake:
  1. Last version ViewError used
  2. At ViewError installation
  3. if you changed something and you have not informed us yet...
See picture below and note I was able to reproduce the same error as yours:
Screen183.png
Screen183.png (71.27 KiB) Viewed 5989 times
Sorry to say, but I am totally confused with everyting you said.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: ViewError - HMG building utility

Post by RPC »

Hi Pablo
* Your ViewError.prg has date 4/4/17 and time 3:22 pm
Your VieWrror.exe has date 4/4/17 and time 4:56 pm
Your post which contains the above two is 4/4/17 and time 7:56 pm
which is all perfectly logical and correct. There is no confusion at all.
I have downloaded the ViewError.prg and ViewError.exe mentioned in your post dated 4/4/17 at 7:56 pm. That is the latest viewError prg and exe you have posted and I have used.
Why it doesn't compile on my win 7 professional 32 bits is the problem. Could it be that my win 7/laptop/hmg3.4.3 has some problem ?
I cannot think of any other reason.

***
So what according to you is the mistake I am making in using hbnf ?
Thanks
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: ViewError - HMG building utility

Post by Pablo César »

Now I understand Rajeev. But sorry to say: very confusing... and sorry to say again: I need to understand. That's so. :oops:
Screen184.png
Screen184.png (23.78 KiB) Viewed 5962 times
I have not English in my mother language.
So, if you need to be good understanding IMO you need to be more clear.

I would it write in this way:
"I tried to compile ViewError (last version .. dated 4/4 / 2017-3: 22h PM) and during its compiling process with error:

<Describe the compiling error>
"
Why it doesn't compile on my win 7 professional 32 bits is the problem. Could it be that my win 7/laptop/hmg3.4.3 has some problem ?
I cannot think of any other reason.
I also do not know what it could be.
For me it is not clear yet when you are mentioning:
"it doesn't compile"
In this way, are you referring to:
  1. Can not compile ViewError project ?
  2. Can not compile any project (with error on compiling) and not displaying the error at ViewError... ?

Could it be that my win 7/laptop/hmg3.4.3 has some problem ?
Try to install 3.4.4. Why not ? But please, do not change any HMG file (not change Build.bat, let it original one). After installed, re-run ViewError where is located (where is stored) and check: "My favorite editor" (check for full path and name) and where "ViewError installed at" is being located. That's so.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply