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

Re: problem with compiling both .bat and ide

Post by emzampi »

thanks Serge but you can send me the changes made
User avatar
serge_girard
Posts: 3161
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 »

OK, see att.

Serge
Attachments
emzampi.rar
(1.28 MiB) Downloaded 171 times
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 »

Serge thanks for the interest but at this point the question is it is not possible to compile the programs in the source directory ... there is some problem in the calls of the programs or other.
and because if I compile without -m from errors
User avatar
serge_girard
Posts: 3161
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,

Try to put HBP files + CH files AND compile jobs in the source folder. This should work but some prg gives error:

P:\hmg.3.0.44\SAMPLES\emzampi3\source>call p:\hmg.3.4.4\build.bat bustafm.hbp
Harbour 3.2.0dev (r1703241902)
Copyright (c) 1999-2016, http://harbour-project.org/
Cannot open datmese.prg, assumed external
Cannot open addiz.prg, assumed external
Cannot open aggi.prg, assumed external
Cannot open cfdati.prg, assumed external
Cannot open datbase.prg, assumed external
Cannot open crea.prg, assumed external

Serge
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3161
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 »

Emanuele,

Start with 1 menu.prg + 2 subprograms, then extend !

Serge
There's nothing you can do that can't be done...
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: problem with compiling both .bat and ide

Post by andyglezl »

Según lo que veo...

En algun lugar de tus .prg estas llamando nombres que no existen.
La mayoria de los nombres terminan en '1', como por ejemplo: datmese1 y
los mensajes de error están diciendo que no puede abrir 'datmese.prg'
-------------------------------------------------------------------------------------------------
According to what I see ...

Somewhere in your .prg you are calling names that do not exist.
Most names end in '1', Such as: datmese1 and
the error messages are saying that you can not open 'datmese.prg'
Attachments
xx.png
xx.png (177.39 KiB) Viewed 2658 times
Andrés González López
Desde Guadalajara, Jalisco. México.
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: problem with compiling both .bat and ide

Post by emzampi »

Ciao andyglezl

I renamed datamese.prg (without procedures inside) in datamese1.prg and I entered the datamese procedure (see content datamese1) - but despite the error call the program works. I do not understand why debugging does not work and without the call -d (on the .bat) it works to give the errors you've seen
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: problem with compiling both .bat and ide

Post by emzampi »

Hi serge_girard
if I understand correctly I should create .ch files with programs that does not open (datamese.org, addiz.prg etc ..) and then use include but I have difficulty creating them would you be able to help?
Post Reply