title: How can I build a program using c++ driver of mongodb?
body: <p>Please tell me how to build a program using c++ driver of mongodb.
  No flames about my bad English.</p>
  
  <p>My Environment</p>
  
  <ul>
  <li>Windows7 64bit</li>
  <li>Visual Studio Ultimate 2012  (x64 Release target project)</li>
  </ul>
  
  <p>I performed the following steps.</p>
  
  <ul>
  <li>I installed Ptython 2.7.2, Python for Windows extensions and Scons 2.3.0.</li>
  <li>I installed boost 1.54.0. I perfomed 'boostrap' and 'b2 -a --build-type=complete --address-model=64 --link=static --runtime-link=static'</li>
  <li>I download mongodb-linux-x86_64-v2.4-latest.tgz.</li>
  <li><p>I added the following texts to SConstruct.</p>
  
  <pre><code>env.Append(CPPPATH=['C:\\boost\\boost_1_54_0'])
  env.Append(LIBPATH=['C:\\boost\\boost_1_54_0\\stage\\lib'])
  env.Append(CPPDEFINES=["_UNICODE"])
  env.Append(CPPDEFINES=["UNICODE"])
  </code></pre></li>
  <li><p>I performed 'scons mongoclient'.</p></li>
  <li>I made a project of Visual Studio C++.</li>
  <li>I set 'Release' and 'x64' in the project.</li>
  <li>In Property pages/Configuration Properties/C C++/General/Additional Include Directories, I set 'C:\boost\boost_1_54_0' and 'C:\mongo\mongo-cxx-driver-v2.4\src'.</li>
  <li>In Property pages/Configuration Properties/Linker/General/Additional Library Directories,
  I set 'C:\boost\boost_1_54_0\stage\lib' and 'C:\mongo\mongo-cxx-driver-v2.4'.</li>
  <li>In Property pages/Configuration Properties/Linker/Input/Additional Dependences, I set 'mongoclient.lib','ws2_32.lib' and 'psapi.lib'.</li>
  <li>In Property pages/Configuration Properties/Linker/Input/Ignore Specific Default Libraries, I set 'msvcprt.lib' and 'LIBCMT.lib'.</li>
  <li>In Property pages/Configuration Properties/C C++/Preprosessor/Preprocessor Definitions, I set '_CRT_SECURE_NO_WARNINGS'.</li>
  <li>In Property pages/Configuration Properties/C C++/Code Generation/Runtime Library, I set 'Multi-threaded (/MT)'.</li>
  </ul>
  
  <p>I made a program using the driver. However, the build solution of the program has failed.</p>
  
  <pre><code>1&gt;mongoclient.lib(stringutils.obj) : error LNK2001: unresolved external symbol __security_check_cookie
  1&gt;mongoclient.lib(initializer_dependency_graph.obj) : error LNK2001: unresolved external symbol __security_check_cookie
  1&gt;mongoclient.lib(initializer.obj) : error LNK2001: unresolved external symbol __security_check_cookie
  ....
   fatal error LNK1120: 154 unresolved externals
  </code></pre>
  
  <p>If would help me if you pointed out anything strange about the steps.</p>
  
  <p>Thank you.</p>