What I can tell HbIDE PATH C Compiler?

197 views
Skip to first unread message

Guillermo Varona Silupú

unread,
Jul 12, 2010, 12:14:50 PM7/12/10
to harbou...@googlegroups.com
¿Cómo puedo indicar a HbIDE el PATH del Compilador C?

[ENG] By Google
What I can tell HbIDE PATH C Compiler?



Project [ xcont ] Launch [ No ] Rebuild [ No ] Started [ 10:48:33 ]

----------------------------------------------------------------------------------------------------

Batch File Exists => C:\DOCUME~1\gvaronas\CONFIG~1\Temp\xjhdgt.bat

Batch File Contents =>

D:/harbourMinGW/bin\hbmk2 D:\SyS_GVS\cont\ja\xcont.hbp -q -trace -info -lang=en -width=512

Command => C:\WINDOWS\system32\cmd.exe

Arguments => /C C:\DOCUME~1\gvaronas\CONFIG~1\Temp\xjhdgt.bat

----------------------------------------------------------------------------------------------------

CurDir() => hbIDE Starting in => D:\SyS_GVS\cont\ja\

D:\SyS_GVS\cont\ja>D:/harbourMinGW/bin\hbmk2 D:\SyS_GVS\cont\ja\xcont.hbp -q -trace -info -lang=en -width=512

hbmk2: Autodetected platform: win

hbmk2: Could not detect any supported C compiler in your PATH.

Please setup one or set -compiler= option to one of these values: mingw, msvc, bcc, watcom, icc, pocc, xcc, cygwin, mingw64, msvc64, msvcia64, iccia64, pocc64

----------------------------------------------------------------------------------------------------

Exit Code [ 2 ] Exit Status [ 0 ] Finished at [ 10:48:33 ] Done in [ 0.13 Secs ]

----------------------------------------------------------------------------------------------------


TIA

BestRegards
GVS

Massimo Belgrano

unread,
Jul 12, 2010, 12:18:27 PM7/12/10
to harbou...@googlegroups.com
SET PATH=C:\DEVL\MinGWtdm\BIN;%PATH%

2010/7/12 Guillermo Varona Silupú <gva...@ec-red.com>

--
Massimo Belgrano

Guillermo Varona Silupú

unread,
Jul 12, 2010, 12:38:10 PM7/12/10
to harbou...@googlegroups.com
Hi massimo:


El 12/07/2010 11:18 a.m., Massimo Belgrano escribió:
SET PATH=C:\DEVL\MinGWtdm\BIN;%PATH%
[SPA]
Se que puedo hacer esto desde la linea de Comandos del DOS.
¿Puedo configurar esto en el HbIDE?, ¿Dónde?

[ENG] By Google
know I can do this from the DOS command line.
I can configure this in the HbIDE? Where?


TIA

Best Regards
GVS

Pritpal Bedi

unread,
Jul 12, 2010, 2:27:11 PM7/12/10
to Harbour Users
Hi

> What I can tell HbIDE PATH C Compiler?

There are few options.
The one I am describing below is most appropriate.

1. Open <Setup><hbIDE Setup>
2. In the Setup dialog, click on <Files> node.
3. Provide the location for <Environments>. You can point to the hbide
folder itself.
4. Click on <View> icon on the right of editing field.
5. Open hbide/hbide.env file in another text editor.
6. Copy section of your compiler from [ ] line to end of that section
7. Change the paths information suiting your compiler.
7. Paste into the <Environments Editor>
8. Add one dummy line at the end "[ COMMON ]" followed by line feed.

You can define as many environment as you wish as long as you follow
the
right pattern. In future I am going to restructure this interface
to be more convenient.

Regards
Pritpal Bedi

Guillermo Varona Silupú

unread,
Jul 12, 2010, 5:38:34 PM7/12/10
to harbou...@googlegroups.com
[SPA]: Ya hice todo esto, pero sigo sin poder compilar, pese a que ya tengo en el PATH el compilador C, tengo esto:
[ENG]: I've done all this, but I still can not compile, although I have in the PATH the C compiler, I have this:

Compiler Environment:
[COMMON]

PLATFORM = win

COMPILER = mingw

[ MINGW - Windows ]

{content} set PATH=c:\mingw\bin;%PATH%

{content} set HB_BIN_INSTALL=d:\harbourMinGW\bin


Output console:
----------------------------------------------------------------------------------------------------

Project [ xcont ] Launch [ No ] Rebuild [ Yes ] Started [ 16:36:19 ]

----------------------------------------------------------------------------------------------------

