Página 1 de 1

Erro Compilação

Enviado: 25 Abr 2005 11:20
por juniortte
teste.prg

Código: Selecionar todos

#include "fivewin.ch"

function main()
   Local oWnd
   DEFINE WINDOW oWnd TITLE "Primeiro Programa Five Win";
          FROM 5, 5 TO 24, 64
   ACTIVATE WINDOW oWnd
   Return nil
Link 6.0

Código: Selecionar todos

BLINKER INCREMENTAL OFF
BLINKER CLIPPER SYMBOL OFF

FILE TESTE.OBJ

DEFBEGIN
     name        FiveWin
     description 'Clipper for Windows library'
     exetype     Windows 3.1
     code        preload moveable discardable
     data        preload moveable
     stacksize   8500
     heapsize    8500
DEFEND

LIB FIVEC.LIB
LIB OBJECTS.LIB
LIB WINAPI.LIB
LIB CLIPPER.LIB
LIB EXTEND.LIB
LIB DBFNTX.LIB
LIB TERMINAL.LIB
compilar cliper5.3

clipper teste
blinker @teste > __temp

Esta dando o erro de compilação:

BLINKER : 1115 : TESTE.OBJ(TESTE) : 'TWINDOW' : unresolved external
BLINKER : 1115 : FIVEC.LIB(TERMW) : '_SETKEY' : unresolved external
BLINKER : 1115 : FIVEC.LIB(OUTSTDW) : '_ALERT' : unresolved external
BLINKER : 1115 : FIVEC.LIB(OUTSTDW) : 'ERRORLINK' : unresolved external

BLINKER : 0 Warning error(s), 4 Fatal error(s)

TESTE.EXE (not created) (0.1 seconds)

Enviado: 02 Mai 2005 02:34
por rochinha
Amiguinho

Acrescente as seguintes linhas enfatizadas em seu .LNK

MAP A,S
BLINKER LINK VERSION 3.3
PACKCODE
PACKDATA

DEFBEGIN
name FiveWin
description 'Fivewin 2.4 & Clipper 5.3'
exetype Windows 3.1
code moveable discardable
data preload moveable
stacksize 17000
heapsize 2048
segment 'PLANKTON_TEXT' nondiscardable
segment 'EXTEND_TEXT' nondiscardable
segment 'OM_TEXT' nondiscardable
segment 'OSMEM_TEXT' nondiscardable
segment 'SORTOF_TEXT' nondiscardable
segment 'STACK_TEXT' nondiscardable

DEFEND
NOBELL
LIB Five
LIB FiveC
LIB Objects
LIB WinApi
LIB Clipper, Extend, DbfNtx, DbfCdx, _DbfCdx, Terminal

@braços :?)