<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:04:43 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>[CXX-2047] Error occured while installing mongocxx driver version-3.5.1 in windows 10 thorugh Visual Studio 2019.</title>
                <link>https://jira.mongodb.org/browse/CXX-2047</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;The environment and version details are mentioned below&#160;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Visual Studio&#160; &#160; - 2019&lt;/li&gt;
	&lt;li&gt;MongoDB&#160; &#160; &#160; &#160; &#160;- 4.2.7&#160;&#160;&lt;/li&gt;
	&lt;li&gt;Mongo C&#160; &#160; &#160; &#160; &#160; - 1.18.0&lt;/li&gt;
	&lt;li&gt;Mongo Cxx&#160; &#160; &#160; &#160;- 3.5.1&lt;/li&gt;
	&lt;li&gt;Boost&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; - 1.70.0&lt;/li&gt;
	&lt;li&gt;OS | Windows&#160; &#160;- 10&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I have mongo c and Boost libraries of versions mentioned above. When Installing mongocxx (version mentioned above), it is throwing error &quot;&lt;b&gt;Must be trivially constructable&lt;/b&gt;&quot;. I have also tried with other versions(3.5.0, 3.4.1, 3.1.3) of mongo cxx which are also throwing same error.&lt;/p&gt;

&lt;p&gt;I have followed the instruction mentioned in the links to install mongoc and mongocxx lbraries.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;mongo c -&#160;&lt;a href=&quot;http://mongoc.org/libmongoc/current/installing.html#building-windows&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongoc.org/libmongoc/current/installing.html#building-windows&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;mongo cxx - I have used both the links but same reuslt
	&lt;ul&gt;
		&lt;li&gt;&lt;a href=&quot;http://mongocxx.org/mongocxx-v3/installation/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongocxx.org/mongocxx-v3/installation/&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-19&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CXX-19&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;ins&gt;command used for installing :&lt;/ins&gt;&#160;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;cmake -G &quot;Visual Studio 16 2019&quot; -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_FLAGS=&quot;/Zc:__cplusplus&quot; -DBOOST_ROOT=C:\Boost -DCMAKE_PREFIX_PATH=C:\mongo-c-driver -DCMAKE_INSTALL_PREFIX=C:\mongo-cxx-driver ..&lt;/li&gt;
	&lt;li&gt;msbuild.exe ALL_BUILD.vcxproj&lt;/li&gt;
	&lt;li&gt;msbuild.exe INSTALL.vcxproj&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Building(step 2) ends in errors.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/265712/265712_error.PNG&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>Windows 10, Visual Studio 2019</environment>
        <key id="1378331">CXX-2047</key>
            <summary>Error occured while installing mongocxx driver version-3.5.1 in windows 10 thorugh Visual Studio 2019.</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="palanikumar0073@gmail.com">palani kumar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Jun 2020 13:08:08 +0000</created>
                <updated>Thu, 11 Jun 2020 14:05:30 +0000</updated>
                            <resolved>Thu, 11 Jun 2020 14:05:30 +0000</resolved>
                                    <version>3.1.3</version>
                    <version>3.5.0</version>
                    <version>3.4.2</version>
                    <version>3.5.1</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3205008" author="kevin.albertson" created="Thu, 11 Jun 2020 14:05:17 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=palanikumar0073%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;palanikumar0073@gmail.com&quot;&gt;palanikumar0073@gmail.com&lt;/a&gt;, thank you for the report. This appears to be a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2037&quot; title=&quot;Cannot build on Windows with Visual Studio 2019&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2037&quot;&gt;&lt;del&gt;CXX-2037&lt;/del&gt;&lt;/a&gt;. Please watch that ticket for further updates.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1374483">CXX-2037</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="265712" name="error.PNG" size="25960" author="palanikumar0073@gmail.com" created="Thu, 11 Jun 2020 12:25:20 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxcm9b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>