Page 1 of 1

UESTUDIO

PostPosted: Thu Jan 08, 2009 12:51 pm
by MANOLO
Hola estoy empezando ha utilizar el uestudio para compilar mi proyecto que se compone de varios prgs y librerias de terceros en .lib, mi problema es como añado estos ficheros .lib para que me los incluya en la compilación.

Gracias de antemano.

Re: UESTUDIO

PostPosted: Thu Jan 08, 2009 1:15 pm
by Antonio Linares
Manuel,

1. Copia los ficheros contenidos en FWH\uestudio\fwh.zip a sus respectivas carpetas en:

c:\Archivos de Programa\IDM Computer Solutions\UEStudio '06\...

2. Selecciona desde el menu principal: Proyecto - Nuevo Proyecto - Crear proyecto usando plantillas:

Image

3. Selecciona Harbour como compilador y elige construir una ventana principal ó un diálogo, dale un nombre y pulsa crear:

Image

4. Te indicará que el proyecto ha sido creado. Ahora selecciona ver el administrador del proyecto:

Image

5. Ahora puedes ver la estructura del proyecto y construirlo pulsando el botón con la admiración roja:

Image

6. Para añadir más ficheros PRGs a este proyecto, abre cualquier PRG y desde el administrador a la izquierda, selecciona añadir el fichero abierto al proyecto:

(continuamos en unos minutos...)

(editando este mensaje con más imagenes. Pulsa refrescar para verlo actualizado)

Re: UESTUDIO

PostPosted: Thu Jan 08, 2009 8:36 pm
by MANOLO
Gracias antonio, pero donde coloco los ficheros .lib como tsbrwose.lib, barlib.lib para que me los compile junto con la aplicación.

saludos.

Re: UESTUDIO

PostPosted: Thu Jan 08, 2009 9:00 pm
by Antonio Linares
Manuel,

En el fichero de configuracion que proporcionamos con FWH en FWH\uestudio\fwh.zip\configs\xHarbour\Application y que has de copiar aqui:

c:\Program Files\IDM Computer Solutions\UEStudio '06\configs\Harbour\Application

...
LIBS1 = $(FWH)\LIB\FiveHX.lib $(FWH)\LIB\FiveHC.lib
LIBS2 = $(HPATHL)\rtl.lib $(HPATHL)\vm.lib $(HPATHL)\gtgui.lib $(HPATHL)\lang.lib $(HPATHL)\macro.lib $(HPATHL)\rdd.lib $(HPATHL)\dbfcdx.lib $(HPATHL)\dbfntx.lib $(HPATHL)\dbffpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\debug.lib $(HPATHL)\common.lib $(HPATHL)\pp.lib $(HPATHL)\codepage.lib $(HPATHL)\pcrepos.lib
LIBS3 = $(CPATHL)\cw32.lib $(CPATHL)\import32.lib $(CPATHL)\psdk\odbc32.lib $(CPATHL)\psdk\msimg32.lib $(CPATHL)\psdk\nddeapi.lib $(CPATHL)\psdk\iphlpapi.lib $(CPATHL)\psdk\rasapi32.lib
LIBS4 = tus librerias
LIBS = $(LIBS1) $(LIBS2) $(LIBS3) $(LIBS4)
...

Re: UESTUDIO

PostPosted: Thu Jan 08, 2009 9:49 pm
by MANOLO
gracias Antonio
Saludos

Re: UESTUDIO

PostPosted: Thu Feb 05, 2009 11:28 pm
by mmercado
My first multi prg multi rc UEstudio project, it's indeed a great tool, many thanks Antonio and Otto.

Image
By manuelmercado
Best Regards.

Manuel Mercado

Re: UESTUDIO

PostPosted: Thu Feb 05, 2009 11:38 pm
by mmercado
Una disculpa, no me fijé que estaba en el foro en español, en mi post estoy mostrando la imagen de mi primera aplicación generada con UEstudio enlazando varios prg's y varios rc's, utilizando también todas mis librerias propias.

Es verdaderamente una gran herramienta, repito mi gratitud a Otto y Antonio por animarnos a usarla.

Un abrazo.

Manuel Mercado.

Re: UESTUDIO

PostPosted: Sat Feb 07, 2009 4:01 pm
by mmercado
Hola Antonio:

Ya puedo construír aplicaciones con UEstudio, me podrías decir como puedo construír una librería?

Gracias.

Manuel Mercado

Re: UESTUDIO

PostPosted: Sat Feb 07, 2009 5:23 pm
by Otto
Manuel, could you please contact me via email: datron@aon.at

I would like to send you a project I tried for UEStudio.

