Error when compiling

151 views
Skip to first unread message

valt...@valtecom.com.br

unread,
Jun 2, 2022, 12:44:51 PM6/2/22
to Harbour Minigui
erro compila.JPGGood afternoon friends,
Can anyone help me with this error when compiling my system?
I'm using Harbor MiniGUI Extended Edition 22.05 (Update 2).
It's certainly missing some LIB.
I use BRMAKE to compile.
I'm waiting.
Thanks.
Valteçom Uberaba MG Brazil

Harbour Minigui

unread,
Jun 2, 2022, 3:50:21 PM6/2/22
to Harbour Minigui
Hi Valteçom,
try to add the usual two Libs
c:\minigui\harbour\lib\hbhpdf.lib
c:\minigui\harbour\lib\libhpdf.lib

Hope to usefull
 --
Pierpaolo Martinello [ Minigui Team ]
IW1CUY Ham Radio From Biella Italy
Linux User 177880  

valtecom martins

unread,
Jun 4, 2022, 3:33:45 PM6/4/22
to Harbour Minigui
image.png
I added the two libs:
c:\minigui\harbour\lib\hbhpdf.lib
c:\minigui\harbour\lib\libhpdf.lib
  on compilation the error continues and when I developed the system it worked perfectly, but it was another version of Minigui Extend.
Will I have to mess with the source code?
If you know anything else I would be grateful.
Awaiting.
Valteçom Uberaba MG Brazil.

--
Visit our website on https://www.hmgextended.com/ or https://www.hmgextended.org/
---
You received this message because you are subscribed to the Google Groups "Harbour Minigui" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minigui-foru...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/minigui-forum/116ec80f-a96a-4077-8a0a-7eec8b34ea3cn%40googlegroups.com.


--
Uberaba MG Brasil
Fone: 
(34) 99659-1423

Ao encaminhar esta mensagem, por favor:
1. Apague o meu e-mail e o meu nome.
2. Apague também os endereços dos amigos antes de reenviar.
3. Encaminhe como cópia oculta (Cco ou Bcc) aos SEUS destinatários.
Agindo sempre assim dificultaremos a disseminação de vírus, spans e banners.

Harbour Minigui

unread,
Jun 5, 2022, 6:17:20 AM6/5/22
to Harbour Minigui
Hi  Valteçom Uberaba,
thanks for your big characters, my eyes liked.

These errors may be related to recent save implementations
in pdf from Hbprinter, miniprint and Miniprint2 in Minigui Extended.

So referring to version 22.5 (update2) I must therefore ask you a question:
If you compile C:\MiniGui\SAMPLES\BASIC\HBPrinter demo using its compile.bat
the compilation is successful?

If yes, I suggest you take a look at File c:\Minigui\batch\compile.bat
you will see that the only references to the libraries that are needed for pdfs are:
hbvpdf.lib, hbhpdf.lib,libhpdf.lib.

of these three hbvpdf.lib + to be excluded because it does not contain the prefix _hb_fun_hpdf_
The libraries contained in \Minigui\harbour\lib which contain the _hb_fun_hpdf_ entry
there are 3:
Pdfprinter.lib, but to be excluded, does not invoke _hb_fun_useutfencoding and other references
hmg_pdf.lib, hbhpdf.lib instead yes.

I don't know BrMake, but I recommend you check how BrMake acts as the libraries
I also suggested previously MUST solve your problem, as they are the
only two interested in providing the missing functions.

I understand the discomfort,
I hope I have been more complete in solving your problem.


Rds

 --
Pierpaolo Martinello [ Minigui Extended Team 

valt...@valtecom.com.br

unread,
Jun 5, 2022, 1:11:49 PM6/5/22
to Harbour Minigui
Good afternoon dear friends of the group,
I finally found out the real problem of the error shown in the image I posted, it is not an error caused by the PDF control functions, but caused by a GRAPHICS generation function, there is a routine for generating four graphics requested by the customer in this system and after implementing the two LIB's suggested by everyone who kindly replied to me and not presenting the solution, in a very calm moment I checked all my "PRG" files and left out of the compilation one after the other, removing one by time and putting it back, until I finally removed the GRAPHICS generation and the system compiled and generated the executable and it worked, but without the graphics, now calmly I will study the graphics and see what has changed in the MINIGUI version, the system was originally generated using the December 2019 version, when I resolve this impasse I will put the graphics routine back.
I thank everyone who helped me.
Hugs.
Valteçom, Uberaba, MG, Brazil.

Harbour Minigui

unread,
Jun 6, 2022, 1:24:13 AM6/6/22
to Harbour Minigui
Il giorno domenica 5 giugno 2022 alle 19:11:49 UTC+2 valt...@valtecom.com.br ha scritto:
Good afternoon dear friends of the group,
I finally found out the real problem of the error shown in the image I posted, it is not an error caused by the PDF control functions, but caused by a GRAPHICS generation function, there is a routine for generating four graphics requested by the customer in this system and after implementing the two LIB's suggested by everyone who kindly replied to me and not presenting the solution, in a very calm moment I checked all my "PRG" files and left out of the compilation one after the other, removing one by time and putting it back, until I finally removed the GRAPHICS generation and the system compiled and generated the executable and it worked, but without the graphics, now calmly I will study the graphics and see what has changed in the MINIGUI version, the system was originally generated using the December 2019 version, when I resolve this impasse I will put the graphics routine back.
I thank everyone who helped me.
Hugs.
Valteçom, Uberaba, MG, Brazil.

Bom dia Valteçom,
Estou feliz que você tenha chegado à solução.
Infelizmente é impossível saber o resultado do uso de rotinas ou bibliotecas fora de Minigui.
Muitas vezes aqueles que pedem ajuda não dão a oportunidade de se aprofundar com um
exemplo a ser testado e para aqueles que seguem a evolução de Minigui são limitados
possibilidade de resolver com pouca informação. (Ainda não passamos no exame de bruxaria!)
Como diz o grande Fernando Yurisich:
"Por favor postea un prg que muestre el problema para hacer pruebas."  
No caso dele, os únicos erros que geram tais relatórios são devido à falta de
das bibliotecas necessárias, mas também pode ser devido à ordem em que eles vêm
carregado, especialmente com o uso de bibliotecas de terceiros.
Em BrMake colocar as bibliotecas que eu escrevi sobre, antes de outros.
Eu não prometo que seria decisivo, mas seria interessante para o grupo saber
se esta solução ajudar.
Aguardamos mais detalhes sobre a solução.

Um Abraço.

Good day Valteçom,
I am delighted that you have come to the solution.
Unfortunately it is impossible to know the outcome of the use of routines or libraries external to Minigui.
Often those who ask for help do not give the opportunity to deepen with a
example to be tested and for those who follow the evolution of Minigui the
ability to solve with little information. (we have not yet passed the witchcraft exam!)
As the great Fernando Yurisich says:
"Por favor postea un prg que muestre el problema para hacer pruebas."  
In his case, the only errors that generate these reports are due to the lack
of the libraries needed, but it could also be due to the order in which they come
loaded, especially with the use of third party libraries.
On BrMake you put the libraries I wrote to you about, before others.
I don't promise it will be conclusive, but it would be interesting for the group to know
if that solution helps.
We await more details on the solution.

A hug.

Pierpaolo Martinello [ Minigui Extended Team ] 
Reply all
Reply to author
Forward
0 new messages