From 2510a54aac75ff652471d472fe4b8d87b63aa7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sat, 22 Jun 2019 01:27:03 +0200 Subject: [PATCH 1/3] Fix compiler warning about uninitialized variable --- gds-utils/gds-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gds-utils/gds-parser.c b/gds-utils/gds-parser.c index c71dcd6..9913837 100644 --- a/gds-utils/gds-parser.c +++ b/gds-utils/gds-parser.c @@ -574,7 +574,7 @@ static void convert_aref_to_sref(struct gds_cell_array_instance *aref, struct gd struct gds_point origin; struct gds_point row_shift_vector; struct gds_point col_shift_vector; - struct gds_cell_instance *sref_inst; + struct gds_cell_instance *sref_inst = NULL; int col; int row; From 86566a038fd11ccd6011ad2463aa6d04efed30b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Wed, 3 Jul 2019 21:14:17 +0200 Subject: [PATCH 2/3] Update version information in Compilation doxygen site --- doxygen/compilation.dox | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doxygen/compilation.dox b/doxygen/compilation.dox index d73e003..feae75a 100644 --- a/doxygen/compilation.dox +++ b/doxygen/compilation.dox @@ -21,16 +21,16 @@ These dependencies are not needed for running the program; just for compilation. - Build System (GCC + binutils, make, etc...). Most distributions supply a "development" meta-package containing this stuff. - cmake >= 2.8 - - More or less optional: git. Used for extraction of the precise version number. It is strongly recommended to provide git! + - git: git is required for generating the version number during compilation - Optional: doxygen for this nice documentation. The dependency list of GTK3 already includes Cairographics and GLib2. You should be on the safe side with a recent GTK3 version. -Development is done with the following library versions: +Development is done with the following library versions (this is updated regularily): -| Cairographics | GLib2 | GTK3 | -| ------------- | ---------- | ------ | -| 1.16.0-2 | 2.60.0-1 | 3.24.7 | +| Cairographics | GLib2 | GTK3 | +| ------------- | ---------- | -------- | +| 1.16.0-2 | 2.60.4-1 | 3.24.9-1 | @section comp-instr Compilation Instructions @subsection linux-build General Linux Build Instruction @@ -59,7 +59,7 @@ The subfolder 'AUR' contains a PKGBUILD file to build an Archlinux/Pacman packag @subsection Compiler Warnings -The compiler will throw the following warnings. Compiled with GCC 8.2.1. +The compiler will throw the following warnings. Compiled with GCC 9.1.0. | Warning | Assessment | | ------- | ---------- | From 5f40f148b6263942941f617601603f7c5d685c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Wed, 3 Jul 2019 21:33:16 +0200 Subject: [PATCH 3/3] Update doxygen: Windows compilation --- doxygen/compilation.dox | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/doxygen/compilation.dox b/doxygen/compilation.dox index feae75a..56d0d42 100644 --- a/doxygen/compilation.dox +++ b/doxygen/compilation.dox @@ -21,16 +21,16 @@ These dependencies are not needed for running the program; just for compilation. - Build System (GCC + binutils, make, etc...). Most distributions supply a "development" meta-package containing this stuff. - cmake >= 2.8 - - git: git is required for generating the version number during compilation + - More or less optional: git. Used for extraction of the precise version number. It is strongly recommended to provide git! - Optional: doxygen for this nice documentation. The dependency list of GTK3 already includes Cairographics and GLib2. You should be on the safe side with a recent GTK3 version. -Development is done with the following library versions (this is updated regularily): +Development is done with the following library versions: -| Cairographics | GLib2 | GTK3 | -| ------------- | ---------- | -------- | -| 1.16.0-2 | 2.60.4-1 | 3.24.9-1 | +| Cairographics | GLib2 | GTK3 | +| ------------- | ---------- | ------ | +| 1.16.0-2 | 2.60.0-1 | 3.24.7 | @section comp-instr Compilation Instructions @subsection linux-build General Linux Build Instruction @@ -57,11 +57,32 @@ in order to build the program and The subfolder 'AUR' contains a PKGBUILD file to build an Archlinux/Pacman package. -@subsection Compiler Warnings +@subsection comp-warnings Compiler Warnings -The compiler will throw the following warnings. Compiled with GCC 9.1.0. +The compiler will throw the following warnings. Compiled with GCC 8.2.1. | Warning | Assessment | | ------- | ---------- | | warning: ‘calculate_path_miter_points’ defined but not used [-Wunused-function] | Ignore. Function will be used in later versions. | + + +@subsection windows-compilation Compilation for Windows + +@warning Windows is not a target system for this application, considering that this program converts GDS files which are most likely generated under a Linux system. The tips shown in this section are a guidance for anyone trying to build this application for Windows. + +@warning Note that the Windows compatibility may decrease in future releases and a simple compilation like with this version might not be possible anymore. + +The current release of 'gds-render' does not compile under a windows system, due to incompatibilities in the external library renderer. +It is possible to comment out the code that causes the incompatibility. The external renderer will not be usable after this. + +Steps: + + - Go to file external-renderer.c + - Remove `#include` + - comment out all code in #external_renderer_render_cell + +The program should now compile. + +@note In versions currently in development, the cairo renderer will be unusable under Windows due to Issue `#16`. So you might want to stick with this version. + */