Boost C++ Libraries: Ticket #3300: GraphML reader does not build on Windows with VC without modifying Jamfile https://svn.boost.org/trac10/ticket/3300 <p> To enable GraphML support requires Expat, with EXPAT_INCLUDE &amp; EXPAT_LIBPATH set during building. However, even when that is the case, building does not complete cleanly because at present the Jamfile does not list the right name for the expat library for (at least) Windows+VC. </p> <p> Currently, </p> <blockquote> <p> &lt;find-shared-library&gt;expat </p> </blockquote> <p> whereas the library on Windows with VC is variation of libexpat(w/MT). </p> <p> I believe it is also required to add &lt;define&gt;XML_STATIC before it would build cleanly. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3300 Trac 1.4.3 Vladimir Prus Fri, 27 Nov 2009 06:31:14 GMT <link>https://svn.boost.org/trac10/ticket/3300#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3300#comment:1</guid> <description> <p> I have looked at official expat package for Windows. It appears to contain these: </p> <ul><li>Dynamic ascii build -- libexpat.{lib,dll} </li><li>Static ascii build -- libexpatMT.lib </li><li>Dynamic unicode build -- libexpatw.{lib,dll} </li><li>Static unicode build -- libexpatwMT.lib </li></ul><p> Now, I believe graph needs ascii version. Shall we use static or dynamic build by default? Static seems a little bit safer. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Fri, 27 Nov 2009 17:22:26 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3300#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3300#comment:2</guid> <description> <p> Looking at the configuration for Unix, it appears that the dynamic library is used there. I do not know about ASCII vs. Unicode; which library versions do Boost libraries use by default? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Fri, 27 Nov 2009 19:18:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3300#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3300#comment:3</guid> <description> <p> The question is what is best for Windows users. On Linux, shared expat is likely in /usr/lib so is painless. On Windows, one might need to add directories to PATH, or something. So, I am leaning towards static. </p> <p> As for Unicode - unless Boost.Graph wishes to pass wchar_t to expat, we should use ascii version. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Fri, 27 Nov 2009 19:21:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3300#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3300#comment:4</guid> <description> <p> OK. We can use the ASCII version; is a shared library ever required on Windows (for threads or such)? Otherwise, I am fine with just using the static library. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Sun, 29 Nov 2009 20:35:26 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3300#comment:5 https://svn.boost.org/trac10/ticket/3300#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/58035" title="Rewrote GraphML parser to use Boost.PropertyTree; fixes #3300">[58035]</a>) Rewrote GraphML parser to use Boost.<a class="missing wiki">PropertyTree</a>; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3300" title="#3300: Bugs: GraphML reader does not build on Windows with VC without modifying Jamfile (closed: fixed)">#3300</a> </p> Ticket