problem with compiling both .bat and ide

Forum help and suggestions to improve this forum.

Moderator: Rathinagiri

emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

problem with compiling both .bat and ide

Post 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
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: problem with compiling both .bat and ide

Post by emzampi »

Sorry but I forgot to send you a greeting to all and thank you for your valuable help
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: problem with compiling both .bat and ide

Post by serge_girard »

Is your pronlem now solved or not?

Serge
There's nothing you can do that can't be done...
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: problem with compiling both .bat and ide

Post by emzampi »

no is not solved .. congratulations for Belgium good team deserved at least to make the final
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: problem with compiling both .bat and ide

Post 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
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: problem with compiling both .bat and ide

Post by serge_girard »

I don't use IDE + debugger. Maybe somebody else can help emzampi?

Serge
There's nothing you can do that can't be done...
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: problem with compiling both .bat and ide

Post 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.
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: problem with compiling both .bat and ide

Post by emzampi »

I'll put the code at your disposal, keep in mind that I'm a dilettante amateur
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: problem with compiling both .bat and ide

Post by emzampi »

in this .zip I put the original a unique .prg file that works with both .bat
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: problem with compiling both .bat and ide

Post 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
There's nothing you can do that can't be done...
Post Reply