Istruzioni per utilizzo xharbour
Moderator: Enrico Maria Giordano
- damianodec
- Posts: 372
- Joined: Wed Jun 06, 2007 2:58 pm
- Location: Italia
- Contact:
Istruzioni per utilizzo xharbour
da qualche parte c'era un thread dove si descriveva passo passo quello che bisognava fare per ricompilare tutto con xharbour....
dove sta?
grazie
dove sta?
grazie
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Istruzioni per utilizzo xharbour
Il thread di cui parli non me lo ricordo. Prova con la funzione Search di questo forum.
EMG
EMG
- damianodec
- Posts: 372
- Joined: Wed Jun 06, 2007 2:58 pm
- Location: Italia
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Magari se mi riporti qui gli errori esatti è più facile che ti possa dare una mano, non ti pare?damianodec wrote:aiuto....
dimmi dove sbaglio.
sto provando a compilare test.prg
ma mi escono una serie di errori...
Be', ti serve il compilatore C, no?damianodec wrote:oltre a FWH e xharbour ho bisogno di altro?
EMG
- damianodec
- Posts: 372
- Joined: Wed Jun 06, 2007 2:58 pm
- Location: Italia
- Contact:
scusami... ho anche Borland (bcc55)
provo a compilare il file test4.prg
se uso il file buildx di FWH mi da st'errori:
FiveWin for xHarbour 2.6 - April 2005 xHarbour development power │▄
(c) FiveTech, 1993-2005 for Microsoft Windows 95/98/NT/2000/ME and XP
Compiling...
xHarbour Compiler build 0.73.0 (SimpLex)
Copyright 1999-2003, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'test4.prg' and generating preprocessed output to 'test4.ppo'...
Lines 36, Functions/Procedures 2
Generating C source output to 'test4.c'... Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
test4.c:
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
Error: Unresolved external '_HB_FUN_HB_DBG_VMSTKLCOUNT' referenced from C:\FWH\L
IB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMPARLLIST' referenced from C:\FWH\LI
B\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARLGET' referenced from C:\FWH\LIB
\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARSLEN' referenced from C:\FWH\LIB
\FIVEHX.LIB|HARBOUR
Impossibile trovare c:\FWH\SAMPLES\test4.il?
* Application successfully built
"test4" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
c:\FWH\SAMPLES>
provo a compilare il file test4.prg
se uso il file buildx di FWH mi da st'errori:
FiveWin for xHarbour 2.6 - April 2005 xHarbour development power │▄
(c) FiveTech, 1993-2005 for Microsoft Windows 95/98/NT/2000/ME and XP
Compiling...
xHarbour Compiler build 0.73.0 (SimpLex)
Copyright 1999-2003, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'test4.prg' and generating preprocessed output to 'test4.ppo'...
Lines 36, Functions/Procedures 2
Generating C source output to 'test4.c'... Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
test4.c:
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
Error: Unresolved external '_HB_FUN_HB_DBG_VMSTKLCOUNT' referenced from C:\FWH\L
IB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMPARLLIST' referenced from C:\FWH\LI
B\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARLGET' referenced from C:\FWH\LIB
\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARSLEN' referenced from C:\FWH\LIB
\FIVEHX.LIB|HARBOUR
Impossibile trovare c:\FWH\SAMPLES\test4.il?
* Application successfully built
"test4" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
c:\FWH\SAMPLES>
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- damianodec
- Posts: 372
- Joined: Wed Jun 06, 2007 2:58 pm
- Location: Italia
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- damianodec
- Posts: 372
- Joined: Wed Jun 06, 2007 2:58 pm
- Location: Italia
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Questo è per xHarbour puro (per FWH basta che aggiungi i relativi percorsi e librerie). Controlla i percorsi:
C.BAT:
XHARBOUR.CFG:
XHARBOUR.RSP
EMG
C.BAT:
Code: Select all
@ ECHO OFF
SET HARBOURCMD=/a /es2 /gc0 /m /n /q /w2
SET INCLUDE=c:\xharbour\include;c:\bcc55\include
FOR %%i IN (*.prg) DO c:\xharbour\harbour %%i
SET HARBOURCMD=
SET INCLUDE=
IF NOT ERRORLEVEL 1 IF EXIST *.c FOR %%i IN (*.c) DO c:\bcc55\bin\bcc32 +c:\xharbour\xharbour.cfg -c %%i
IF NOT ERRORLEVEL 1 IF EXIST *.obj c:\bcc55\bin\ilink32 c0x32 @link.rsp @c:\xharbour\xharbour.rsp
IF ERRORLEVEL 1 PAUSE
IF NOT ERRORLEVEL 1 IF EXIST *.exe FOR %%i IN (*.exe) DO %%i
IF EXIST *.c DEL *.c
IF EXIST *.obj DEL *.obj
IF EXIST *.tds DEL *.tds
Code: Select all
-5
-DHB_FM_STATISTICS_OFF
-DHB_GUI
-DHB_NO_PROFILER
-DHB_NO_TRACE
-DHB_WIN32_IO
-g50
-Ic:\xharbour\include;c:\bcc55\include
-j5
-k-
-O1
-O2
-OS
-Ov
-v-
-WC
-w
-w-inl-
Code: Select all
/ap +
/Gn +
/Lc:\xharbour\lib;c:\bcc55\lib;c:\bcc55\lib\psdk +
/x
rtl.lib +
vm.lib +
common.lib +
lang.lib +
gtwin.lib +
rdd.lib +
usrrdd +
dbffpt.lib +
dbfntx.lib +
dbfcdx.lib +
hbsix.lib +
macro.lib +
pcrepos.lib +
hbodbc.lib +
hbzip.lib +
ct.lib +
tip.lib +
import32.lib +
cw32.lib +
odbc32.lib +
wininet.lib
- damianodec
- Posts: 372
- Joined: Wed Jun 06, 2007 2:58 pm
- Location: Italia
- Contact:
ok.... scusami ancora, purtroppo sto imparando passo passo.... non avendo dimestichezza con il linker di bcc52
ho usato i tuoi file ma ora si blocca in questo modo quando compilo i due file .prg:
c:\stclient>buildst
compilato
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
stcliage.c:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
stclient.c:
ok
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'link.rsp'
Premere un tasto per continuare . . .
presumo che ci vuole un file link.rsp......
ho usato i tuoi file ma ora si blocca in questo modo quando compilo i due file .prg:
c:\stclient>buildst
compilato
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
stcliage.c:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
stclient.c:
ok
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'link.rsp'
Premere un tasto per continuare . . .
presumo che ci vuole un file link.rsp......
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Sì, scusa. Il file LINK.RSP deve essere fatto così:
EMG
Code: Select all
mioprg1 +
mioprg2 +
... +
mioprgn
MIOEXE.EXE
- damianodec
- Posts: 372
- Joined: Wed Jun 06, 2007 2:58 pm
- Location: Italia
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact: