Home

borland c++ builder

image

Contents

1. Descriptio InterBase 32 bit Client required to connect to an InterBase server Destination C vArchivos de programa InterBase Co Browse Available 8536084K Required 22535 x jaj C Builder 5 Enterprise Edition Tu Aasdra contara reposant rianan about ou emer uos modd oe te the Meade Hn Dente de bes seca West Corde nih nhos vem the Rede lle Vno Hon Copyright 2000 inprise Corp All Rights Reserved L en M Oscar Guti rrez Luna BORLAND C BUILDER Probando la instalaci n de Borland Builder 5 3 Ejecutar C Builder 5 C Builder 5 Ventana ABOUT rea de trabajo En la acci n del Button1 asignar void fastcall TForm1 Button1Click TObject Sender Edit1 gt Text Esta es la prueba de Borland Builder Form1 gt Caption Edit1 gt Text j Ejecutar F9 L en M Oscar Guti rrez Luna ITK VTK Despu s de dar click en el Button1 debe aparecer algo como t Esta es la prueba de Borland Builder Esta es la prueba de Bo EP Guardar es opcional Un proyecto de este test se encuentra en la carpeta 03 Testing c Builder o como acceso directo 03 TestingC Builder Ink Instalar el compilador Borland 5 5 Debido a situaciones con ITK que se muestran en el texto siguiente B
2. Compilar Proyectos con C Borland Builder y VTK olguna cimat mx en M Oscar Guti rrez Luna ITK VTK CONTENIDO CARACTER STICAS DEL SISTEMA tna rea 4 CARACTERISTICA 4 INSTALAR BUILDER iia 4 MOTIVACI N aaa 4 APLICACIONES OPCIONALES pos sn 6 INSTALAR VISIBROKER OPCIONAL eee eee eee eee eee een teen teeth ette poenae 6 INSTALAR INTERBASE CLIENT OPCIONAL eee eee eee e eee eee eene nte noe 8 PROBANDO LA INSTALACI N DE BORLAND BUILDER 5 3 9 INSTALAR EL COMPILADOR BORLAND 5 5 ssccssssscccccsssccccesscccceescees 10 QUATIT LIEI UU 11 HTTP WWW CMAKE ORG sscccssssccsssccssscccessccccesssccsssccosees 11 ORG nasa 11 VTK HTTP WWW VTK ORG 11 COMPILER ISSUES BORLAND 5 5 eee eese eee eee eee eee eee een aan 11 INSTALAR LTEM ii ii ion 12 qeu D pu aida 12 DESCOMPRIMIR ITK CODE eee eee eee eee ee eee eee eee tenete these eee 12 GENERAR BINARIOS ITK ITK BINARY eee eee eee eee eee eee eee eene noon 12 GENERAR INSTALADORES INSTALL e eee eee eee ee neenon nne 14 COMPILAR taa vaa 14 COMPILAR 14 DESCOMPRIMIR VTK_CODE cccccocccscccscccccceccccccccccsccccccoccccccecccecs 14 GENERAR BINARIOS VTK_BINARY cccccccccocccccccccccsccccccccccecces 14 GENERAR INSTALADORES VTK_INSTALL cccccccsccc
3. Generar Instaladores ITK_Install Value Observa que se utiliza el BUILD DOs BUILD EXAMPLES Build_Type MinSizeRel BUILD SHARED LIBS BUILD TESTIN a CMAKE BACKWARDS COMPATIBILITY 2 4 CMAKE BUILD MinSizeR el IMSTALL PREFIX Ci archivos de programa ITK ITE_USE_ EWSTYLE ITK_Install C Archivos de programa ITK Click Nuevamente en configure Ahora Click en GENERATE Compilar ITK Menu inicio gt Ejecutar Ejecutar a4 Escriba el nombre del programa carpe recurso de Internet que desea que Wil Abrir ema Ejecuta los siguientes comandos o los s miles dependiendo de tu ubicaci n ITK Binary EN CzWIHDOWS system32 cmd exe make install L E x icrosoft Windows Version 5 1 2688 gt Copyright 1985 2001 Microsoft Corp Documents and Settings 0sceBrcd 1 1 5 1 3 16 sIonolkits Binary ITE 3 16 gt make 25 ITEK Binarvy txt Ioolkits Binary ITE 3 16 make install Install txt Es el proceso que m s tarda en realizarse asi que entre comando make y make install tienes tiempo suficiente y hasta de sobra para realizar otras labores Los archivos ITK_Binary txt e ITK Install txt son archivos resumen de la compilaci n debes checar que no contengan errores de compilaci n puedes hacerlo en C Toolkits Binary Compilar VTK Este proceso es similar al anterior para compilar ITK Descomprimir V
4. Data Access Data Controls ADO InterBase Midas InternetExoress Internet FastNet Decision Cube Dialoas Ma al FE AT ED E itkDemo Unit cpp dd gy itkDemo Classes el suavizado con estos parame n String aux if OpenPictureDialogl gt Execute 1 Incluyendo la terminaci n SMT al archivo de salida aux 0penPictureDialogl gt FileName Imagel Picture LoadFromFile aux Iml aux c str 4 aux aux Length 3 S aux aux Length 2 M aux aux Length 1 2 T aux aux Length 4 m b 39 Insert _ m n a eo Papelera de reciclaje a unusual Como Configurar d a C Builder 5 lt mil 11 57 a m Compilar el proyecto y ejecutar F9 Cargar una imagen Archivo gt Abrir Original L M Oscar Guti rrez Luna BORLAND C BUILDER itkDemotst MET gen Original Imagen Suavizada Buscar en Instrucciones E Instaladores _ El 128x128 00 Helpers 4 02 C Builder 53 03 Testing C Builder PA 09 2 Test1 bmp 109 3 Test2 bmp No de lteraciones Tiempo de Paso Conductancia B 0 125 3 i SUAVIZAR Tipo itkDemo1st Archivo Imagen Original Tiempo de Paso 0125 No de lteraciones poem itkbemot1st Archivo Imagen Original Imagen Suavizada Tiempo de Paso Conductancia pus B No de lteraciones SUAVIZA
5. Form FormDestroy TObject Sender 1 Guti rrez Luna AutoS croll 7 1 AutoSize Este metodo fue descartado por utilizar vtk lib static libraries BiDiMode bdLeftT oRight if shrink Borderlcons biSystemMenu 1 BorderStyle bsSizeable shrink Delete Borderw idth Caption WTK_Form Los comentarios en Ingl s Clientwidth 1602 The release of graphics resources is required here in Color DelBtnFace the event that an actor is switched between solid Constraints TSizeConstrair x Jj ed withi EEES son los propios de los ir Create 1 i 1 Al T proyectos de Dean Inglis true TFont FormStyle fsNormal Height 480 HelpContext 0 HelpFile Hae A Il amp Fueron cam bios minimos 2 hidden los realizados por su servidor reciclaje e Reproductor de Windo y ProjectDemo Como Configurar d C Builder 5 lt 12 50 El proyecto de demostraci n es muy simple y ayuda para empezar a trabajar el componente vtkBorlandRenderWindow Compilar el proyecto y ejecutar F9 rr mm PA Deae Colores b sicos EI ZEE E SONS NN NS I E SON Eee eS EE Eee eee EERE Colores personalizados CEE GEGE m NmIENENIENIEIN Definir colores personalizados gt gt Aceptar Cancelar Debes verificar que los directorios include
6. Propiedades del sistema Restaurar sistema Actualizaciones automaticas Remoto _ General Nombre de equipo Opciones avanzadas Debe iniciar la sesi n como un 4dministrador para hacer la mayor a de los cambios Rendimiento Efectos visuales programaci n del procesador uso de memoria y memoria virtual Abrir Perfiles de usuario Explorar Configuraci n del escritorio relacionada con su inicio de sesi n Buscar Administrar Inicio y recuperaci n Inicio de sistema error de sistema e informaci n de depuraci n Conf at Conectar a unidad de red ECT OO Desconectar de unidad de red Mostrar en el escritorio Cambiar nombre Propiedades Variables de entorno Variables de usuario para Osc r Variable Valor TEMP C Documents and Settings Osc r Con TMP C Documents and Settings Osc r Con Nueva Modificar Eliminar y Variables del sistema Variable Valor NUMBER OF P 2 05 Windows_NT Path C Inprise wbroker bin C ARCHIV 11B PATHEXT EXE CMD BS 25 PROCESSOR x86 ball Aceptar Cancelar 17 L Oscar Guti rrez Luna ITK VTK A ADIR cuidado de NO BORRAR nada A adir el directorio VTK_Install bin C Archivos de programa bin o donde quiera que se hayan instalado las librer as VTK dll Click en Aceptar Modificar la
7. Siempre existe la posibilidad de preguntar via Internet en particular existen dos foros y listas de correo Insight Users y VTK Users en las cuales puedes consultar las dudas O bien checar archivos anteriores para ver si ya se hab a comentado la duda que tienes AL FINAL S por experiencia propia que al terminar de seguir este manual van a quedar mas dudas que respuestas solo espero que haya sido posible configurar todo y compilar los demos y que este peque o paso os abra el panorama de las posibilidades de investigaci n y generaci n de aplicaciones Si ya te sientes seguro de las instalaciones de ITK y VTK podr as borrar los directorios ITK_Code ITK_Binary VTK_Code y VTK_Binary dado que los archivos que vas a utilizar para compilar se encuentran todos en ITK_Install y VTK Install Una forma de empezar a trabajar con las librer as ITK y VTK es intentar compilar en BCB los demos que traen y aprender sobre la pr ctica aunque sin duda siempre una buena lectura ayuda la Si es la primera que vez que trabajas con estas herramientas 29 L en Oscar Guti rrez Luna
8. ClientD ataset Redistributables for creating multi tier application programs Installation and use of the ClientD ataset Redistributables for supporting data sharing among two or more computers requires purchase of a MIDAS Deployment License available separately from Inprise please refer to the on line documentation including for contact information Data sharing refers to any use of the ClientDataset Redistributables for supporting the transmission by any means of data from one computer to another for use by ClientD ataset Redistributables installed on another computer Note that lt Back Don t gree Cancel Select Program Folder X Setup will add program icons to the Program Folder listed below You may type a new folder name or select one from the existing Folders list Click Next to continue Program Folders Borland C Builder 5 Existing Folders ESET Antivirus Inicio Internet Juegos Microsoft Multimedia Utilidades lt Back Cancel Grupo del menu Inicio Click Next Le CooRukder 5 C Builder 5 Enterprise Edition High Productivity for the Full featured dynamic min clients for the Wed with Simplity Data Disiributen Data Exchange with XML M Eu ai Micresoft Imersa ptattorm with Active Server Objects Full teatured Windows appfications the isterael 25209 HTTP Program Files Cla vos de programa potencia
9. Si se desea vuelve a ejecutar el test de la carpeta 03 Testing Builder CMAKE ITK Y VTK Estos 3 elementos son independientes del compilador pero necesarios para un proyecto conjunto Es necesario utilizar generar carpetas sin espacios de preferencia sin acentos y lo m s directo que se pueda de un directorio ra z no utilizar guiones medios utilizar guiones bajos En teor a si sigues la ubicaci n de los archivos no habr problemas para compilar los proyectos CMake http www cmake org CMake Version 2 8 1 Abril 2010 http www itk org ITK Version 3 16 Abril 2010 VTK http www vtk org VTK Version 5 4 2 Abril 2010 11 L en Compiler Issues Borland bcc 5 5 http www itk org IT K help compilerissues html No enums in templates One of the most salient features of Borland is the lack of support for enums as numeric arguments for templates Exceptions in division by zero The second feature is the fact that Borland salient throws exceptions when it encounters divisions by zero This is actually a nice feature since it reacts to real problems in the code Limitation for Linking large libraries Borland linker has a low threshold for the size of link The consequence of this fact is that ITK cannot be built for Debug with this compiler because the libraries it can linker will not be able to manage the size of the libraries
10. genes y visualizaci n de datos En este apartado se detallan las caracter sticas del sistema de c mputo en el que se realiz una instalaci n de prueba la cual permiti generar este manual de instalaci n para compilar proyectos Con Borland C Builder ITK y VTK caracter sticas m nimas de instalaci n para cada elemento Para ver refi ranse a las fuentes originales de las librer as ITK VTK Borland C Builder y Compilador Borland C 5 5 Caracter sticas Intel Pentium 9 4 3 0 GHz RAM 1 5 Gb Microsoft Windows XP Pro SP 3 Intel 828656 Graphics Controller INSTALAR C BUILDER En el archivo 02 Instalar Borland C Builder 5 txt se comenta un poco muy poco del porqu compilar en Borland Utiliza tu instalador de Borland C Builder 5 Realiza una instalaci n t pica C Builder Enterprise Suite Setup Launcher Borland Select an item to install C Builder TeamSource a InterBase 5 6 Local InterBase Remote Debugger Server bu JUI TS PAN This program wil install C Builder 5 on your erha the Serial Number and Authorization Key found on cover rere aer elem enis Tunning this Setup prog Ek Tanel e m eme tee d td to continue with the Setup program Serial Number foo 52 Aufhosgalion Key WARNING This program is protected by copyright law and inhemabonal treaties Unauthorined apeoduction or eee portion of i ma
11. Hegister const referenced from C Es necesario buscar la librer a que corresponde por pertenencia de la funci n o por dependencia de otra librer a e incluirla ya sea por medio de la adici n al proyecto C Builder 5 ProjectTest01 File Edit Search View Project Run Component Database Add to Project shift F11 En Remove Fram Project Import Type Library manualmente Demo Gradient cpp Xx 4 Demo Gradient Classes Demo Gradient Uemo_Gradient cpp USEFORM vtkFloatWindowForm USEFORM ProgressFormTProdgre USELIB itksys lib US CR dem I USELIB itkvnl lib USELIB itkvnl algo lib To Toca cm cmo 4 I 1 Ln t 3 03 933 amp 28 L en M Oscar Guti rrez Luna BORLAND C BUILDER Uno de los errores t picos y m s latosos al intentar compilar proyectos conjuntos es Linker Error Fatal Error detected LME1657 Linker Error Fatal Access violation Link terminated Guardar TODO cerrar Builder borrar los archivos tds y obj No siempre funciona esta accion Volver a abrir el proyecto Projects gt Options gt Compiler opcion RELEASE boton y activar Disable inline expansions esto desactiva la capacidad de debuguear asi que es uno de los errores a los que no te quieres enfrentar cuando estas programando un proyecto conjunto MAILING LISTS
12. It is recommended that you build for Release with Debug RelDebInfo when you use this compiler Information ITK Instalar CMake VTK Descarga el instalador y realiza una instalaci n t pica El archivo cmake 2 8 1 win32 x86 exe en la carpeta 05 CMake es el release 2 8 1 de 2009 Ejecutar Instalaci n de CMake 2 8 Bienyenido al Asistente de Instalaci n de CMake 2 8 Este programa instalar CMake 2 8 en su ordenador Se recomienda que cierre todas las dem s aplicaciones antes de iniciar la instalaci n Esto har posible actualizar archivos relacionados con el sistema sin tener que reiniciar su ordenador Presione Siguiente para continuar Instalaci n de CMake 2 8 Install Options Choose options For installing CMake 2 8 install Sy Stern Instalaci n de CMake 2 8 Elegir Carpeta del Men Inicio Elija una Carpeta del Men Inicio para los accesos directos de CMake 2 8 Compilar ITK Descomprimir ITK CODE Instalaci n de CMake 2 8 Acuerdo de licencia Por Favor revise los t rminos de la licencia antes de instalar CMake 2 8 Cross Platform Makefile Generator Copyright 2000 2009 Kitware Inc Insight Software Consortium All rights reserved Redistribution and use in source and binary Forms with or without modification are permitted provided that the Following conditions met Redistributions of source code must retain the above co
13. Remowe Options Files Path Contains vtkBorlandRende C Toolkits wtkBorland Package vtkBorlandRende C 4T oolkits vtkB orland Package E vtkCommon lib C4 Toolkits orland Package vk Filtering lib CANT oolkits vtkB orland Package vik Graphics lib L sTaalkitzsvtkBaorland Package DL Taalkis vtkBarand sPackage E Requires CNT aalkibessvtkBarlandsPack age svtkH endering lib 19 L en Oscar Guti rrez Luna ITK Buscar el directorio y archivo tipo ib VTK_Install lib vtk 5 4 vtksys lib Y tambi n el archivo VTK_Install lib vtk 5 4 vtklO lib o IM Unit file name Buscar vlk 5 4 EX E tkGenericFiltering lib lib vtkpraj4 lib vtkGeovis lib vtkjped lib vtkRendering lib tkGraphics lib vtHlibxmlz lib vtksolite lib vtkHybrid lib vtkmetaio lib p vtksys lib tkI maging lib vtkNebCDr lib lib vtkInfovis lib tkpng lib vtkverdict lib 4 n Nombre vtkl0 lib Tipa Library file lib Cancelar Compilar nuevamente Si observas la siguiente ventana esta listo para instalar Compiling Project Package vtkBarlandHiender indowPkg bpk Done Make Current line Total lines 259 Hints D Warnings Errors Una vez que tienes compilado el paquete solo falta instalarlo para ello dar click en Install tl El siguie
14. bpr Gi Demo_Gradient bpr Dicha acci n abrir Builder C Builder 5 Gradient Built 14 14 secs File Edit Search View Project Run Component Tools Help None v e De Elge Standard Additional wWin32 System Internet Dialoas Samoles AF Bolo ulsagih amp o 8 A Demo_Gradient_code cpp Demo Gradient code cpp Demo Gradient Classe Gradiente Aplicacion Primaria Calcular Gradiente Ventana Auxiliar Posicion Planos Gradiente Que Imagen Deseas Ver Original trackLabel trackYLabel TrackZLabel Y Y yvtk3DWindow gt ShowHint true Informes gt Caption Calcula Gradiente 4 m b Insert Compilar el proyecto y ejecutar F9 24 L en M Oscar Guti rrez Luna DNnIANnNN ff HORIANT 7 DER ILJ U 1 211 1 U Background Compiling Project ADemo_Gradient_code cpp Compiling Current line 46370 Total lines Hints Warring O Errors Una vez que pudo compilar y ejecutar B Gradiente Aplicacion Primaria Calcular Gradiente Ventana Auxiliar Posicion Planos Listo Para Calcular Que Imagen Deseas Ver El uso de esta aplicaci n no es complicada espero tiene como casi toda GUI su barra de menus Calcular Gradiente Seer Plano X Arr
15. bronce di A3 Copyright 2090 Inprise Corp All Rights Reserved Software License Agreement x Please read the following License Agreement Press the PAGE DOWN key to see the rest of the agreement INPRISE VISIBROKER PRODUCTS 4 0 INPRISE NO NONSENSE LICENSE STATEMENT AND LIMITED WARRANTY IMPORTANT READ CAREFULLY The Inprise VisiBroker 4 0 software product is made up of the following products all of which constitute the Software including any software media and accompanying on line or printed documentation VisiBroker 4 0 The Software is licensed not sold by Inprise Corporation Inprise to the individual or organization named in your invoice you Your use of the Software is contingent upon payment of the applicable license fees This license statement and limited warranty constitutes a legal agreement License Agreement between you and Inprise for the Software BY Do you accept all the terms of the preceding License Agreement If you choose No Setup will close To install VisiBroker for Cpp 4 0 you must accept this agreement lt Back Yes No BORLAND C BUILDER Choose Destination Location X Setup will install VisiBroker for Cpp 4 0 in the destination folder listed below To install to this folder click Next to a different folder click Browse and select another NOTE It is REQUIRED that all Inprise VisiBroker products and services
16. files If you want to review or change any settings click Back If you are satisfied with the settings click Next to begin copying files Current Settings TargetDir C lnprise wbroker Name Company Name Inprise License Key Evaluation Using Administrative keyfile OSAGENT_PORT 14000 WBROKER_4DM C inprise wbrokeradm Setup Complete Setup has completed the VisiBroker for Cpp 4 0 installation m NOTE For any changes to Windows NT enviroment variables to take effect you must either go into the Control Panel System dialog and explicitly Apply them or logout and log back in Dm L en M Oscar Guti rrez Luna ITK Instalar InterBase Client Opcional Welcome to the InterBase Client setup program This program will install the InterBase Client for Windows on your computer It is strongly recommended that you exit all Windows programs before running this Setup program WARNING This program is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and violators will be prosecuted to the maximum extent possible under law Cancel Software License Agreement Please read the following License Agreement Press the PAGE DOWN key to see the rest of the agreement INTERBASE MEDIA KIT LICENSE STATEMENT AND LIMITED WARRAN
17. for Office 2000 but only one set of controls can be registered at any time Check the boxes below if you would like to upgrade these to be associated with C Builder 5 Please choose the version of Office Controls that you would like to be registered C Builder Source File Office 2000 C Office 97 Cancel Selecciona el sistema Office correcto Click Next Asocia las extensiones cpp y click Next L en M Oscar Guti rrez Luna ITK Aplicaciones Opcionales VTK La instalaci n de InterBase o Visibroker no son estrictamente necesarias External Installation Options X Setup has determined that there are additional programs needed for all of this product s features to be fully functional You can let this installation run these install programs at the completion of this install or you can run them directly from the CD at a later time Install InterBase Client Select Component Directories Please enter the location where you would like to install the program Browse Program Files 7315159 2147483 Shared Files 6742 2147483 C Archivos de programa Borland Shared and SOL Links 17957 Avail 2147483 C Archivos de programa Borland Shared BDE Database Desktop Req 3831 Avail 2147483 EArchivos de programa Borland D atabase Desktop Observa los directorios donde se instalara cli
18. nea Hinclude vtkcommand h lo que me hace suponer que me falta a adir algunos directorios directivas Para resolver di click en Options y en Directories Conditionals verifique que en Include Path estuviera el directorio VTK_Install include vtk 5 4 y en Library Path estuviera VTK_Install lib vtk 5 4 el 5 4 es debido a la versi n si cambias la versi n de VTK verifica los directorios Project Options C3 Description Compiler Advanced Compiler Version Info Packages Tasm COREA CodeGuard Pascal Linker Advanced Linker Directories Conditionals Directories Include path Archivos de programa TE include svtk 5 4 Library path SBCB Alibsob Mb Archivos de progr Debug source path ssaurce vcl Intermediate output Final output BFI LIB output Conditionals Conditional defines _DEBUG STRICT Aliases Unit alases Default Cancel Help Marco errores de LINKER Por lo que se requiere otras acciones Project CA WPackagevtkB olandRenderindowPkg bpk Done There are errors Current line D Total ines Linker Error Unresolved estemal vtksys SystemToolsManager System ols Ae DJ Macias J Era Linker Error Unresolved extemal vtksys DynamicLoader CloseLibrary HINS TAN Eror 16 Warnings 0 DO Fatal errors 0 Estos errores de LINKER se resuelven a adiendo librer as directamente Esto es Add Package vtkBorlandRenderWindowPke bpk E i m Compile
19. R Nombre 09 3 Test2 bmp Cancelar All bmp ico Imagen Suavizada Conductancia 3 Wi itkDemotst Imagen Original Imagen Suavizada Tiempo de Paso Conductancia No de lteraciones 125 SUAVIZAR En este caso no me marco ning n error a pesar de la actualizaci n de ITK debido a que ITK no a ade a las carpetas ning n indicador de la versi n en caso de tener problemas verificar que los directorios include y lib est n incluidos en las carpetas de b squeda del proyecto Directories Ordered list of Include paths C Archivos de programaXT K include nsightT C Archivos de programa TK include sInsightT oolkit amp lgorithms CA rchivos de programa TK include sInsightT oolkit B asicFilters C Archivos de programa TK include sInsightT oolkit Common CA rchivos de programa TK include sInsightT oolkit expat CA rchivos de programa TK include InsightT oolkithgdem C Archivos de programa T K include InsightT oolkit l C SArchivos de programa T K includeMnsightT oolkitNumerics C S rchivos de programa TK include sInsightT oolkitS bject C Archivos de programas T K include InsightT oolkit Lltilities C SArchivos de programa T K includeMnsightT Utilities wxlhcore C Archivos de programaMT K include nsiahtT aolkit Lltilities vs ch C Archivos de programaM T K include nsightT E eplace Delete eb le Directories Or
20. TK CODE Descomprimir el archivo vtk 5 4 2 zip del directorio 07 VTK en alg n directorio en este caso VTK CODE CA Toolkits CodeWVTK 5 4 2 Generar Binarios VTK VTK Binary Para generar los binarios es necesario ejecutar CMake CMake cmake gui Ink 14 L en M Oscar Guti rrez Luna BORLAND C BUILDER gt CMake 2 8 1 File Tools Options Help Q where is the source cade Browse SOUTE Where to build the binaries hal Browse Build Search Simple View Add Entry Remove Entry Value Recuerda VTK CODE C Toolkits Code VTK_5 4 2 Where is the source cade CGC Toolkits Code VTK_5_4 2 Ahora generaremos VTK Binary C Toolkits Binary VTK_5 4 2 Where to build the binaries C Toolkits Binary VTK_5_4_2 Entonces dar click en Configure Press Configure to update and display new values in red then press Generate to generate selected build Files Configure Generate Current Senerator None Seleccionar Borland MakeFiles y use default native compilers click Finish gt cmake gui Specify the generator for this project Borland Makefiles 9 Use default native compilers Specify native compilers Specify toolchain File For cross compilimg Specify options For cross compiling Empieza a buscar directivas Press Configure to update and display new values in red the Stop Generate Current Generator Borland Makefiles M Checking w
21. TY IMPORTANT READ CAREFULLY This License Statement and Limited Warranty constitutes a legal agreement License Agreement between you either as an individual or a single entity and InterBase Software Corporation InterBase for the software product Software identified y Do you accept all the terms of the preceding License Agreement If you choose No Setup will close To install the product you must accept this agreement The ous Clar b cor patant an canes Tha madres the corean anporant toaraten an ttiu minasa dc Mo do rar matur fie mc E Vend hon meihe PEALME the Setup Complete Setup has finished copying files to your computer Before you can use the program you must restart Windows or your computer No will restart my computer later Click Finish to complete the setup VTK Important installation information The install txt file contains important information on installing the InterBase Client Please take a few moments to read this file before proceeding with the install Installation notes and issues for InterBase 5 6 for Windows NT and Windows 95 98 INSTALLING INTERBASE 5 6 Complete installation instructions are in Chapter 3 of the Operations Guide InterBase Client 384 Online documentation 17000 K Command line tools 383 Graphical tools 1731 Software development support 626 Example programs 211 K x
22. _5 4 2 gt make gt gt UTK_Binarvy txrt SToolkits Binarys UTK_5 4 2 gt make install gt gt UTK_Install txt 1 5 5 4 23 gt Es el proceso que mas tarda realizarse asi que entre comando make make install tienes tiempo de continuar con otras labores Los archivos ITK_Binary txt ITK_Install txt VTK_Binary txt VTK_Install txt son archivos resumen de la compilaci n debes checar que no contengan errores de compilaci n puedes hacerlo en C Toolkits Binary 16 L en M Oscar Guti rrez Luna BORLAND C BUILDER F ly Binary 008 Archivo Edici n Ver Favoritos Herramientas Ayuda T ki j B squeda Se Carpetas HE Direcci n CU ToolkitslBinary Ir crear nueva carpeta 8 Publicar esta carpeta en Web b Compartir esta carpeta ITE Binary txt r ITE 3 16 yp WIK5 42 Documento de texto 371 ITK_Install txt VWTK txt VTE Install txt Documento de texto Documento de texto Documento de texto 315 553 KB 159 KB Para finalizar deber s a adir la carpeta VTK_Install bin al PATH de las variables de entorno de WINDOWS debido a que vamos a utilizar las librer as compartidas SHARED LIBRARIES Esta acci n es necesaria para poder compilar sin tanto problema los proyectos conjuntos VTK Builder ITK Abrir Propiedades de MI PC y en la pesta a Opciones Avanzadas Click en el bot n de Variables de entorno
23. a ventana flotante la imagen activa Plano X Plano Y Plano 2 Dy Magnitud del Gradiente ITK VTK ERRORES mE JJ Si empiezan a surgir problemas d Durante la ejecuci n de los proyectos anteriores se dieron algunos tips Verificar los directorios include y lib G Directories Directories Ordered list of Include paths Ordered list of Library paths ProgressForm ProgressF orm vk Float indowF orm BCB J Projectes Lib BLB ib sabi C ATanlkitzsvtkBorlandsPackaage BCB ib archivos de programa tk a tk 5 archivos de pragrama vtESNIib c archivos de pragrama sitk include ingightT aalkit C SArchivos de pragrama T K lib InsightT aalkit c archivas de programa itk include sinsightT aolkitsCommoen D S rchivos de pragrama T K anclude slnsightT C 4rchivos de programas T F includeslnsightT aalkitLHtilitiez s core C SArchivos de pragrama T K anelude InsightT oolkit B azicF illEers c archivos de pragrama itk include sinzight T aalkitslLl c Narchivos de programak include svtk 5 44 E de pragrama vtkMibtk 5 4 E Add Delete l E Add Delete Help Cancel Help Linker Error Unresolved external operator delete yord unzign Linker Error Unresolved external bject Drelete referenced from Linker Error Unresolved external itk D bpect
24. be installed in the same directory You can choose to not install VisiBroker for Cpp 4 0 by clicking Cancel to exit setup Destination Folder C lnprise wbroker Browse Cancel VisiBroker Installation The setup program will set initial values for the following server parameters OSAGENT_PORT 14000 5000 to 65535 VBROKER_ADM C nprise wbroker adm Select Program Folder Setup will add program icons to the Program Folder listed below You may type new folder name or select one from the existing Folders list Click Next to continue Program Folders Borland WvisiB roker Existing Folders Borland C Builder 5 ESET Antivirus Inicio Multimedia Utilidades lt Back Cancel VisiBroker for 4 0 Select Components X Select the components you want to install clear the components you do not want to install Components VisiBroker for C Documentation Description VisiBroker for Cpp Core orb Includes binaries such as osagent osfind and others Space Required 28608 K Space Available 169604 lt Back Next gt Setup Options X Please select the modifications you would like the setup program to perform v Please update my PATH Start Copying Files Setup has enough information to start copying the program
25. ccscccccccccccccccccecees 16 COMPILAR V ains 16 BORLAND BUILDER VK vsssssssssssssssscssssccesccssssesccescsessscensscessceess 18 L en M Oscar Guti rrez Luna BORLAND C BUILDER INSTALAR PAQUETE VTKBORLANDRENDERWINDOW EN BORLAND 18 DEMO VIBORA ND unica 21 BORLAND BUILDER ITK vsssssosssessssesscserscsescsesssecsssenscsensccenseseseocess 22 BORLAND BUILDER VK ccssssssscsssscssrsccsscessccesscsessccesssesscceees 24 ERRORES M 28 MAINC LIST EUIS 29 29 L en M Oscar Guti rrez Luna ITK VTK CARACTER STICAS DEL SISTEMA MOTIVACI N Este texto es generado con la finalidad de facilitar la configuraci n de las herramientas gue permiten desarrollar aplicaciones de visualizaci n y procesamiento de im genes 3D Dichas herramientas no son nicas fueron las utilizadas para generar MARVIN MARVIN_LS dos aplicaciones generadas en CIMAT AC Borland C Builder BCB Ofrece la capacidad de desarrollo de aplicaciones GUI ToolKit ITK Herramienta de procesamiento de datos Insight multi dimensionales en particular 3D Visualization ToolKit VTK Herramientas de visualizaci n Aunque el manual generado para ser seguido paso a paso se pide al lector conocimientos b sicoslintermedios de programaci n C orientada a objetos de preferencia en BCB as como conocimiento b sico en procesamiento de im
26. ck Next Start Copying Files X Setup has enough information to start copying the program files If you want to review or change any settings click Back If you are satisfied with the settings click Install to begin copying files Current Settings Setup Type Typical Components Selected Program Files Shared Files BDE SQL Links Database Desktop Folder Name Borland C Builder 5 y B lt Back Install gt Cancel Instalar VisiBroker Opcional Welcome Welcome to the VisiBroker for Cpp 4 0 Setup program This program will install VisiBroker for Cpp 4 onyour computer It is strongly recommended that you exit all Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Next to continue with the Setup program WARNING This program is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under law Cancel L Oscar Guti rrez Luna Remote Dataset License Agreement x Please read this important installation information before continuing with the Setup ADDITIONAL LICENSE TERMS FOR DEPLOYING MULTI TIER PROGRAMS This version of the software may include redistributable files identified as
27. dered list of Library paths BCBJHlib CA rchivos de programa TK bin C M4rchivos de programa TKMibSInsightT oolkit Delete Cancel Help Para comprender las caracteristicas de este demo es momento de leer bibliografia de ITK Un elemento muy completo es 06 1 itkSoftwareGuide 2 4 0 pdf 23 L Oscar Guti rrez Luna ITK VTK BORLAND BUILDERS ITK amp VTK En el demo anterior se utilizaron visualizadores de Builder el cual soporta im genes 2 dimensionales la finalidad de este manual es utilizar la visualizaci n 3D que ofrece VTK y el procesamiento que ofrece ITK Dado que este manual surge como parte del proyecto MARVIN LS plugin de segmentaci n por level sets para el sistema de visualizaci n y procesamiento 3D Marvin la siguiente aplicaci n utiliza muchos de los elementos utilizados en generar MARVIN LS aunque la finalidad de este manual es mostrar como configurar los 3jelementos para un proyecto conjunto para despu s ser capaces de generar aplicaciones desde b sicas hasta complejas aqu se ofrece este proyecto un tanto complejo el cu l calcula y muestra las derivadas direccionales de una imagen 3D as como las magnitudes de las diferencias direccionales y la magnitud del gradiente Descomprimir el archivo 10 Gradiente VtkltkBorland zip en alguna carpeta digamos C VToolkits Entrar a la carpeta Itk Gradient Basico ejecutar Demo Gradient
28. e l nea SET vtkRendering LIB DEPENDS general vtk Graphics general vtkImaging general vtk O general vtkfigl general utkfreetype general import32 Se encuentran resaltadas las dependencias aunque prob con todas ellas fue vikIO lib quien elimin error antedicho BORLAND C BUILDER Demo vtkBorland Es un proyecto sencillo como ejemplo se tiene el ejecutable 991 tkDeme exe Utiliza el componente de vtkBorlandRenderWindow Los archivos del proyecto se han creado en Builder 6 por Dean Inglis y probados en BCB 5 por el mismo han sido ligeramente modificados por Oscar Luna para este manual El proyecto Pro ct wise Dr se encuentra en C Toolkits vtkBorland ProjectDemo Suponiendo que estas siguiendo los directorios de extracci n antedichos C Builder 5 Project vtkDemo File Edit Search View Project Run Component Database Tools Help None y a L Hig B e Standard Additional Win32 Sustem Data Access Data Controls ADO InterBase Midas IntemetExpress Intenet FastNet Decision Cube Dialoas me OS Ma OP amp e ao 12 3 ae espanol fueron escritos VTK_Form xi Form_Test cpp Project_vtkDemo Classes Propetties Events Action Shrink NULL comentarios en por su servidor Oscar alNone 4 A akLeft akT op void fastcall
29. hether STL classes are in std namespace yes Checking whether ANSI stream headers are available Checking whether ANSI stream headers are available yes Checking whether ANSI streams are in std namespace Checking whether ANSI streams are in std namespace yes Checking whether ANSI string stream is available Esperar hasta que termine Ahora es cuesti n de configurar 15 L en M Oscar Guti rrez Luna ITK VTK Generar Instaladores VTK Install Observa que se Mame valu utiliza el Build Type BILD EXAMPLES OJO MinSizeRel BUILD SHARED LIBS BUILD TESTING BACKWARDS COMPATIBILITY CMAKE BUILD TYPE CMAKE INSTALL PREFIX DATA LISE GEOVIS LISE IMFOVTIS LUISE M WAY ARRAYS TE USE PARALLEL TE USE RENDERINS i USE VIEWS J VTE WRAP VTE WRAP PYTHON WRAP TCL VTK_Install C Archivos de programa VTK Click Nuevamente en configure Ahora Click en GENERATE Activar Compilar VTK Menu inicio Ejecutar p Escriba el nombre del programa carpe J recurso de Internet que desea que Wii Abrir ema Ejecuta los siguientes comandos o los s miles dependiendo de tu ubicaci n VTK_Binary EN C WINDOWS system32 emd exe EI x icrosoft Windows AP Versi n 5 1 2600 Copyright 19865 26061 Microsoft Corp Documents and Settings Dscbr3cd gt Toolkits Binary UTK_5_4 2 Toolkits Binarys UTK
30. iba Exportar y Salir ibtd Beale oe Izquierda visualizacion 30 Derecha 20 A O fN CIL IV ITK VTK Aplicaci n Primaria Debe su existencia a la posibilidad de ser un plugin Exportar Exporta los datos resultados de regreso a la Aplicaci n Primaria Exportar y Salir Exporta los datos resultados de regreso a la Aplicaci n Primaria y sale de la aplicaci n actual Salir Termina su ejecuci n sin enviar datos a la Aplicaci n Principal Calcular Gradiente Es la actividad primaria de esta aplicaci n y al ejecutarse genera 7 imagen Deseas Ver resultados distintos Bir Original gt Derivadas Parciales TD 1 Derivada parcial por diferencias hac a adelante en la direcci n X p Il L BOSB 2 Derivada parcial por diferencias hac a adelante en la direcci n Y Dy Dy 3 Derivada parcial por diferencias hac a adelante en la direcci n Z 0 ME 8 Magnitud de Gradiente gt Magnitud de las derivadas parciales 4 Magnitud de Dx Dx D 1Dx 5 Magnitud de Dy Dy t 6 Magnitud de Dz Dz Di gt Magnitud del Gradiente 7 Dx Dy Dz es decir es calculado con la norma 1 I 102 Oi0 S gam Posici n Planos Permite posicionar los planos 2D en las regiones indicadas por default se colocan Abajo Aplicacion Primaria Calcular Gradiente Ventana Posicion Planos Posici n Planos gt Izquierda 26 L en M Oscar Guti rrez Luna Abre en un
31. leccionar Borland MakeFiles y use default native compilers click Finish Specify the generator for this project Borland MakefFiles 0 Use default native compilers Specify native compilers Specify toolchain File For cross compiling Specify options For cross compiling Empieza a buscar directivas Press Configure to update and display new values in red then press Generate to generate selected build Files Stop Generate Current Generator Borland Makefiles mem Ms CILIZ CE Il oll CLASSES ACE 4 cues pane Checking whether STL classes are in std namespace yes Checking whether ANSI stream headers are available Checking whether ANSI stream headers are available yes Checking whether ANSI streams are in std namespace Esperar hasta que termine gt CMake 2 8 1 C Toolkits BinaryATK_3_16 File Tools Options Help Where is the source code C Toolkits Code ITK 3 16 Browse Source Ahora es cuestion configurar Search Simple View gp Add Entry Remove Entry hd Browse Build Press Configure to update and display new values in red then press Generate to generate selected build files Configure Generate Current Generator Borland Makefiles not found or mallinfo in malloc or mallinfo in malloc not found Configuring done 13 L en Oscar Guti rrez Luna OJO NO Activar
32. nte mensaje debe aparecer Information O 2 Package c archivos de programa borland cbuilderS Projects BplivtkBorlandRenderWindowPkg bpl has been installed 1 The Following new component s have been registered TvtkBorlandRender window Enseguida cierra y guarda File gt Close All elige Save Debe aparecer el icono del componente en la paleta Samples C Builder 5 vtkBorlandRenderWindowPkg File Edit Search View Project Run Compone E en e Dg ugd D e Midas IntelnetExoress Internet FastNe Win 31 Samples Activex Servers vtkBorlandRenderWindow Ediri n L en M Oscar Guti rrez Luna Si acaso cambiaste de versi n de y continua marcando errores de LINKER puedes buscar dependencias en el archivo C Archivos de programa VT K lib vtk 5 4VTKLibraryDepends cmak e y a partir de las librer as involucradas en los errores y la informaci n contenida en el archivo a adir las librer as correspondientes EJEMPLO Anteriormente uno de los errores que marcaba era el siguiente Linker Error Unresolved external vtkXM LMaterial GetNumber OfVertexShaders referenced from C ARCHIVOS DE PROGRAMA VTK LIB VTK 5 4 VTKRENDERING LIB vtkOpenGLProperty La librer a involucrada se encuentra resaltada Ahora abro el archivo de dependencias busco las dependencias de la libreria vckRendering y observo la siguient
33. orland 5 5 Compiler Issues To build Insight using the free Borland 5 5 compiler Get the Borland compiler from http hwww borland com and install it Run cmakesetup and select the Borland Makefiles in the Build For drop down Set the CMAKE BUILD TYPE to M inSizeRel This is required so that the Borland linker will stay below its size limit which is arounbd 35 meg for a tds file Borland C Compiler 5 5 1 Welcome Borland C Compiler 5 5 With Command Line Tools Version 5 5 1 Register your product at http www borland com bcppbuilderwebred Copyright 2000 Inprise Corp A stall Stel 10 1 M Oscar Guti rrez Luna BORLAND C BUILDER Debemos localizar la ruta del compilador de Borland C Builder A saber C Archivos de programa Borland CBuilder5 dado que se realizo una instalaci n t pica Borland C Compiler 5 5 1 Installation Folder Please enter the folder where the files should be unpacked If the folder does not exist you will be prompted to create it Installation Folder d CBullderb Browse lAstallShreld lt Atr s Cancelar Overwrite Protection The following file is already installed on your system C 4rchivos de programa Borland CBuilder5 Bin bec32 exe Do you wish to overwrite this file vedi Noan PackageForT hew eb The package has been delivered successfully
34. pyright notice this list of conditions and the following disclaimer Moris CTS Sy StenT ye ao Instalaci n de CMake 2 8 Elegir lugar de instalaci n Elija el directorio para instalar CMake 2 8 Sy StenT Instalaci n de CMake 2 8 Completando el Asistente de Instalaci n de CMake 2 8 CMake 2 8 ha sido instalado en su sistema Presione Terminar para cerrar este asistente ancela Descomprimir el archivo InsightToolkit 3 16 0 zip del directorio 06 ITK en alg n directorio en este caso ITK CODE C Toolkits Code lTK_ 3 16 Generar Binarios ITK ITK_Binary Para generar los binarios es necesario ejecutar CMake L en M Oscar Guti rrez Luna CMake cmake gui nk 12 BORLAND C BUILDER gt CMake 2 8 1 Ses File Tools Options Help Where is the source code J Browse SOURCE Ee AA Al Where to build the binaries hal Browse Build Search Simple View da Add Entry Remove Entry Value Recuerda ITK CODE C Toolkits Code ITK_3 16 Where is Ehe source code Browse SOUFCE Ahora generaremos Binary C Toolkits Binary ITK_3_16 Where to build the binari s Browse Build Entonces dar click en Configure Press Configure to update and display new values in red then press Generate to generate selected build Files Configure Generate Current Senerator None Se
35. up For information on new features in this release Click the type of Setup you prefer then click Next A Typicat Recommended for most users Does not include installation of MFC or MS Help files C Compact Program will be installed with minimum required options C Custom You may choose the options you want to install You may use this option to install support for Full This will install the program with ALL options turned on Registry Settings Only Registy Creates only basic IDE registry settings Use to repair an installation or add new user settings NO FILES ARE COPIED lt Back Cancel Podr a aparecer Registry Setting Conflict 9 Setup has found that a system registry setting for Just In Time debugging is set to another application Changing this registration key will xs make Borland your registered application for Just In Time Debugging and enables COM based distributed debugging using Borland s debugger For Borland s COM Distributed debugging to work correctly this setting must be updated For additional information see INSTALL TXT It is currently set to drwtsn32 Do you want to update the configuration Select File Associations X Setup has found that the following file associations already exist You have selected to install Microsoft Office Controls Setup will install controls for Office 97 and
36. variable del sistema mm Nombre de variable Path Valor de variable Bibin C Archivos de programa Tk bin BORLAND C BUILDERY VTK Para generar proyectos con VTK es necesario instalar un paquete Borland Package para visualizaci n Instalar Paquete VTKBorlandRenderWindow en Borland Descomprimir el archivo 08 vtkBorland zip en alguna carpeta digamos C Toolkits Entrar a la carpeta C Toolkits vtkBorland Package vtkBorlandRenderWindowPkg bpk di vtkBorla ndRenderWindowPkg bpk Dicha acci n abrir Builder y ejecutar Package vtkBorlandRendervvindawPkg bpk e d 3 ET Compile Add Remove Install Options Files Path ES vtkBorlandRende CAT oolkitswwtk Borlands Package Ej vikBorlandRende L ToalkitsssvtkBorland sPackage vtkCommon lib C Toolkite vtkB orland Package vtk Filtering lib C Toolkits vtkB orland Package vtkGraphics lib C Toolkits vtkBorland Package ytkAenderng lib C Toolkits4 vtkBorland Package Requires E wcl50 bpi Click en Compile es probable que marque algunos errores ello muestro posibles soluciones a continuacion Compiling Project C Package wtkB orlandR enderwindowPkg bpk Compiling vtkBorlandRenderwindowPkg cpp Current line 122807 lines 122807 Hints D warnings D Errors 0 18 L en M Oscar Guti rrez Luna BORLAND C BUILDER A decir verdad en mis intentos me marc errores Y se coloc el cursor en la l
37. y lib de vtk se encuentren asignados correctamente Errores de LINKER pueden ser resueltos como lo explicado en la nota de la p gina anterior Para comprender las caracter sticas de este Demo en cuanto a movimiento y visualizaci n es momento de leer bibliograf a de VTK 21 L en M Oscar Guti rrez Luna ITK VTK BORLAND BUILDERS amp ITK El primer proyecto que compilaremos con Borland Builder amp es uno de los demos de suavizado que preserva bordes que contiene el archivo 06 1 itkSoftwareGuide 2 4 0 pdf en la p gina 197 User s Guide gt Filtering gt Smoothing Filters gt Edge Preserving Filters gt CurvatureAnisotropicDiffusionlmageFilter Aunque el demo de la gu a de software de itk es para realizarse en modo consola ha sido trasladado a un proyecto Borland Builder con Interfaz Gr fica de Usuario GUI por sus siglas en Ingl s Graphic User Interface Analice las similitudes y diferencias La diferencia principal es que el PIPELINE ejecutado en la funci n main modo consola es ahora la funci n suavizar Interfaz gr fica de usuario ejecutada a trav s del bot n SUAVIZAR Descomprimir el archivo 09 itkBorland zip en alguna carpeta digamos C Toolkits Ejecutar 0 de C Toolkits itkBorland aparecer C Builder 5 itkDemo File Edit Search View Project Run Component Database Tools Help None ww e e El ec B Standard Additional Win32 System
38. y resul in severe civil and carrinal penalties and wal be prosecuted to the mssemum Insertar serial number y Authorization Key con que adquiriste tu instalador de BCB L en M Oscar Guti rrez Luna BORLAND C BUILDER Software License Agreement X Please read the following License Agreement Press the PAGE DOWN key to see the rest of the agreement BORLAND C BUILDER INPRISE NO NONSENSE LICENSE STATEMENT AND LIMITED WARRANTY IMPORTANT READ CAREFULLY This license statement and limited warranty constitutes a legal agreement License Agreement between you either as an individual or a single entity and Inprise Corporation Inprise for the software product Software identified above including any software media and accompanying on line Information X This file contains important supplementary and late breaking information that may not appear in the main product documentation We recommend that you read this file in its entirety Portions of this file contain information that applies only to specific editions of the product Such portions are clearly marked with the name of the edition Enterprise Professional ot printed documentation Standard etc to which the information applies Do you accept all the terms of the preceding License Agreement If you choose No Setup will close To install C Builder 5 you must accept this agreement lt Back Yes No Set

Download Pdf Manuals

image

Related Search

Related Contents

CDA FW223 refrigerator  全ページ  取扱説明書 - レアンドリ|LABORATORIO LEANDRI  Manual  Utilities User Manual  

Copyright © All rights reserved.
Failed to retrieve file