problem with compiling both .bat and ide

Forum help and suggestions to improve this forum.

Moderator: Rathinagiri

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

Re: problem with compiling both .bat and ide

Post by emzampi » Tue Jul 17, 2018 3:12 pm

thanks Serge but you can send me the changes made

User avatar
serge_girard
Posts: 2081
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 » Tue Jul 17, 2018 7:28 pm

OK, see att.

Serge
Attachments
emzampi.rar
(1.28 MiB) Downloaded 18 times

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

Re: problem with compiling both .bat and ide

Post by emzampi » Wed Jul 18, 2018 7:26 am

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
Attachments
Cattura_2018_07_18_09_32_08_234.jpg
Cattura_2018_07_18_09_32_08_234.jpg (90.47 KiB) Viewed 181 times

User avatar
serge_girard
Posts: 2081
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 » Wed Jul 18, 2018 10:12 am

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

User avatar
serge_girard
Posts: 2081
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 » Wed Jul 18, 2018 10:20 am

Emanuele,

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

Serge

User avatar
andyglezl
Posts: 971
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: problem with compiling both .bat and ide

Post by andyglezl » Wed Jul 18, 2018 2:55 pm

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 157 times
Andrés González López
Desde Guadalajara, Jalisco. México.

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

Re: problem with compiling both .bat and ide

Post by emzampi » Wed Jul 18, 2018 3:39 pm

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: 79
Joined: Sun Aug 11, 2013 9:00 am

Re: problem with compiling both .bat and ide

Post by emzampi » Tue Jul 24, 2018 8:47 am

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