Batch File Exists => C:\DOCUME~1\gvaronas\CONFIG~1\Temp\k5z5tz.bat

Batch File Contents =>

D:\harbourMinGW\bin\hbmk2.exe D:\SyS_GVS\cont\ja\xcont.hbp -q -trace -info -lang=en -width=512 -rebuild

Command => C:\WINDOWS\system32\cmd.exe

Arguments => /C C:\DOCUME~1\gvaronas\CONFIG~1\Temp\k5z5tz.bat

----------------------------------------------------------------------------------------------------

CurDir() => harbour\contrib\hbide Starting in => D:\SyS_GVS\cont\ja\

D:\SyS_GVS\cont\ja>D:\harbourMinGW\bin\hbmk2.exe D:\SyS_GVS\cont\ja\xcont.hbp -q -trace -info -lang=en -width=512 -rebuild

hbmk2: Autodetected platform: win

hbmk2: Could not detect any supported C compiler in your PATH.

Please setup one or set -compiler= option to one of these values: mingw, msvc, bcc, watcom, icc, pocc, xcc, cygwin, mingw64, msvc64, msvcia64, iccia64, pocc64

----------------------------------------------------------------------------------------------------

Exit Code [ 2 ] Exit Status [ 0 ] Finished at [ 16:36:19 ] Done in [ 0.09 Secs ]

----------------------------------------------------------------------------------------------------


[SPA]: ¿Que me puede estar faltando?
[ENG]: That I may be missing?
TIA

BestRegards
GVS

Guillermo Varona Silupú

unread,
Jul 12, 2010, 5:37:47 PM7/12/10
to harbou...@googlegroups.com
El 12/07/2010 01:27 p.m., Pritpal Bedi escribió:
[SPA]: Ya hice todo esto, pero sigo sin poder compilar, pese a que ya tengo en el PATH el compilador C, tengo esto:
[ENG]: I've done all this, but I still can not compile, although I have in the PATH the C compiler, I have this:

Compiler Environment:
[COMMON]

PLATFORM = win

COMPILER = mingw

[ MINGW - Windows ]

{content} set PATH=c:\mingw\bin;%PATH%

{content} set HB_BIN_INSTALL=d:\harbourMinGW\bin


Output console:
----------------------------------------------------------------------------------------------------

Project [ xcont ] Launch [ No ] Rebuild [ Yes ] Started [ 16:36:19 ]

----------------------------------------------------------------------------------------------------

Batch File Exists => C:\DOCUME~1\gvaronas\CONFIG~1\Temp\k5z5tz.bat

Batch File Contents =>

D:\harbourMinGW\bin\hbmk2.exe D:\SyS_GVS\cont\ja\xcont.hbp -q -trace -info -lang=en -width=512 -rebuild

Command => C:\WINDOWS\system32\cmd.exe

Arguments => /C C:\DOCUME~1\gvaronas\CONFIG~1\Temp\k5z5tz.bat

----------------------------------------------------------------------------------------------------

CurDir() => harbour\contrib\hbide Starting in => D:\SyS_GVS\cont\ja\

D:\SyS_GVS\cont\ja>D:\harbourMinGW\bin\hbmk2.exe D:\SyS_GVS\cont\ja\xcont.hbp -q -trace -info -lang=en -width=512 -rebuild

hbmk2: Autodetected platform: win

hbmk2: Could not detect any supported C compiler in your PATH.

Please setup one or set -compiler= option to one of these values: mingw, msvc, bcc, watcom, icc, pocc, xcc, cygwin, mingw64, msvc64, msvcia64, iccia64, pocc64

----------------------------------------------------------------------------------------------------

Exit Code [ 2 ] Exit Status [ 0 ] Finished at [ 16:36:19 ] Done in [ 0.09 Secs ]

Guillermo Varona Silupú

unread,
Jul 12, 2010, 5:32:24 PM7/12/10
to harbou...@googlegroups.com
El 12/07/2010 01:27 p.m., Pritpal Bedi escribió:
[SPA]: Ya hice todo esto, pero sigo sin poder compilar, pese a que ya tengo en el PATH el compilador C, tengo esto:
[ENG]: I've done all this, but I still can not compile, although I have in the PATH the C compiler, I have this:

Guillermo Varona Silupú

unread,
Jul 12, 2010, 5:34:31 PM7/12/10
to harbou...@googlegroups.com
El 12/07/2010 01:27 p.m., Pritpal Bedi escribió:

Guillermo Varona Silupú

