________________________________________________________________________Plugins:
Plugins sind kompilierte Zusatzprogramme (Lademodule). Alle Plugins werden in einer Liste rechts oben unter dem Help-Menü angezeigt und können aus dieser Liste gestartet werden. Die Lademodule liegen im Verzeichnis {baseDir}/binMS32 (Microsoft) oder {baseDir}/binLinux32 (Linux). Installation Entwicklungspaket Linux Installation Entwicklungspaket MS-Windows Entwicklungs - Dokumentation Erstellung neuer Plugins ________________________________________________________________________Installation Entwicklungspaket Linux:
Paketname ist gCAD3D-devel-1.28.tar.gz. Erfolderliche Softwarepakete sind: gcc-4.. - Compiler libgtk+2.0_0-devel-.. - für Gtk-Funktionen libgtkglarea2.0-devel-.. - für OpenGL-Funktionen Move package to basedirectory for installation: You have to copy it into the gCAD3D basic installation directory; the basedirectory 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 ________________________________________________________________________Installation Entwicklungspaket MS-Windows:
Paketname ist gCAD3D-devel-1.26.zip. Erforderliche Softwarepakete sind: ein Compiler; zB VisualStudio-Express. The package contains - - all necessary Gtk+ includefiles and libs, - GTK-Toolbox with examples (sources and makefiles) - some gCAD3D-demo-plugins (sources and makefiles) - all gCAD3D includefiles You have to copy it into the gCAD3D basic installation directory; the basedirectory is normally "C:\Programme\gCAD3D" or "C:\program files\gCAD3D" Unpack the zipfile. You will need a commandshell with the correct compiler-environment For VC8 you can use the Visual-Studio-Commandwindow or cmd.exe plus: "C:\Programme\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat" For VC9 (VisualStudio 2008) you can use: "C:\Programme\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 Test it with "cl /?". Testlink of a testprogramm or add-on-library: open Commandshell (CMD.EXE) cd C:\Programme\gCAD3D\gtk nmake -f tst_gtk0.nmak Runtime-link: start gCAD3D from Commandshell (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 textwindow for errors) ________________________________________________________________________Entwicklungs - Dokumentation:
Linux: Anzeigen aus einer Commandshell mit: firefox ~/gCAD3D/devdoc/index.htm MS-Windows: Anzeigen aus einer Commandshell mit: cd C:\Programme\gCAD3D\xa hh ..\devdoc\index.htm ________________________________________________________________________Erstellung neuer Plugins:
Es muss der erforderliche Compiler installiert sein. Es sind ein Quellprogramm ({progname}.c) und ein Linkjob ({progname}.mak) erforderlich (MS-Win: {progname}.nmak). Beispiele: {baseDir}/Demo*.c, Demo*.mak (MS: Demo*.nmak). Mit "Options/compile_DLLs" ein wird ein Plugin zur Laufzeit entladen, neu compilert, neu gelinkt und wieder geladen. Dokumentation zum Erstellen eines Plugin: pag_pd1.htm oder devdoc/pag_pd1.htm im Entwicklungspaket. ________________________________________________________________________ Senden Sie Fehlerberichte, Verbesserungsvorschläge an support@gcad3d.org