Page 1 of 2

problem with compiling both .bat and ide

Posted: Mon Jul 16, 2018 7:44 am
by emzampi
I use a .hbp file to compile all the program's .prg and if I use the ide program to compile with the run key the program is compiled and executed while if I use it for compiling the debug key is compiled but it does not work by mistake "loadsoucefile: file not found (stampa3.prg)" for all the prg of the program see attachments

Re: problem with compiling both .bat and ide

Posted: Mon Jul 16, 2018 7:48 am
by emzampi
Sorry but I forgot to send you a greeting to all and thank you for your valuable help

Re: problem with compiling both .bat and ide

Posted: Mon Jul 16, 2018 7:52 am
by serge_girard
Is your pronlem now solved or not?

Serge

Re: problem with compiling both .bat and ide

Posted: Mon Jul 16, 2018 7:56 am
by emzampi
no is not solved .. congratulations for Belgium good team deserved at least to make the final

Re: problem with compiling both .bat and ide

Posted: Mon Jul 16, 2018 2:00 pm
by emzampi
Dear friends
I will try to be as clear as possible
using the command .bat (call C: \ hmg.3.4.4 \ build.bat bustafm.hbp) that contains the source codes
source \ bustafm.prg
source \ acrocud.prg
ect ...
the program is built correctly although without the -m parameter the build.log registers the following errors

Harbor 3.2.0dev (r1703241902)
Copyright (c) 1999-2016, http://harbour-project.org/
Can not open datmese.prg, assumed external
Can not open addiz.prg, assumed external
Can not open aggi.prg, assumed external
Can not open cfdati.prg, assumed external
Can not open datbase.prg, assumed external
Can not open create.prg, assumed external

if I use the command .bat (call C: \ hmg.3.4.4 \ build.bat / d bustafm.hbp) in addition to errors
Can not open datmese.prg, assumed external
Can not open addiz.prg, assumed external
Can not open aggi.prg, assumed external
I get the message of hmg debugger - loadsourcefile: file not found (name of all .prg) and does not execute the .exe

almost sure I will have to insert some path or other things like that you think

Re: problem with compiling both .bat and ide

Posted: Tue Jul 17, 2018 10:58 am
by serge_girard
I don't use IDE + debugger. Maybe somebody else can help emzampi?

Serge

Re: problem with compiling both .bat and ide

Posted: Tue Jul 17, 2018 11:49 am
by mol
I'm using IDE almost always and very often with debugger.
But, how to help? can you post small sample? Replace bodies of your functions with simple code, eg.:

Code: Select all

MsgInfo('...')
if you don't want share it and attach here.

Re: problem with compiling both .bat and ide

Posted: Tue Jul 17, 2018 12:59 pm
by emzampi
I'll put the code at your disposal, keep in mind that I'm a dilettante amateur

Re: problem with compiling both .bat and ide

Posted: Tue Jul 17, 2018 1:14 pm
by emzampi
in this .zip I put the original a unique .prg file that works with both .bat

Re: problem with compiling both .bat and ide

Posted: Tue Jul 17, 2018 2:43 pm
by serge_girard
Hello,

I compiled the sources of provahmg.rar succesfully.
I changed HBP (remove ALL \source) and then it works fine: risoluzione schermo: 1920*1080 Cpnsigliata 130*768 and then modifica ...

Serge