Search found 35 matches: mylib

Return to advanced search

Re: Funciones propias en una lib

Cambia esta línea:

mylib.lib : $(PRG:.PRG=.OBJ)

así:

mylib.lib : $(PRG:.prg=.obj)

Y está tambien:

.PRG.OBJ:

con:

.prg.obj:

Los ficheros make distinguen entre mayúsculas y minúsculas
by Antonio Linares
Tue Jan 17, 2017 6:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Re: Funciones propias en una lib

... .path.prg = .\prg .path.ch = $(FWDIR)\include;$(HBDIR)\include .path.c = .\ PRG = \ .\mainwin.prg \ .\progra01.prg \ .\progra02.prg PROJECT : mylib.lib mylib.lib : $(PRG:.PRG=.OBJ) .PRG.OBJ: $(HDIR)\bin\harbour $< /N /W /es2 /Oobjh\ /I.\include;$(HDIR)\include > comp.log $(BCCDIR)\bin\bcc32 ...
by Compuin
Mon Jan 16, 2017 11:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Re: Funciones propias en una lib

El archivo mainwin.prg existe pero aun me da este error

C:\SGE>mylib

C:\SGE>set path=C:\bcc7\bin

C:\SGE>make -fmylib.mak
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
Fatal: '.\mainwin.prg' does not exist - don't know how to make it
C:\SGEDP>mylib
by Compuin
Mon Jan 16, 2017 3:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Re: Funciones propias en una lib

Te falta una "f"

make -fmylib.mak
by Antonio Linares
Mon Jan 02, 2017 8:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Re: Funciones propias en una lib

C:\SGE>mylib

C:\SGE>set path=C:\bcc7\bin

C:\SGEDP>make -mylib.mak
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
Fatal: Unable to open makefile
C:\SGE>


go.bat

set path=C:\bcc7\bin
make -mylib.mak
by Compuin
Sun Jan 01, 2017 8:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Re: Funciones propias en una lib

Entonces lo que necesitas es un make para construir tu librería: mylib.mak BCDIR=c:\bcc7HBDIR=c:\harbourFWDIR=c:\fwh.path.obj = .\obj.path.prg = .\prg.path.ch = $(FWDIR)\include;$(HBDIR)\include.path.c = .\PRG = \.\prg01.prg \.\prg02.prg ...
by Antonio Linares
Sun Jan 01, 2017 7:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Re: Funciones propias en una lib

Busca dentro de mylib.lib por _HB_FUN_ABREODBC

Puedes usar Total Commander para hacer esta búsqueda

ó este inspector de librerias de Andrés Reyes:
https://bitbucket.org/fivetech/fivewin-contributions/downloads/Explorer%20Lib-2.0-win32.exe
by Antonio Linares
Sun Jan 01, 2017 7:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Re: Funciones propias en una lib

Ok pero el codigo existe dentro de una funcion en mylib.lib...por que no lo reconoce?
by Compuin
Sun Jan 01, 2017 3:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Funciones propias en una lib (Solucionado)

... PRG que puse en un archivo .lib. Ahora me gustaria saber en que lugar el .mak debo colocarlo para que se genere el executable Mi lib se llama mylib.lib Hice esto pero no esta funcionando BCDIR=c:\bcc7 HBDIR=c:\harbour FWDIR=c:\fwh .path.obj = .\obj .path.prg = .\prg .path.ch = $(FWDIR)\include;$(HBDIR)\include ...
by Compuin
Sat Dec 31, 2016 9:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9989

Re: Adding new Obj files for Harbour, bcc7

Borland makefile example to build a library go.bat c:\bcc7\bin\make -fmylib.mak mylib.mak PRG =    \ONE.PRG  \TWO.PRG  \THREE.PRG PROJECT    : mylib.libmylib.lib : $(PRG:.PRG=.OBJ).PRG.OBJ:   c:\harbour\bin\harbour $< /n /ic:\fwh\include /ic:\harbour\include  ...
by Antonio Linares
Sat Jan 02, 2016 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Adding new Obj files for Harbour, bcc7
Replies: 3
Views: 614

Re: Function of FiveWin and with my same name

... and linker. xMate did its job well as can be seen from the link script. Now the real question what the linker does. Assume that I am linking MyLib.Lib first and then FiveX.Lib next. I have a function func1() in module mymod1.prg in mylib.lib There are two functions func1() and func2() in ...
by nageswaragunupudi
Sat Apr 06, 2013 7:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function of FiveWin and with my same name
Replies: 11
Views: 1929

Re: Como crear una libreria?

Jorge,

Con Borland es tan sencillo como:

c:\bcc582\bin\tlib.exe mylib.lib -+ modulo.obj
by Antonio Linares
Fri Mar 01, 2013 9:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como crear una libreria?
Replies: 6
Views: 976

Re: Compiling using hbmk2

Here's how I build my private library by using hbmk2.

i. Create a mylib.hbp
Code: Select all  Expand view

-n
-omylib
-hblib
-ic:\fwh\include;c:\harbour\include
xhb.hbc

a.prg
b.c
c.prg
 


So later I just do:
>hbmk2 mylib.hbp

I guess a lot of improvement could still be done to how I configure things as I'm still new with using hbmk2
by hua
Thu Jul 21, 2011 6:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compiling using hbmk2
Replies: 1
Views: 544

Re: Message Box Add On For Your FWH Application

Hi Stefan, It works fine fine with BCC 5.82. You have to compile in C++ mode. So: 1. Add -P compiler switch to BCC 2. For the missing declaration, please add #include "hbapiitm.h", just under #include "hbapi.h" Best regards, Andi Here is the Batch file, just in case: ------ cut -...
by andijahja
Tue Aug 31, 2010 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Message Box Add On For Your FWH Application
Replies: 7
Views: 1501

Re: Migración desde xHarbour+BCC a Harbour+MSVC

Kleyber, > Pero no he logrado generar la lib. La libreria tiene que existir previamente. Tienes que crearla usando un fichero DEF: lib.exe /def:mylib.def /out:mylib.lib mylib.def es suficiente con que contenga esto LIBRARY     MYLIB.LIBEXPORTS  > He notado que durante la compilación, si existe ...
by Antonio Linares
Wed Mar 04, 2009 7:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migración desde xHarbour+BCC a Harbour+MSVC
Replies: 47
Views: 7204
PreviousNext

Return to advanced search