<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:16:19 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>[CDRIVER-2781] Windows install doesn&apos;t work as documented?</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2781</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;When trying to following Windows Visual Studio build instructions (on &lt;a href=&quot;http://mongoc.org/libmongoc/current/installing.html)&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongoc.org/libmongoc/current/installing.html)&lt;/a&gt;&#160;after download the 1.12.0 kit, I get:&lt;/p&gt;

&lt;p&gt;f:\Downloads\temp\mongo-c-driver-1.12.0\cmake-build&amp;gt;cmake -G &quot;Visual Studio 14 2015 Win64&quot; &quot;-DCMAKE_INSTALL_PREFIX=f:\mongo-c-driver&quot; &quot;-DCMAKE_BUILD_TYPE=Release&quot;&lt;br/&gt;
CMake Error: The source directory &quot;F:/Downloads/temp/mongo-c-driver-1.12.0/cmake-build&quot; does not appear to contain CMakeLists.txt.&lt;br/&gt;
Specify --help for usage, or press the help button on the CMake GUI.&lt;/p&gt;

&lt;p&gt;And also the following fails:&lt;/p&gt;

&lt;p&gt;f:\Downloads\temp\mongo-c-driver-1.12.0\cmake-build&amp;gt;cmake -LH&lt;br/&gt;
CMake Error: The source directory &quot;F:/Downloads/temp/mongo-c-driver-1.12.0/cmake-build&quot; does not appear to contain CMakeLists.txt.&lt;br/&gt;
Specify --help for usage, or press the help button on the CMake GUI.&lt;br/&gt;
&amp;#8211; Cache values&lt;/p&gt;

&lt;p&gt;If I copy the ..\CMakeLists.txt into this directory, I get a bit further:&lt;/p&gt;

&lt;p&gt;f:\Downloads\temp\mongo-c-driver-1.12.0\cmake-build&amp;gt;cmake -G &quot;Visual Studio 14 2015 Win64&quot; &quot;-DCMAKE_INSTALL_PREFIX=f:\mongo-c-driver&quot; &quot;-DCMAKE_BUILD_TYPE=Release&quot;&lt;br/&gt;
&amp;#8211; Selecting Windows SDK version to target Windows 10.0.16299.&lt;br/&gt;
&amp;#8211; The C compiler identification is ;MSVC 19.0.24215.1&lt;br/&gt;
&amp;#8211; Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe&lt;br/&gt;
&amp;#8211; Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe &amp;#8211; works&lt;br/&gt;
&amp;#8211; Detecting C compiler ABI info&lt;br/&gt;
&amp;#8211; Detecting C compiler ABI info - done&lt;br/&gt;
&amp;#8211; Detecting C compile features&lt;br/&gt;
&amp;#8211; Detecting C compile features - done&lt;br/&gt;
CMake Error at CMakeLists.txt:65 (include):&lt;br/&gt;
 include could not find load file:&lt;/p&gt;

&lt;p&gt;LoadVersion&lt;/p&gt;


&lt;p&gt;CMake Error at CMakeLists.txt:66 (LoadVersion):&lt;br/&gt;
 Unknown CMake command &quot;LoadVersion&quot;.&lt;/p&gt;


&lt;p&gt;&amp;#8211; Configuring incomplete, errors occurred!&lt;br/&gt;
See also &quot;F:/Downloads/temp/mongo-c-driver-1.12.0/cmake-build/CMakeFiles/CMakeOutput.log&quot;.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I am successful if I don&apos;t &quot;cd cmake-build&quot;.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I am using&#160;cmake-3.12.0-win64-x64.msi.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thus, I think the steps:&lt;/p&gt;

&lt;p&gt;cd mongo-c-driver-1.12.0&lt;br/&gt;
mkdir cmake-build&lt;br/&gt;
cd cmake-build&lt;br/&gt;
cmake -G &quot;Visual Studio 14 2015 Win64&quot; \&lt;br/&gt;
 &quot;-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver&quot; \&lt;br/&gt;
 &quot;-DCMAKE_PREFIX_PATH=C:\mongo-c-driver&quot; \&lt;br/&gt;
 ..&lt;/p&gt;

&lt;p&gt;Are incorrect or are missing something.&lt;/p&gt;

&lt;p&gt;Instead it should be:&lt;/p&gt;

&lt;p&gt;cd mongo-c-driver-1.12.0&lt;br/&gt;
cmake -G &quot;Visual Studio 14 2015 Win64&quot; \&lt;br/&gt;
 &quot;-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver&quot; \&lt;br/&gt;
 &quot;-DCMAKE_PREFIX_PATH=C:\mongo-c-driver&quot; \&lt;br/&gt;
 ..&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Windows 10</environment>
        <key id="580752">CDRIVER-2781</key>
            <summary>Windows install doesn&apos;t work as documented?</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="13202">Works as Designed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="bevolz">Bernie Volz</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Aug 2018 12:59:05 +0000</created>
                <updated>Fri, 27 Oct 2023 13:14:14 +0000</updated>
                            <resolved>Wed, 1 Aug 2018 13:39:27 +0000</resolved>
                                    <version>1.12.0</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1962678" author="kevin.albertson" created="Wed, 1 Aug 2018 13:38:59 +0000"  >&lt;p&gt;No worries, glad it worked out!&lt;/p&gt;</comment>
                            <comment id="1962668" author="bevolz" created="Wed, 1 Aug 2018 13:33:04 +0000"  >&lt;p&gt;Ah .. thanks .. sorry ... I had thought that was &quot;...&quot; to indicate other options!&lt;/p&gt;

&lt;p&gt;Sorry I missed that. I assume you&apos;d junk the bug. (I did what I needed by just doing it at the top level).&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Bernie&lt;/li&gt;
&lt;/ul&gt;

</comment>
                            <comment id="1962664" author="kevin.albertson" created="Wed, 1 Aug 2018 13:28:24 +0000"  >&lt;p&gt;Hi Bernie,&lt;/p&gt;

&lt;p&gt;The first command you pasted&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;cmake -G &quot;Visual Studio 14 2015 Win64&quot; &quot;-DCMAKE_INSTALL_PREFIX=f:\mongo-c-driver&quot; &quot;-DCMAKE_BUILD_TYPE=Release&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Is missing the trailing &quot;..&quot;. It should be:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;cmake -G &quot;Visual Studio 14 2015 Win64&quot; &quot;-DCMAKE_INSTALL_PREFIX=f:\mongo-c-driver&quot; &quot;-DCMAKE_BUILD_TYPE=Release&quot; ..&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;The cmake command has the syntax: &lt;tt&gt;cmake &lt;span class=&quot;error&quot;&gt;&amp;#91;options&amp;#93;&lt;/span&gt; &amp;lt;path-to-source&amp;gt;&lt;/tt&gt;, so the trailing &quot;..&quot; is for the directory containing the root CMakeLists.txt.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="193130" name="CMakeOutput.log" size="12499" author="bevolz" created="Wed, 1 Aug 2018 12:54: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|htuuon:</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>