________________________________________________________________________Plugins:
Plugins are compiled additional programs (load-modules). All plugins are displayed in a list at the top right of the Help menu and can be started from this list. The load-modules are in directory {baseDir}/bin (Microsoft) or {baseDir}/binLinux32 (Linux). Installing the Linux development kit Installing the development package for MS-Windows Development - Documentation Creation of new plugins ________________________________________________________________________Installing Linux development kit:
Package name is gCAD3D-devel-1.28.tar.gz. Required software packages: gcc-4 .. - Compiler libgtk+2.0_0-devel-.. - Compiler libgtk +2.0 _0-devel-.. - for Gtk functions libgtkglarea2.0-devel-.. - for OpenGL functions Move package to base directory for installation: You have to copy it into the gCAD3D basic installation directory; the base directory is normally ~ mv gCAD3D-devel-1.28.tar.gz ~/gCAD3D/. cd ~/gCAD3D Uncompress package (makes gCAD3D1.26.tar): gunzip gCAD3D-devel-1.28.tar.gz Inspect content of package: tar tvf gCAD3D-devel-1.28.tar Extract package: tar xvf gCAD3D-devel-1.28.tar ________________________________________________________________________Installing the development package for MS-Windows:
Package name is gCAD3D-devel-1.26.zip. Required software packages: a compiler, such as Visual Studio Express. The package contains - - - all necessary Gtk+ include files and libs, - GTK toolbox with examples (sources and makefiles) - some gCAD3D-demo -plugins (sources and makefiles) - all include files gCAD3D You have to copy it into the gCAD3D basic installation directory, the base directory is normally "C:\Program Files\gCAD3D" or "C:\Program Files\gCAD3D" Unpack the zipfile. You will need a command shell with the correct compiler environment For VC8 you can use the Visual Studio Command Window or cmd.exe plus: "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat" For VC9 (Visual Studio 2008) you can use: "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 test it with "cl /?". Test link of a test program or add-on library: open command shell (CMD.EXE ) cd C:\Program Files\gCAD3D\gtk nmake-f tst_gtk0.nmak Runtime link: start gCAD3D from command shell (CMD.EXE) to see messages activate checkbox Options / compile_DLL 's in gCAD3D, activate a DDL (select "DemoXX" in upper right) the selected DLL will be compiled, linked, started (see text window for errors) ________________________________________________________________________Development - Documentation:
Linux: Display from a command shell: firefox ~/gCAD3D/devdoc/index.htm MS-Windows: Start from a command shell: cd C:\Program Files\gCAD3D\xa hh ..\devdoc\index.htm ________________________________________________________________________Creation of new plug-ins:
The required compiler must be installed. A source program ({progname}.c) and a Link job ({progname}.mak) are required (MS-Win: {progname}.nmak). Examples: {baseDir}/Demo*.c, Demo*.mak (MS: Demo*.nmak). With "Options/compile_DLLs" on, a plugin is unloaded at runtime, recompiled, relinked and reloaded. Documentation: pag_pd1.htm or devdoc/pag_pd1.htm in the development-package. ________________________________________________________________________ Send bug reports, suggestions for improvements to support@gcad3d.org