error E0007 #translate/#command

Projeto [x]Harbour - Compilador de código aberto compatível com o Clipper.

Moderador: Moderadores

tonyx
Usuário Nível 3
Usuário Nível 3
Mensagens: 303
Registrado em: 07 Jul 2004 15:26

error E0007 #translate/#command

Mensagem por tonyx »

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
..\..\bin\b32\harbour.exe -i..\..\include;include -n -q0 -w -es2 -gc0 .\pdf1.prg -oobj\b32\pdf1.c

..\..\include\hbclass.ch(974) Error E0007 Missing => in #translate/#command

..\..\include\hbclass.ch(978) Error E0007 Missing => in #translate/#command

.\pdf1.prg(69) Error E0030 Syntax error: "syntax error at 'TPDF'"

//--->>>[ simplesmente executando C:\xHarbour\contrib\pdflib\make_b32.bat..

rem ---- auto_2.bat para XHABOUR ------

SET PATH=c:\windows\system32;c:\windows;c:\windows\System32\Wbem;c:\bcc55\bin;C:\xharbour\bin
SET INCLUDE=C:\XHARBOUR\INCLUDE;C:\BCC5\INCLUDE
SET LIB=C:\XHARBOUR\LIB;C:\BCC55\LIB
SET CFLAGS= -5 -OS -a8
SET HB_ARCHITECTURE=W32
SET HB_COMPILER=BCC32
SET HB_GT_LIB=GTWIN
SET HB_PATH=C:\XHARBOUR
SET HB_INSTALL_PREFIX=c:\XHARBOUR\BIN
SET HB_INSTALL_INC=C:\XHARBOUR\INCLUDE
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
//===========================================// :% :%
tonyx
Usuário Nível 3
Usuário Nível 3
Mensagens: 303
Registrado em: 07 Jul 2004 15:26

error E0007 #translate/#command

Mensagem por tonyx »

descobri sozinho haaaaa
--> alterei arquivo "hb_setup.ch" em hb_c5_strict.. deu compilar ok

//===================================//
#ifndef HB_SETUP_CH_
#define HB_SETUP_CH_

// NOTE: You can select here, which features you want to include of the
// different Clipper implementations.

#define HB_EXTENSION // Enable Harbour extensions

#define HB_C52_UNDOC // *Enable CA-Cl*pper 5.2e undocumented features */

//--->>> ?? foi aqui
// #define HB_C52_STRICT // * Enable CA-Cl*pper 5.2e strict compatibility

#define HB_COMPAT_C53 // Enable CA-Cl*pper 5.3x extensions */
#define HB_COMPAT_XPP // Enable Alaska Xbase++ extensions */
// #define HB_COMPAT_VO // Enable CA-VO extensions */
// #define HB_COMPAT_FLAGSHIP // Enable Flagship extensions */
// #define HB_COMPAT_FOXPRO // Enable FoxPro extensions */
#define HB_COMPAT_DBASE // Enable dBase extensions */

// NOTE: HB_SHORTNAMES must be defined manually if the symbol name length is
// set to 10 explicitly and not through the HB_C52_STRICT option
// [vszakats] */

// Turn on short names support for the class engine */

//--->>>- foi aqui -----
// #ifdef HB_C52_STRICT
// #define HB_SHORTNAMES
// #endif

/* #define HB_FILE_VER_STATIC */ /* Enable inclusion of file version strings */
/*#define HB_CLS_ENFORCERO */ /* Activate the RO checking on OO DATA */
/* when not called from a constructor */

#endif /* HB_SETUP_CH_ */

//==[ fui atras da solucao na internet mas tai, agora posso mudar a minha libpdf ]--

:))
Responder