Best regards,
Otto

Re: UESTUDIO

PostPosted: Mon Feb 09, 2009 2:38 pm
by mmercado
Hola amigos:

Alguien tendrá un archivo de configuración para crear una librería estática con UEstudio?

Gracias.

Manuel Mercado

Re: UESTUDIO

PostPosted: Mon Feb 09, 2009 4:18 pm
by Richard Chidiak
Manuel

This is my prj file for tsbrowse

HTH

Richard


Code: Select all  Expand view
[Files]
0=c:\TSBROWSE\SOURCE\CLASSES\TSBROWSE.prg
1=c:\TSBROWSE\SOURCE\CLASSES\TSMULTI.prg
2=c:\TSBROWSE\SOURCE\CLASSES\BTNDOWN.prg
3=c:\TSBROWSE\SOURCE\CLASSES\SBMSG.prg
4=c:\TSBROWSE\SOURCE\CLASSES\SCRLLBAR.prg
5=c:\TSBROWSE\SOURCE\CLASSES\TSBTNGET.prg
6=c:\TSBROWSE\SOURCE\CLASSES\TSCOLUMN.prg
7=c:\TSBROWSE\SOURCE\CLASSES\TSCOMBO.prg
8=c:\TSBROWSE\SOURCE\CLASSES\TSGET.prg
9=c:\TSBROWSE\SOURCE\CLASSES\FWCALEN.prg
10=c:\TSBROWSE\SOURCE\FUNCTION\GETBTN.C
11=c:\TSBROWSE\SOURCE\FUNCTION\SCROLL.C
12=..\..\tsbrowSe\SOURCE\FUNCTION\TSBFUNCS.C
[Debug Settings]
Program Arguments=
Selected Debugger=0
Source Paths=
Symbol Paths=
Working Directory=
[Open Files]
Active File Display Mode=3
Active File Index=2
Open File Line0=0
Open File Line1=1320
Open File Line2=0
Open File Pos0=0
Open File Pos1=3521
Open File Pos2=0
Open File Window Pos0=0,1,-1,-1,-8,-28,92,92,1173,478
Open File Window Pos1=0,1,-1,-1,-8,-28,115,115,1200,487
Open File Window Pos2=2,3,-1,-1,-8,-28,138,138,1223,510
Open File0=..\..\TSBROWSE\SOURCE\CLASSES\BTNDOWN.PRG
Open File1=..\..\TSBROWSE\SOURCE\FUNCTION\SCROLL.C
Open File2=..\..\TSBROWSE\SOURCE\CLASSES\TSGET.PRG
Open File3=
[uemakeXp]
Compiler=Configs\Xharbour Compiler\Library
Files=2964784540
ReleaseMode=1
[Configs\xHarbour\Library]
Automatic Memvar Declaration=no
Command Line Arguments=test.LIB
Compiler Options=
Excluded Files=Excludes
Generate Preprocessed Output=no
Linker Options=
OutputDirectory_DebugMode=Debug
OutputDirectory_ReleaseMode=Release
Target=test.LIB
User Defines=
User Include Path=
Variables Are Assumed=no
Warning Level=1
Working Directory=.
[Project Information]
Compilable=1
Use Relative Directory=1
Relative to Project File=1
Include Sub Directories=1
Project Tagfile=
Project Wordfile=
Filter=
Using VCS=0
Save Account=0
Create Tagfile=0
CTags Legacy Support=0
Project Start=D8070600010009000A003500000000002E
Working Time=1778
[Project ID]
Signature=UE Proj: v.1
[Configs\Xharbour Compiler\Library]
Automatic Memvar Declaration=no
Command Line Arguments=TSBROWSE.LIB
Compiler Options=
Excluded Files=Excludes
Generate Preprocessed Output=no
OutputDirectory_DebugMode=Debug
OutputDirectory_ReleaseMode=Release
Target=TSBROWSE.LIB
User Defines=
User Include Path=c:\fwh\include;c:\tsbrowse\include
Variables Are Assumed=no
Warning Level=1
Working Directory=.


Re: UESTUDIO

PostPosted: Tue Feb 10, 2009 2:23 am
by mmercado
Thank you very much Richard.

Is it all what I need to create a lib or a config file is also needed?

Best regards.

Manuel Mercado

Re: UESTUDIO

PostPosted: Tue Feb 10, 2009 6:55 am
by Richard Chidiak
Manuel

You need a config file

here it is for xharbour

Hth

Richard

Code: Select all  Expand view
# --------- Harbour y FWH configuration --------
# --- general --------------------------------------
# $P  - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile --------------------------------------
# $I  - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for compiler
# --- build ----------------------------------------
# $T  - target full name
# $Tp - target path
# $Tn - target name
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for linker

