1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: ADSupport compilation problem due to GraphicsMagick Malformed UTF-8 character(s) |
From: | "Gofron, Kazimierz" <[email protected]> |
To: | 'Mark Rivers' <[email protected]>, "[email protected]" <[email protected]> |
Date: | Sat, 17 Feb 2018 13:03:09 +0000 |
Hi Mark, The ADSupport compilation error is originating from non compatible UTF-8 characters in cmstypes.c file. That compilation error went away after changing characters to UTF-8 format. For now, I placed a UTF-8 compatible file here: https://github.com/kgofron/synAppsRelease/blob/master/SCRIPTS/ADSupportRepair/cmstypes.c I wonder whether you have another installation of GraphicsMagick on your system. The characters not following UTF-8 format are on following lines of cmstypes.c file. I checked few and they have 24 bit/6byte, instead of 2Byte(UTF-8). They are in comments area, and typically are left-quote/right-quote, ellipses single
character (…), elongated minus, etc. UTF8ó converter https://sites.google.com/site/nathanlexwww/tools/utf8-convert Line 965 1st non-compatible character uses left quote (Hex C293220A, RFC4648:wpMK). -Kaz From: Mark Rivers [mailto:[email protected]]
Ø
There is a compilation error when compiling ADSupport of areaDetector 3.2 with base-7. This error is related to GraphicsMagic. I cannot reproduce that problem. I have rebuilt ADSupport several times and the strings “Malformed” or “UTF-8” do not occur in the output. I used “make –sj8”. I am
using the master branch of ADSupport. I am using the same setup as Kaz: base-7.0.1.1 VisualStudio 2017 make-4.2.1 Windows 7 Pro 64 bit windows-x64-static I do note that by switching to make 4.2.1 I no longer see the hangup when using “make –sj” which I did see with make 4.1. make 4.1 would always hang when building ADSupport/supportApp/hdf5Src
with with make –sj. It did always work with make –sj8. Mark From:
[email protected] [mailto:[email protected]]
On Behalf Of Gofron, Kazimierz Hi, There is a compilation error when compiling ADSupport of areaDetector 3.2 with base-7. This error is related to GraphicsMagic. base-7.0.1.1 VisualStudio 2017 make-4.2.1 Windows 7 Pro 64 bit windows-x64-static ==== When compiling ADSupport, the following error is displayed twice: ---- Appending buf.obj Malformed UTF-8 character (fatal) at c:/epics/base-7.0.1/bin/windows-x64-static/mkmf.pl line 136, <FILE> line 5573. jbig.c … Malformed UTF-8 character (fatal) at c:/epics/base-7.0.1/bin/windows-x64-static/mkmf.pl line 136, <FILE> line 5573. BZIP compiling as library ---- Kazimierz Gofron NSLS-II Controls Group Brookhaven National Laboratory (p) +1 (631) 344 5283 (f) +1 (631) 344 8085 |