<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error in new Project SDK R3 in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371532#M1632</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new with the Intel SDK R3. I have an SR300 camera and I want to prove some code on it. I'm trying to create my own project based on the sample 'CameraViewer.cpp' and it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error that appears is "LINK2001 external symbol PXCSession_CreateFromPath unsolved".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code I put in the new project is this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# include &lt;/P&gt;&lt;P&gt;&lt;I&gt;# include "RealSense/SenseManager.h"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# include "RealSense/SampleReader.h"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# include "util_cmdline.h"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# include "util_render.h"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# include &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;using namespace Intel::RealSense;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;int wmain(int argc, WCHAR* argv[]) { //int main()// int wmain() //int main()// &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;/* Creates an instance of the SenseManager */&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt; SenseManager *pp = SenseManager::CreateInstance();&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt; if (!pp) {&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt;  wprintf_s(L"Unable to create the SenseManager\n");&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt;  return 3;&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt; }&lt;/I&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt; return 0;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;}&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2017 11:21:03 GMT</pubDate>
    <dc:creator>idata</dc:creator>
    <dc:date>2017-02-03T11:21:03Z</dc:date>
    <item>
      <title>Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371532#M1632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new with the Intel SDK R3. I have an SR300 camera and I want to prove some code on it. I'm trying to create my own project based on the sample 'CameraViewer.cpp' and it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error that appears is "LINK2001 external symbol PXCSession_CreateFromPath unsolved".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code I put in the new project is this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# include &lt;/P&gt;&lt;P&gt;&lt;I&gt;# include "RealSense/SenseManager.h"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# include "RealSense/SampleReader.h"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# include "util_cmdline.h"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# include "util_render.h"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# include &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;using namespace Intel::RealSense;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;int wmain(int argc, WCHAR* argv[]) { //int main()// int wmain() //int main()// &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;/* Creates an instance of the SenseManager */&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt; SenseManager *pp = SenseManager::CreateInstance();&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt; if (!pp) {&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt;  wprintf_s(L"Unable to create the SenseManager\n");&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt;  return 3;&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt; }&lt;/I&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt; return 0;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;}&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 11:21:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371532#M1632</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-02-03T11:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371533#M1633</link>
      <description>&lt;P&gt;One of the causes of the LNK2001 compiler error can apparently be when you are asking the program to look for something that does not exist.  I'll do my best to work through possible causes with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first thing I would try is to remove the line # include , as this is apparently a legacy instruction related to old MS-DOS compiler programs and is not needed by modern C compilers and is not part of the C standards.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 11:55:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371533#M1633</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-03T11:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371534#M1634</link>
      <description>&lt;P&gt;Thanks for the answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remove that line and It's still not working... I have another error (that appears before too) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-LNK2001 external symbol PXCSession_CreateFromPath unsolved&lt;/P&gt;&lt;P&gt;-LNK11201 1 external unsolved&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 11:59:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371534#M1634</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-02-03T11:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371535#M1635</link>
      <description>&lt;P&gt;Are you using a C#  compiler?  There is apparently no need for includes in the C#  language - they are used in C and C++ languages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confirmed: CameraViewer.cpp is a C++ program.  There does not seem to be a C#  version of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/sample_camera_viewer_cpp.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/sample_camera_viewer_cpp.html&lt;/A&gt; Sample: CameraViewer [C++] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is fine if you are using a C++ compiler.  If you are trying to use this listing in a C#  compiler though, it would be like trying to run Windows programs on an iPhone.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 12:33:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371535#M1635</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-03T12:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371536#M1636</link>
      <description>&lt;P&gt;I've created a new project based on C++ in Visual Studio, so I think I'm using a right compiler.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 12:40:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371536#M1636</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-02-03T12:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371537#M1637</link>
      <description>&lt;P&gt;Ok, that's good to know.  A couple of people fixed that error just by creating a new project file and copy-and-pasting their listing into the new project file.  So that quick test may be worth trying.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 12:52:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371537#M1637</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-03T12:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371538#M1638</link>
      <description>&lt;P&gt;Sorry, maybe I'm goint to make a fool question but, what do you mean about "their listing"?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 12:55:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371538#M1638</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-02-03T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371539#M1639</link>
      <description>&lt;P&gt;There's no such thing as a silly question.    I mean copying and pasting their program code.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went back to my copy of the old RealSense PDF 'Getting Started' manual from 2014 and found this C++ code listing that creates the SenseManager like you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# include &lt;/P&gt;&lt;P&gt;# include &lt;/P&gt;&lt;P&gt;# include "pxcsensemanager.h"&lt;/P&gt;&lt;P&gt;int wmain(int argc, WCHAR* argv[]) {&lt;/P&gt;&lt;P&gt;// create the PXCSenseManager&lt;/P&gt;&lt;P&gt;PXCSenseManager *psm=0;&lt;/P&gt;&lt;P&gt;psm = PXCSenseManager::CreateInstance();&lt;/P&gt;&lt;P&gt;if (!psm) {&lt;/P&gt;&lt;P&gt; wprintf_s(L"Unable to create the PXCSenseManager\n");&lt;/P&gt;&lt;P&gt; return 1;&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;// Retrieve the underlying session created by the PXCSenseManager.&lt;/P&gt;&lt;P&gt;// The returned instance is an PXCSenseManager internally managed object.&lt;/P&gt;&lt;P&gt;// Note: Do not release the session!&lt;/P&gt;&lt;P&gt;PXCSession *session;&lt;/P&gt;&lt;P&gt;session = psm-&amp;gt;QuerySession();&lt;/P&gt;&lt;P&gt;if (session == NULL) {&lt;/P&gt;&lt;P&gt; wprintf_s(L"Session not created by PXCSenseManager\n");&lt;/P&gt;&lt;P&gt; return 2;&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;// query the session version&lt;/P&gt;&lt;P&gt;PXCSession::ImplVersion ver;&lt;/P&gt;&lt;P&gt;ver = session-&amp;gt;QueryVersion();&lt;/P&gt;&lt;P&gt;// print version to console&lt;/P&gt;&lt;P&gt;wprintf_s(L" Hello Intel RSSDK Version %d.%d \n",ver.major, ver.minor);&lt;/P&gt;&lt;P&gt;// enumerate all available modules that are automatically loaded with the RSSDK&lt;/P&gt;&lt;P&gt;for (int i=0;;i++) {&lt;/P&gt;&lt;P&gt;PXCSession::ImplDesc desc;&lt;/P&gt;&lt;P&gt;if ( session-&amp;gt;QueryImpl(0,i,&amp;amp;desc) &amp;lt; PXC_STATUS_NO_ERROR ) break;&lt;/P&gt;&lt;P&gt;// Print the module friendly name and iuid (interface unique ID)&lt;/P&gt;&lt;P&gt;wprintf_s(L"Module[%d]: %s\n",i,desc.friendlyName);&lt;/P&gt;&lt;P&gt;wprintf_s(L" iuid=%x\n",desc.iuid);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;// close the streams (if any) and release any session and processing module instances&lt;/P&gt;&lt;P&gt;psm-&amp;gt;Release();&lt;/P&gt;&lt;P&gt;system("pause");&lt;/P&gt;&lt;P&gt;return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:15:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371539#M1639</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-03T13:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371540#M1640</link>
      <description>&lt;P&gt;I've copied and pasted your code and compiled in my project and the same error appears... :/&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:20:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371540#M1640</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-02-03T13:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371541#M1641</link>
      <description>&lt;P&gt;Here is the page from the manual on setting up a RealSense C++ development environment.  Please check it to see if you have done it all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:25:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371541#M1641</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-03T13:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371542#M1642</link>
      <description>&lt;P&gt;Ok, that was the mistake... now it works fine, thanks! &lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:30:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371542#M1642</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-02-03T13:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in new Project SDK R3</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371543#M1643</link>
      <description>&lt;P&gt;Great, glad I could help.  Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:32:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Error-in-new-Project-SDK-R3/m-p/371543#M1643</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-03T13:32:35Z</dc:date>
    </item>
  </channel>
</rss>