[Settings]
Target =
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =

Category&02 = Harbour Options
Automatic Memvar Declaration = no|yes
Variables Are Assumed = no|yes
Generate Preprocessed Output = no|yes
Warning Level = 1|2|3|4|0
User Include Path =
User Defines =

Compiler Options =

Excluded Files = Excludes

[SettingsInfo]
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
Compiler Options = Provides a space for you to specify an additional compiler options.
User Defines = Shows the switches the tool will use to build. Use ';' as delimiter.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.

[SettingsReps]
User Defines = @[;|-D%s]
Automatic Memvar Declaration = no=|yes=/a
Variables Are Assumed = no=|yes=/v
Generate Preprocessed Output = no=|yes=/p
User Include Path = ^^@[;|;%s]
User Include Path&1 = ^^@[;| /i%s]
Use Multi Thread Library = no|yes
Warning Level = @/w%s

[Variables]
FWH = c:\Fwh
HPATH = c:\xharbour
CPATH = c:\bcc55
HOPT = /n /gc0 /q $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)
COPT = -O2 -M -c -v -I$(HPATH)\INCLUDE -I$(CPATH)\INCLUDE -I$(FWH)\INCLUDE

[Environment]
PATH = $(HPATH)\BIN;$(CPATH)\BIN;%PATH%
INCLUDE = $(HPATH)\INCLUDE;$(CPATH)\INCLUDE;$(FWH)\INCLUDE
LIB = $(HPATH)\LIB;$(CPATH)\LIB
BuildMode = %UESMode%

[General]
TargetExt = .LIB
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 1
UseDosNames = 1
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)
.CPP = .C

[MakeCommands]
run = Show Makefile
makef = Show Makefile

[Show Makefile]
Title=Show makefile
Cmd0=uestudio makefile
ShowWindow=1
DisplayConsole=0

[InsertFiles]

[FileGroups]
FGO = .obj;

[GroupFormats]
FGO = %s

[Build]
Out = $T
Depends = $FGO
DebugFlag =
ReleaseFlag =

[.PRG]
Out = $In.c
DebugFlag = /b
ReleaseFlag = /l
Cmd0 = harbour $I $(HOPT) $R /o$O

CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[.C]
Out = $In.obj
Cmd0 = bcc32 $(COPT) -o$O $I
Cmd1 = $(CPATH)\bin\tlib $T -+ $O

CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.


Re: UESTUDIO

PostPosted: Tue Feb 10, 2009 10:58 am
by mmercado
Many thanks Richard:
Muchas gracias Richard:

It worked perfectly, here you are the SBrowsex.prj for TSBrowse V.8.0 version
Aqui tienen SBrowsex.prj para la versión TSBrowse V.8.0
Code: Select all  Expand view
[Files]
0=c:\TSBROWSE\SOURCE\CLASSES\TSBROWSE.prg
1=c:\TSBROWSE\SOURCE\CLASSES\TSMULTI.prg
2=c:\TSBROWSE\SOURCE\CLASSES\BTNDOWN.prg
3=c:\TSBROWSE\SOURCE\CLASSES\TSBTNGET.prg
4=c:\TSBROWSE\SOURCE\CLASSES\TSCOLUMN.prg
5=c:\TSBROWSE\SOURCE\CLASSES\TSCOMBO.prg
6=c:\TSBROWSE\SOURCE\CLASSES\TSPOINT.prg
7=c:\TSBROWSE\SOURCE\FUNCTION\GETBTN.C
8=c:\TSBROWSE\SOURCE\FUNCTION\TSBFUNCS.C
9=c:\TSBROWSE\SOURCE\CLASSES\LANG\SBMSGSPA.PRG
10=c:\TSBROWSE\SOURCE\CLASSES\TSFGET.PRG
11=c:\TSBROWSE\SOURCE\CLASSES\TSGET.PRG
[Debug Settings]
Program Arguments=
Selected Debugger=0
Source Paths=
Symbol Paths=
Working Directory=
[Open Files]
Active File Display Mode=3
Active File Index=2
Open File Line0=0
Open File Line1=1320
Open File Line2=0
Open File Pos0=0
Open File Pos1=3521
Open File Pos2=0
Open File Window Pos0=0,1,-1,-1,-8,-28,92,92,1173,478
Open File Window Pos1=0,1,-1,-1,-8,-28,115,115,1200,487
Open File Window Pos2=2,3,-1,-1,-8,-28,138,138,1223,510
Open File0=
Open File2=
Open File3=
[uemakeXp]
Compiler=Configs\xHarbour\Library
Files=1489667392
ReleaseMode=1
[Configs\xHarbour\Library]
Automatic Memvar Declaration=no
Command Line Arguments=test.LIB
Compiler Options=
Excluded Files=Excludes
Generate Preprocessed Output=no
Linker Options=
OutputDirectory_DebugMode=Debug
OutputDirectory_ReleaseMode=Release
Target=C:\TSBROWSE\LIB\SBROWSEX.LIB
User Defines=
User Include Path=
Variables Are Assumed=no
Warning Level=1
Working Directory=.
[Project Information]
Compilable=1
Use Relative Directory=1
Relative to Project File=1
Include Sub Directories=1
Project Tagfile=
Project Wordfile=
Filter=
Using VCS=0
Save Account=0
Create Tagfile=0
CTags Legacy Support=0
Project Start=D8070600010009000A003500000000002E
Working Time=1778
[Project ID]
Signature=UE Proj: v.1
[Configs\Xharbour Compiler\Library]
Automatic Memvar Declaration=no
Command Line Arguments=TSBROWSE.LIB
Compiler Options=
Excluded Files=Excludes
Generate Preprocessed Output=no
OutputDirectory_DebugMode=Debug
OutputDirectory_ReleaseMode=Release
Target=TSBROWSE.LIB
User Defines=
User Include Path=c:\fwh\include;c:\tsbrowse\include
Variables Are Assumed=no
Warning Level=1
Working Directory=.

