Re: building graphicsmagick 1.3.38 on Windows
LM <[email protected]> Sun, 17 Apr 2022 17:43:15 -0400
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <CAFipMOHvu5Hr-inAFyBhqRwhi-e_LNxfStOzZFhtD7ZkU49owA@mail.gmail.com> |
--===============7268023121535013501== Content-Type: multipart/alternative; boundary="00000000000091330005dce088f5" --00000000000091330005dce088f5 Content-Type: text/plain; charset="UTF-8" On Sun, Apr 17, 2022 at 5:02 PM Bob Friesenhahn < [email protected]> wrote: > Even linking DLLs under Windows is a torture test since normally they > need all symbols defined in order for the link to succeed. > I cheat when I do that. I leave out the __declspec(dllexport) and the __declspec(dllimport). I use --export-all-symbols and just create the dlls with that. That means none of the functions are hidden, but it wasn't something I've needed for my own purposes. I have scripts that will take a static library I've built on Windows and create the dll from it if needed. > I will investigate this topic. I like to be able to specify the > library allocator to use so that memory limits can be enforced. > I didn't check if I needed both -DIN_LIBXML and -DLIBXML_STATIC but that seemed to solve the problem. I'm assuming the issue was just because I built statically and it sounded like a Windows only issue. I should investigate this further when I have time. I used to have a helpful icon for it. But I do not see the icon any > more. :-( > I just use the batch script I mentioned. You can probably make a shortcut to it for your desktop. If you have control of the SVG sources then you are able to test and > see how well things work. > It's on my list of things to test. Spent the weekend trying to build the latest version of graphicsmagick. Haven't updated in a few years and I'm also on a different computer and compiling statically now, so I needed to update my scripts. > > GraphicsMagick can be extended via the delegates.mgk file so it is > possible to use an external SVG renderer. > Nice. > > The issue with msl.c, svg.c, and url.c should be fixed now by latest > updates. > Thanks. Sincerely, Laura --00000000000091330005dce088f5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Sun, Apr 17, 2022 at 5:02 PM Bob Fries= enhahn <<a href=3D"mailto:[email protected]">bfriesen@simple.= dallas.tx.us</a>> wrote:<br></div><div class=3D"gmail_quote"><blockquote= class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so= lid rgb(204,204,204);padding-left:1ex">Even linking DLLs under Windows is a= torture test since normally they <br> need all symbols defined in order for the link to succeed.<br></blockquote>= <div><br></div><div>I cheat when I do that.=C2=A0 I leave out the=C2=A0__de= clspec(dllexport) and the=C2=A0__declspec(dllimport).=C2=A0 I use --export-= all-symbols and just create the dlls with that.=C2=A0 That means none of th= e functions are hidden, but it wasn't something I've needed for my = own purposes.=C2=A0 I have scripts that will take a static library I've= built on Windows and create the dll from it if needed.</div><div>=C2=A0</d= iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord= er-left:1px solid rgb(204,204,204);padding-left:1ex">I will investigate thi= s topic.=C2=A0 I like to be able to specify the <br> library allocator to use so that memory limits can be enforced.<br></blockq= uote><div><br></div><div>I didn't check if I needed both=C2=A0-DIN_LIBX= ML and=C2=A0-DLIBXML_STATIC but that seemed=C2=A0to solve the=C2=A0problem.= =C2=A0 I'm assuming the issue was just because I built statically and i= t sounded like a Windows only issue.=C2=A0 I should investigate this furthe= r when I have time.</div><div><br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad= ding-left:1ex">I used to have a helpful icon for it.=C2=A0 But I do not see= the icon any <br> more. :-(<br></blockquote><div><br></div><div>I just use the batch script I= mentioned.=C2=A0 You can probably make a shortcut to it for your desktop.<= /div><div><br></div><div><br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">If you have control of the SVG sources then you are able to test= and <br> see how well things work.<br></blockquote><div><br></div><div>It's on m= y list of things to test.=C2=A0 Spent the weekend trying to build the lates= t version of graphicsmagick.=C2=A0 Haven't updated in a few years and I= 'm also on a different computer and compiling statically now, so I need= ed to update my scripts.=C2=A0</div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"> <br> GraphicsMagick can be extended via the delegates.mgk file so it is <br> possible to use an external SVG renderer.<br></blockquote><div><br></div><d= iv>Nice.=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0= px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> The issue with msl.c, svg.c, and url.c should be fixed now by latest <br> updates.<br></blockquote><div><br></div><div>Thanks.=C2=A0</div><div><br></= div><div>Sincerely,</div><div>Laura=C2=A0</div></div></div> --00000000000091330005dce088f5-- --===============7268023121535013501== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7268023121535013501== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Graphicsmagick-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-core --===============7268023121535013501==--