MIS PRIMEROS PASOS

MIS PRIMEROS PASOS

Postby A&C » Wed Jan 17, 2007 7:57 pm

NO PUEDO COMPILAR FWH26

INSTALE FWH26, BCC55, Y HARBOUR

Y dentro de la carpeta de sample del FWH26 uso el buildh
y compilar el tutor01.prg me da el siguiente error

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for Harbour 2.6 - April 2005 Harbour development power ³Ü
³ (c) FiveTech, 1993-2005 for Microsoft Windows 95/98/NT/2000/ME and XP ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
Harbour Compiler Alpha build 45.0 (Flex)
Copyright 1999-2005, http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...

100
100
200
200
100
700
Lines 25, Functions/Procedures 2
Generating C source output to 'tutor01.c'... Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
tutor01.c:
Error E2209 c:\harbour\include\hbdefs.h 56: Unable to open include file 'stdarg.h'
Error E2209 c:\harbour\include\hbdefs.h 57: Unable to open include file 'stdio.h'
Error E2209 c:\harbour\include\hbdefs.h 58: Unable to open include file 'stdlib.h'
Error E2209 c:\harbour\include\hbdefs.h 59: Unable to open include file 'string.h'
Error E2209 c:\harbour\include\hbsetup.h 56: Unable to open include file 'limits.h'
Error E2188 c:\harbour\include\hbdefs.h 405: Expression syntax
Error E2257 c:\harbour\include\hbdefs.h 430: , expected
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
*** 15 errors in Compile ***
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'C0W32.OBJ'
* Application successfully built
Mi segundo amor es Programar
User avatar
A&C
 
Posts: 214
Joined: Sat Aug 19, 2006 1:37 pm
Location: Chile

Postby Antonio Linares » Wed Jan 17, 2007 8:24 pm

Tienes que crear los ficheros bcc32.cfg y ilink32.cfg en c:\bcc55\bin ó en el path en donde hayas instalado Borland.

El contenido de esos ficheros ha de ser:

bcc32.cfg:
-I"C:\Bcc55\include"
-L"C:\Bcc55\lib"

ilink32.cfg:
-L"C:\Bcc55\lib"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41442
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby A&C » Wed Jan 17, 2007 8:47 pm

ANTONIO CREE LOS DOS ARCHIVOS COMO ME DIJISTE PERO ME SIGUE APRARECIENDO ESTE ERROR


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for Harbour 2.6 - April 2005 Harbour development power ³Ü
³ (c) FiveTech, 1993-2005 for Microsoft Windows 95/98/NT/2000/ME and XP ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
Harbour Compiler Alpha build 45.0 (Flex)
Copyright 1999-2005, http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...

Lines 25, Functions/Procedures 2
Generating C source output to 'tutor01.c'... Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
tutor01.c:
Error E2209 c:\harbour\include\hbdefs.h 56: Unable to open include file 'stdarg.h'
Error E2209 c:\harbour\include\hbdefs.h 57: Unable to open include file 'stdio.h'
Error E2209 c:\harbour\include\hbdefs.h 58: Unable to open include file 'stdlib.h'
Error E2209 c:\harbour\include\hbdefs.h 59: Unable to open include file 'string.h'
Error E2209 c:\harbour\include\hbsetup.h 56: Unable to open include file 'limits.h'
Error E2188 c:\harbour\include\hbdefs.h 405: Expression syntax
Error E2257 c:\harbour\include\hbdefs.h 430: , expected
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
*** 15 errors in Compile ***
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'C0W32.OBJ'
* Application successfully built

QUE PODRA ESTAR MAL

aca el buildh.bat
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for Harbour 2.6 - April 2005 Harbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2005 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...

set hdir=c:\harbour
set bcdir=c:\bcc55

%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

echo -O2 -e%1.exe -I%hdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c @b32.bc
:ENDCOMPILE

IF EXIST %1.rc %bcdir%\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 %hdir%\lib\rtl.lib + >> b32.bc
echo %hdir%\lib\vm.lib + >> b32.bc
echo %hdir%\lib\gtwin.lib + >> b32.bc
echo %hdir%\lib\lang.lib + >> b32.bc
echo %hdir%\lib\macro.lib + >> b32.bc
echo %hdir%\lib\rdd.lib + >> b32.bc
echo %hdir%\lib\dbfntx.lib + >> b32.bc
echo %hdir%\lib\dbfcdx.lib + >> b32.bc
echo %hdir%\lib\dbfdbt.lib + >> b32.bc
echo %hdir%\lib\debug.lib + >> b32.bc
echo %hdir%\lib\common.lib + >> b32.bc
echo %hdir%\lib\pp.lib + >> b32.bc
echo %hdir%\lib\codepage.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo %hdir%\lib\rddads.lib + >> b32.bc
rem echo %hdir%\lib\Ace32.lib + >> b32.bc

echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc
rem uncomment this line to use the debugger and comment the next one
rem %bcdir%\bin\ilink32 -Tpe -s @b32.bc
%bcdir%\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
Mi segundo amor es Programar
User avatar
A&C
 
Posts: 214
Joined: Sat Aug 19, 2006 1:37 pm
Location: Chile

Hola amigo

Postby ACC69 » Thu Jan 18, 2007 3:19 pm

Hola amigo, como estas, porque no usas VeRCE 4.3, es fácil de compilar y minimo de configuración, te lo recomiendo, cualquier duda contactame a mi correo y te paso el VeRCE y te hecho la mano en la configuracion.
acc69@hotmail.com
ACC69
 
Posts: 632
Joined: Tue Dec 12, 2006 7:34 pm

Postby Silvio » Thu Jan 18, 2007 3:33 pm

If you use Xmate you can create exe,LIB and dll in two minutes
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests