Página 1 de 1

Como compilar exemplos do xHarbour

Enviado: 29 Jul 2008 09:46
por clodoaldomonteiro
Olá amigos!

Tô tentando compilar o exemplo da wvtgui e mostra o seguinte erro:

Código: Selecionar todos

Usage: bld filename

Notes:

  - 'filename' is the .prg filename *without* extension.
  - Don't forget to make a MAIN() function for you application.
  - This batch file assumes you are in some directory off the main
    harbour directory.
  - Environment variables HB_ARCHITECTURE, HB_COMPILER, HB_GT_LIB
    should be set. Setting HB_GT_LIB is optional.
    The following values are currently supported:

    HB_ARCHITECTURE:
      - dos   (HB_GT_LIB=gtdos by default)
      - w32   (gtwin for console or gtgui for windows applications)
      - linux (HB_GT_LIB=gtstd by default)
      - os2   (HB_GT_LIB=gtos2 by default)

Pressione qualquer tecla para continuar. . . 
    HB_COMPILER:
      - When HB_ARCHITECTURE=dos
        - bcc16   (Borland C++ 3.x, 4.x, 5.0x, DOS 16-bit)
        - djgpp   (Delorie GNU C, DOS 32-bit)
        - rxs32   (EMX/RSXNT/DOS GNU C, DOS 32-bit)
        - watcom  (OpenWatcom, DOS 32-bit)
      - When HB_ARCHITECTURE=w32
        - bcc32   (Borland C++ 4.x, 5.x, Windows 32-bit)
        - gcc     (Cygnus/Cygwin GNU C, Windows 32-bit)
        - mingw32 (Cygnus/MinGW GNU C, Windows 32-bit)
        - rxsnt   (EMX/RSXNT/Win32 GNU C, Windows 32-bit)
        - icc     (IBM Visual Age C++, Windows 32-bit)
        - msvc    (Microsoft Visual C++, Windows 32-bit)
        - watcom  (OpenWatcom, Windows 32-bit)
      - When HB_ARCHITECTURE=linux
        - gcc     (GNU C, 32-bit)
      - When HB_ARCHITECTURE=os2
        - gcc     (EMX GNU C, OS/2 32-bit)
        - icc     (IBM Visual Age C++ 3.0, OS/2 32-bit)

Pressione qualquer tecla para continuar. . . 
    HB_GT_LIB:
      - gtstd (Standard streaming) (for all architectures)
      - gtcgi (Cgi streaming)      (for all architectures)
      - gtdos (DOS console)        (for dos architecture)
      - gtgui (Win32 NON console)  (for w32 architecture)
      - gtwin (Win32 console)      (for w32 architecture)
      - gtwvt (Win32 win console)  (for w32 architecture)
      - gtos2 (OS/2 console)       (for os2 architecture)
      - gtpca (PC ANSI console)    (for all architectures)
      - gtcrs (Curses console)     (for linux, w32 architectures)
      - gtsln (Slang console)      (for linux, w32 architectures)
Tem alguma configuração especial no Config.nt e Autoexec.nt?

Re: Como compilar exemplos do xHarbour

Enviado: 29 Jul 2008 11:19
por sygecom
se vc já esta com o xharbour e bcc55 configurado no path, basta usar o .BAT da pasta SAMPLES da WVTGUI.
ex:
bldwvt wvt