unread,
Jul 12, 2010, 5:38:52 PM7/12/10
to harbou...@googlegroups.com
El 12/07/2010 01:27 p.m., Pritpal Bedi escribió:
[SPA]: Ya hice todo esto, pero sigo sin poder compilar, pese a que ya tengo en el PATH el compilador C, tengo esto:
[ENG]: I've done all this, but I still can not compile, although I have in the PATH the C compiler, I have this:

Compiler Environment:
[COMMON]

PLATFORM = win

COMPILER = mingw

[ MINGW - Windows ]

{content} set PATH=c:\mingw\bin;%PATH%

{content} set HB_BIN_INSTALL=d:\harbourMinGW\bin


Output console:
----------------------------------------------------------------------------------------------------

Project [ xcont ] Launch [ No ] Rebuild [ Yes ] Started [ 16:36:19 ]

----------------------------------------------------------------------------------------------------

Batch File Exists => C:\DOCUME~1\gvaronas\CONFIG~1\Temp\k5z5tz.bat

Batch File Contents =>

D:\harbourMinGW\bin\hbmk2.exe D:\SyS_GVS\cont\ja\xcont.hbp -q -trace -info -lang=en -width=512 -rebuild

Command => C:\WINDOWS\system32\cmd.exe

Arguments => /C C:\DOCUME~1\gvaronas\CONFIG~1\Temp\k5z5tz.bat

----------------------------------------------------------------------------------------------------

CurDir() => harbour\contrib\hbide Starting in => D:\SyS_GVS\cont\ja\

D:\SyS_GVS\cont\ja>D:\harbourMinGW\bin\hbmk2.exe D:\SyS_GVS\cont\ja\xcont.hbp -q -trace -info -lang=en -width=512 -rebuild

hbmk2: Autodetected platform: win

hbmk2: Could not detect any supported C compiler in your PATH.

Please setup one or set -compiler= option to one of these values: mingw, msvc, bcc, watcom, icc, pocc, xcc, cygwin, mingw64, msvc64, msvcia64, iccia64, pocc64

----------------------------------------------------------------------------------------------------

Exit Code [ 2 ] Exit Status [ 0 ] Finished at [ 16:36:19 ] Done in [ 0.09 Secs ]

----------------------------------------------------------------------------------------------------


Pritpal Bedi

unread,
Jul 12, 2010, 5:43:59 PM7/12/10
to Harbour Users
Hi

> [ENG]: I've done all this, but I still can not compile, although I have
> in the PATH the C compiler, I have this:
>
> _Compiler Environment:_
> [COMMON]
>
> PLATFORM = win
> COMPILER = mingw
>
> [ MINGW - Windows ]
> {content} set PATH=c:\mingw\bin;%PATH%
> {content} set HB_BIN_INSTALL=d:\harbourMinGW\bin

[COMMON]

PLATFORM = win
COMPILER = mingw

[ MINGW - Windows ]
{content} set PATH=c:\mingw\bin;%PATH%
{content} set HB_BIN_INSTALL=d:\harbourMinGW\bin

[DUMMY]

Then,

On the Project Name Node in the "Project Tree",
right-click, point to "Environments" and select
"MINGW - Windows" prompt. You then see this visible on
the statusbar also.

Then "Rebuild and Launch"
Hopefully you will succeed this time.

Note that you can define n number of environments.
Which environment you need to choose is selected as above.

Regards
Pritpal Bedi

Pritpal Bedi

unread,
Jul 12, 2010, 5:51:53 PM7/12/10
to Harbour Users
Sorry

[ COMMON ]

[ MINGW - Windows ]

{content} set PATH=c:\mingw\bin;%PATH%
{content} set HB_BIN_INSTALL=d:\harbourMinGW\bin

   [ DUMMY ]


Below is hbide.env what I use for BCC.

[ COMMON ]

[ BCC55 Harbour ]
{content} set PATH=E:\harbour;E:\harbour\bin;E:\bcc55\bin;
{content} set HB_INS_PREFIX=E:\harbour
{content} set HB_INC_INSTALL=E:\harbour\include
{content} set HB_BIN_INSTALL=E:\harbour\bin
{content} set HB_LIB_INSTALL=E:\harbour\lib\win\bcc

[ BCC55 xHarbour ]
{content} set PATH=C:\xharbour;C:\xharbour\bin;E:\bcc55\bin;
{content} set HB_INS_PREFIX=C:\xharbour
{content} set HB_INC_INSTALL=C:\xharbour\include
{content} set HB_BIN_INSTALL=C:\xharbour\bin
{content} set HB_LIB_INSTALL=C:\xharbour\lib

[ DUMMY ] -------------> closing line.

Take note from above.

Regards
Pritpal Bedi
Reply all
Reply to author
Forward
0 new messages