<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:46 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-3331] building of the standalone c++ driver from source tarball fails on windows </title>
                <link>https://jira.mongodb.org/browse/SERVER-3331</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Building the core db from the same environment works and so does building just the driver using scons mongoclient&lt;/p&gt;


&lt;p&gt;scons: Reading SConscript files ...&lt;br/&gt;
boost found at &apos;C:/boost&apos;&lt;br/&gt;
Checking for C library boost_thread-mt... (cached) no&lt;br/&gt;
Checking for C library boost_thread... (cached) no&lt;br/&gt;
Checking for C library boost_filesystem-mt... (cached) no&lt;br/&gt;
Checking for C library boost_filesystem... (cached) no&lt;br/&gt;
Checking for C library boost_system-mt... (cached) no&lt;br/&gt;
Checking for C library boost_system... (cached) no&lt;br/&gt;
scons: done reading SConscript files.&lt;br/&gt;
scons: Building targets ...&lt;br/&gt;
cl /Foclient\examples\authTest.obj /c client\examples\authTest.cpp /nologo /TP /&lt;br/&gt;
nologo /D_SCONS /DMONGO_EXPOSE_MACROS /Imongo&lt;br/&gt;
authTest.cpp&lt;br/&gt;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocale(323) : wa&lt;br/&gt;
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S&lt;br/&gt;
pecify /EHsc&lt;br/&gt;
c:\source\mongo-cxx-driver-v1.8\mongo\client\../pch.h(72) : fatal error C1083: C&lt;br/&gt;
annot open include file: &apos;boost/any.hpp&apos;: No such file or directory&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;client\examples\authTest.obj&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;</description>
                <environment>win7 x64 with Visual Studio 2010 python 2.7.2</environment>
        <key id="18688">SERVER-3331</key>
            <summary>building of the standalone c++ driver from source tarball fails on windows </summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="sridhar">Sridhar Nanjundeswaran</reporter>
                        <labels>
                            <label>Windows</label>
                    </labels>
                <created>Fri, 24 Jun 2011 17:58:51 +0000</created>
                <updated>Mon, 19 May 2014 22:08:15 +0000</updated>
                            <resolved>Wed, 11 Sep 2013 20:52:53 +0000</resolved>
                                                                    <component>Build</component>
                    <component>Internal Client</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="422978" author="acm" created="Wed, 11 Sep 2013 20:52:53 +0000"  >&lt;p&gt;For the 2.5/2.6 release cycle we are eliminating the separate C++ driver tarball in favor of building the driver from the full mongodb sources, since this enables several driver build options that the tarball did not offer.&lt;/p&gt;

&lt;p&gt;Please see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9766&quot; title=&quot;Remove C++ driver client tarball and document new procedure to build C++ driver from primary DB sources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9766&quot;&gt;&lt;del&gt;SERVER-9766&lt;/del&gt;&lt;/a&gt; for additional details.&lt;/p&gt;

&lt;p&gt;Since we have removed the client tarball, this ticket is obsoleted, so I&apos;m closing it as won&apos;t fix.&lt;/p&gt;</comment>
                            <comment id="377482" author="acm" created="Tue, 9 Jul 2013 21:28:33 +0000"  >&lt;p&gt;Here are some (somewhat dated) notes on building the driver on Windows: &lt;a href=&quot;http://grokbase.com/t/gg/mongodb-user/128tmfjfdj/how-i-installed-the-windows-7-64x-c-driver-mongodb-to-work-with-visual-studio-2010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://grokbase.com/t/gg/mongodb-user/128tmfjfdj/how-i-installed-the-windows-7-64x-c-driver-mongodb-to-work-with-visual-studio-2010&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120534" author="ian@10gen.com" created="Thu, 17 May 2012 15:10:54 +0000"  >&lt;p&gt;lots of improvements made; still more work to do.&lt;/p&gt;</comment>
                            <comment id="109593" author="auto" created="Fri, 13 Apr 2012 15:18:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3331&quot; title=&quot;building of the standalone c++ driver from source tarball fails on windows &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3331&quot;&gt;&lt;del&gt;SERVER-3331&lt;/del&gt;&lt;/a&gt;: Fix log.cpp on Windows to compile when LPTSTR is a char &lt;b&gt;, not a wchar&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;When building the C++ driver, log.cpp is compiled with LPTSTR === LPCSTR, not LPWSTR.&lt;br/&gt;
This uses the W-form of the Windows system calls as appropriate.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/458ef44a0812dc5bbe893642ed3f50d92f274751&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/458ef44a0812dc5bbe893642ed3f50d92f274751&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="109392" author="auto" created="Fri, 13 Apr 2012 02:26:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3331&quot; title=&quot;building of the standalone c++ driver from source tarball fails on windows &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3331&quot;&gt;&lt;del&gt;SERVER-3331&lt;/del&gt;&lt;/a&gt;: On Windows, build the client driver, even if you cannot find the boost libraries.&lt;/p&gt;

&lt;p&gt;Boost headers provide information that MSVC can use to find the correct version of boost libraries,&lt;br/&gt;
so it does not matter if SCons cannot find the libraries.  Build anyways.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c6bc7907749ac7dc849607addd144647cd4dca89&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c6bc7907749ac7dc849607addd144647cd4dca89&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="105933" author="auto" created="Tue, 3 Apr 2012 03:44:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3331&quot; title=&quot;building of the standalone c++ driver from source tarball fails on windows &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3331&quot;&gt;&lt;del&gt;SERVER-3331&lt;/del&gt;&lt;/a&gt;: Changes to the client SConstruct to improve windows building.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b099fd4ba8c01742ae367979531e6774f0ff19c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b099fd4ba8c01742ae367979531e6774f0ff19c7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="65673" author="bszente" created="Wed, 9 Nov 2011 16:37:11 +0000"  >&lt;p&gt;Indeed, the standalone C++ client cannot be built on Windows. The SConstruct file lacks the Windows related parts. You should use the full source tarball, and compile only the mongoclient target. You must link your application dynamically with boost, for details check issue &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-90&quot; title=&quot;Crash due to static initialization order fiasco in BSON implementation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-90&quot;&gt;&lt;del&gt;SERVER-4234&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Alternatively if you want a shared client, you must apply the patch from issue &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3364&quot; title=&quot;The C++ Driver compiled as shared library must export the API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3364&quot;&gt;&lt;del&gt;SERVER-3364&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="58831" author="spencer" created="Thu, 6 Oct 2011 17:56:20 +0000"  >&lt;p&gt;I suspect that this has never actually worked.  Comparing the SConstruct in the main mongo source to the SConstruct in the stand-only c++ driver source, the mongo SConstruct has a ton of logic for locating the boost libraries in windows (as well as doing a bunch of other windows-specific stuff), none of which exists in the client SConstruct.&lt;/p&gt;</comment>
                            <comment id="39134" author="eliot" created="Fri, 24 Jun 2011 20:12:44 +0000"  >&lt;p&gt;scons file is in distsrc/client/&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="76343">SERVER-9766</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 24 Jun 2011 20:12:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 23 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 23 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>bszente</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
            <customfieldvalue>sridhar</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrowxz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrgjtr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10165</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnv27:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>