[Configs\xHarbour\Library.mak]
OutputDirectory_ReleaseMode=Release
OutputDirectory_DebugMode=Debug
Target=SBROWSEX.LIB
Working Directory=.
Command Line Arguments=SBROWSEX.LIB
Automatic Memvar Declaration=no
Variables Are Assumed=no
Generate Preprocessed Output=no
Warning Level=1
User Include Path=
User Defines=
Compiler Options=
Excluded Files=Excludes
[Configs\xHarbour\MGAPP]
OutputDirectory_ReleaseMode=Release
OutputDirectory_DebugMode=Debug
Target=SBROWSEX.EXE
Working Directory=c:\mg
Command Line Arguments=SBROWSEX.EXE
Automatic Memvar Declaration=no
Variables Are Assumed=no
Generate Preprocessed Output=no
Warning Level=1
User Include Path=
User Defines=
Compiler Options=
Linker Options=
Excluded Files=Excludes
[Group]

The Library config file remains exactly as your post.
El archivo de configuración Library permanece exactamente como lo muestras.

Thanks again.
Gracias nuevamente.

Manuel Mercado

Re: UESTUDIO

PostPosted: Thu Apr 16, 2009 9:45 am
by dutch
Dear Manuel Mercado,

I try to compile TSBROWSE 8 with UEStudio and I has shown following warning message but it still produce the SBROWSEX.LIB in Release folder.
Code: Select all  Expand view

--------------------Configuration: SBrowsex - Release--------------------
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
d:\TSBROWSE\SOURCE\FUNCTION\GETBTN.C:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'GETBTN' not found in library[/b]
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
d:\TSBROWSE\SOURCE\FUNCTION\TSBFUNCS.C:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSBFUNCS' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TSBROWSE.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSBROWSE' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TSMULTI.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSMULTI' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
BTNDOWN.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'BTNDOWN' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TSBTNGET.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSBTNGET' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TSCOLUMN.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSCOLUMN' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TSCOMBO.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSCOMBO' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TSPOINT.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSPOINT' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
SBMSGSPA.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'SBMSGSPA' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TSFGET.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSFGET' not found in library[/b]
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TSGET.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
[b]Warning: 'TSGET' not found in library[/b]
SBrowsex.LIB - 0 error(s), 12 warning(s)
 


Then when I used with the existing code and use with TSBrowse 6.1. It shows following error.
Code: Select all  Expand view

--------------------Configuration: FO5 - Release--------------------
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_ROWFROMPIX' referenced from D:\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_COUNTROWS' referenced from D:\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_TSBRWSCROLL' referenced from D:\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_SBGETHEIGHT' referenced from D:\FWH\LIB\SBROWSEX.LIB|TSCOLUMN
Error: Unresolved external '_HB_FUN_SBMPHEIGHT' referenced from D:\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_TSDRAWCELL' referenced from D:\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_OLEUNINITIALIZE' referenced from D:\FWH\LIB\SBROWSEX.LIB|TSBROWSE
EZ4FO5.EXE - 7 error(s), 0 warning(s)
 

Sorry to disturb you.

Regards,
Dutch