Jump to content
Fivewin Brasil

Erro de compilacao com FWH


qiinfo

Recommended Posts

Boa noite a todos

ao compilar com o fluxo abaixo:

@ECHO OFF

CLS

ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿

ECHO ³ FiveWin for Harbour 2.4 - July 2003 Harbour development power ³Ü

ECHO ³ © FiveTech, 1993-2003 for Microsoft Windows 95/98/NT/2000/ME and XP ³Û

ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ

ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

if A%1 == A GOTO :SINTAX

if NOT EXIST %1.prg GOTO :NOEXIST

ECHO Compiling...

\harbour\bin\harbour %1 /n /w /p /i\harbour\include;\bcc55\include %2 %3 > clip.log

@type clip.log

IF ERRORLEVEL 1 PAUSE

IF ERRORLEVEL 1 GOTO EXIT

echo -O2 -e%1.exe -I\harbour\include %1.c > b32.bc

pause

\bcc55\bin\bcc32 -M -c @b32.bc

pause

:ENDCOMPILE

IF EXIST %1.rc \bcc55\bin\brc32 -r %1

echo c0w32.obj + > b32.bc

echo %1.obj, + >> b32.bc

echo %1.exe, + >> b32.bc

echo %1.map, + >> b32.bc

echo ..\lib\FiveH.lib ..\lib\FiveHC.lib + >> b32.bc

echo \harbour\lib\rtl.lib + >> b32.bc

echo \harbour\lib\vm.lib + >> b32.bc

echo \harbour\lib\gtwin.lib + >> b32.bc

echo \harbour\lib\lang.lib + >> b32.bc

echo \harbour\lib\macro.lib + >> b32.bc

echo \harbour\lib\rdd.lib + >> b32.bc

echo \harbour\lib\dbfntx.lib + >> b32.bc

echo \harbour\lib\dbfcdx.lib + >> b32.bc

echo \harbour\lib\debug.lib + >> b32.bc

echo \harbour\lib\common.lib + >> b32.bc

echo \harbour\lib\pp.lib + >> b32.bc

echo \harbour\lib\codepage.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD

rem echo \harbour\lib\rddads.lib + >> b32.bc

rem echo \harbour\lib\Ace32.lib + >> b32.bc

echo \bcc55\lib\cw32.lib + >> b32.bc

echo \bcc55\lib\import32.lib + >> b32.bc

echo \bcc55\lib\psdk\odbc32.lib + >> b32.bc

echo \bcc55\lib\psdk\nddeapi.lib + >> b32.bc

echo \bcc55\lib\psdk\iphlpapi.lib + >> b32.bc

echo \bcc55\lib\psdk\rasapi32.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc

rem uncomment this line and comment the next to review the unreleased memory blocks

rem \bcc55\bin\ilink32 -Tpe -s @b32.bc

\bcc55\bin\ilink32 -Gn -aa -Tpe -s @b32.bc

rem delete temporary files

@del %1.c

@del %1.il?

IF ERRORLEVEL 1 GOTO LINKERROR

ECHO * Application successfully built

%1

GOTO EXIT

ECHO

:LINKERROR

rem if exist meminfo.txt notepad meminfo.txt

rem PAUSE * Linking errors *

GOTO EXIT

:SINTAX

ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG

ECHO {-- Don't specify .PRG extension

GOTO EXIT

:NOEXIST

ECHO The specified PRG %1 does not exist

:EXIT

Ocorre o seguinte erro:

Borland C++ 5.5.1 for Win32 Copyright © 1993, 2000 Borland

tutor01.c:

Error E2209 \harbour\include\hbdefs.h 56: Unable to open include file 'stdarg.h'

Error E2209 \harbour\include\hbdefs.h 57: Unable to open include file 'stdio.h'

Error E2209 \harbour\include\hbdefs.h 58: Unable to open include file 'stdlib.h'

Error E2209 \harbour\include\hbdefs.h 59: Unable to open include file 'string.h'

Error E2209 \harbour\include\hbsetup.h 56: Unable to open include file 'limits.h'

Error E2451 tutor01.c 18: Undefined symbol 'NULL'

Error E2141 tutor01.c 18: Declaration syntax error

Error E2190 tutor01.c 18: Unexpected }

Error E2190 tutor01.c 18: Unexpected }

Error E2040 tutor01.c 18: Declaration terminated incorrectly

Error E2190 tutor01.c 22: Unexpected }

Error E2190 tutor01.c 22: Unexpected }

Error E2109 tutor01.c 22: Not an allowed type in function hb_vm_SymbolInit_TUTOR01

*** 13 errors in Compile ***

No meu autoexec.bat inclui as linhas:

path = %path%;c:\bcc55\bin;c:\harbour\bin

SET INCLUDE=C:\clip5e\INCLUDE;c:\fwh\include;c:\bcc55\include;c:\harbour\include

SET LIB=C:\clip5e\LIB;c:\fwh\lib;C:\BCC55\LIB;c:\harbour\lib

Como resolver este problema ?

Obrigado,

Rossine.

Link to comment
Share on other sites

Boa Noite Gilberto,

Estou usando a versao .43 flex... Devo atualizar para a versao .92

Este é o meu primeiro contato com o fwh e habour, só que gostaria de compilar mesmo é com o xHabour. Sabe onde consegui-lo...

Obrigado,

Rossine.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...