<?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 Compiling Embree to 64bit release with VC++ 2010 Express in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771711#M11</link>
    <description>I have followed the instructions here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.maxforums.org/threads/intel_embree_real_ray_tracer/0001.aspx" target="_blank"&gt;http://www.maxforums.org/threads/intel_embree_real_ray_tracer/0001.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Installed sp1 and the compiler fixup. &lt;A name="top"&gt;witched &lt;/A&gt;&lt;A name="top"&gt;platform toolset &lt;/A&gt;&lt;A name="top"&gt;from v100 to Windows7.1 SDK&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;But I still get exactly the same result as already described above.&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Aug 2012 22:26:35 GMT</pubDate>
    <dc:creator>amnonp5</dc:creator>
    <dc:date>2012-08-07T22:26:35Z</dc:date>
    <item>
      <title>Compiling Embree to 64bit release with VC++ 2010 Express</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771710#M10</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've succesfully compiled to a 32bit release. Tried the cornell_box example, which runs fine. Now I'd like to compile to a 64bit release. I am on Windows 7 64bit SP1. I am using Microsoft Visual C++ 2010 Express. To solve initial build error I have added the path "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib" (forum may remove backslashes) to the VC++ Library Directories.&lt;BR /&gt;&lt;BR /&gt;The initial build errors are solved with the above added path, but for full disclosure they were:&lt;BR /&gt;Common =&amp;gt; 1&amp;gt;LINK : fatal error LNK1181: cannot open input file 'wsock32.lib'&lt;BR /&gt;Embree =&amp;gt; 4&amp;gt;LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'&lt;BR /&gt;========== Rebuild All: 2 succeeded, 2 failed, 0 skipped ==========&lt;BR /&gt;&lt;BR /&gt;Now 3 out of 4 build succesfully, but embree.exe gives a list of &lt;B&gt;LNK2001/LNK2019&lt;/B&gt; build errors:&lt;BR /&gt;&lt;BR /&gt;4&amp;gt;glutdisplay.obj : error LNK2019: unresolved external symbol __imp_glViewport referenced in function "void __cdecl embree::reshapeFunc(int,int)" (?reshapeFunc@embree@@YAXHH@Z)&lt;BR /&gt;4&amp;gt;glutdisplay.obj : error LNK2019: unresolved external symbol __imp_glDrawPixels referenced in function "void __cdecl embree::displayFunc(void)" (?displayFunc@embree@@YAXXZ)&lt;BR /&gt;4&amp;gt;glutdisplay.obj : error LNK2019: unresolved external symbol __imp_glPixelZoom referenced in function "void __cdecl embree::displayFunc(void)" (?displayFunc@embree@@YAXXZ)&lt;BR /&gt;4&amp;gt;glutdisplay.obj : error LNK2019: unresolved external symbol __imp_glRasterPos2i referenced in function "void __cdecl embree::displayFunc(void)" (?displayFunc@embree@@YAXXZ)&lt;BR /&gt;4&amp;gt;common.lib(platform.obj) : error LNK2019: unresolved external symbol __imp_VirtualAlloc referenced in function "void * __cdecl embree::os_malloc(unsigned __int64)" (?os_malloc@embree@@YAPEAX_K@Z)&lt;BR /&gt;4&amp;gt;common.lib(platform.obj) : error LNK2019: unresolved external symbol __imp_VirtualFree referenced in function "void __cdecl embree::os_free(void *,unsigned __int64)" (?os_free@embree@@YAXPEAX_K@Z)&lt;BR /&gt;4&amp;gt;common.lib(platform.obj) : error LNK2019: unresolved external symbol __imp_QueryPerformanceCounter referenced in function "double __cdecl embree::getSeconds(void)" (?getSeconds@embree@@YANXZ)&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp_QueryPerformanceCounter&lt;BR /&gt;4&amp;gt;common.lib(platform.obj) : error LNK2019: unresolved external symbol __imp_QueryPerformanceFrequency referenced in function "double __cdecl embree::getSeconds(void)" (?getSeconds@embree@@YANXZ)&lt;BR /&gt;4&amp;gt;renderer.lib(render_device.obj) : error LNK2019: unresolved external symbol __imp_lstrcmpiA referenced in function "public: virtual struct embree::Device::__RTData * __cdecl embree::RenderDevice::rtNewData(char const *,unsigned __int64,void const *)" (?rtNewData@RenderDevice@embree@@UEAAPEAU__RTData@Device@2@PEBD_KPEBX@Z)&lt;BR /&gt;4&amp;gt;MSVCRT.lib(atonexit.obj) : error LNK2019: unresolved external symbol __imp_EncodePointer referenced in function _onexit&lt;BR /&gt;4&amp;gt;MSVCRT.lib(crtexe.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer&lt;BR /&gt;4&amp;gt;MSVCRT.lib(atonexit.obj) : error LNK2019: unresolved external symbol __imp_DecodePointer referenced in function _onexit&lt;BR /&gt;4&amp;gt;MSVCRT.lib(crtexe.obj) : error LNK2019: unresolved external symbol __imp_Sleep referenced in function __tmainCRTStartup&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2001: unresolved external symbol __imp_Sleep&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_TerminateProcess referenced in function __report_gsfailure&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentProcess referenced in function __report_gsfailure&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_UnhandledExceptionFilter referenced in function __report_gsfailure&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_SetUnhandledExceptionFilter referenced in function __report_gsfailure&lt;BR /&gt;4&amp;gt;MSVCRT.lib(unhandld.obj) : error LNK2001: unresolved external symbol __imp_SetUnhandledExceptionFilter&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_IsDebuggerPresent referenced in function __report_gsfailure&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol RtlVirtualUnwind referenced in function __report_gsfailure&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol RtlLookupFunctionEntry referenced in function __report_gsfailure&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_RtlCaptureContext referenced in function __report_gsfailure&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetTickCount referenced in function __security_init_cookie&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentThreadId referenced in function __security_init_cookie&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentProcessId referenced in function __security_init_cookie&lt;BR /&gt;4&amp;gt;MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetSystemTimeAsFileTime referenced in function __security_init_cookie&lt;BR /&gt;4&amp;gt;common.lib(mutex.obj) : error LNK2019: unresolved external symbol __imp_InitializeCriticalSection referenced in function "public: __cdecl embree::MutexSys::MutexSys(void)" (??0MutexSys@embree@@QEAA@XZ)&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2001: unresolved external symbol __imp_InitializeCriticalSection&lt;BR /&gt;4&amp;gt;common.lib(mutex.obj) : error LNK2019: unresolved external symbol __imp_DeleteCriticalSection referenced in function "public: __cdecl embree::MutexSys::~MutexSys(void)" (??1MutexSys@embree@@QEAA@XZ)&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection&lt;BR /&gt;4&amp;gt;common.lib(mutex.obj) : error LNK2019: unresolved external symbol __imp_EnterCriticalSection referenced in function "public: void __cdecl embree::MutexSys::lock(void)" (?lock@MutexSys@embree@@QEAAXXZ)&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2001: unresolved external symbol __imp_EnterCriticalSection&lt;BR /&gt;4&amp;gt;common.lib(mutex.obj) : error LNK2019: unresolved external symbol __imp_LeaveCriticalSection referenced in function "public: void __cdecl embree::MutexSys::unlock(void)" (?unlock@MutexSys@embree@@QEAAXXZ)&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2001: unresolved external symbol __imp_LeaveCriticalSection&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2019: unresolved external symbol __imp_CreateEventA referenced in function "public: __cdecl embree::ConditionSys::ConditionSys(void)" (??0ConditionSys@embree@@QEAA@XZ)&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2019: unresolved external symbol __imp_CloseHandle referenced in function "public: __cdecl embree::ConditionSys::~ConditionSys(void)" (??1ConditionSys@embree@@QEAA@XZ)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2019: unresolved external symbol __imp_ResetEvent referenced in function "public: void __cdecl embree::ConditionSys::wait(class embree::MutexSys &amp;amp;)" (?wait@ConditionSys@embree@@QEAAXAEAVMutexSys@2@@Z)&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2019: unresolved external symbol __imp_WaitForMultipleObjects referenced in function "public: void __cdecl embree::ConditionSys::wait(class embree::MutexSys &amp;amp;)" (?wait@ConditionSys@embree@@QEAAXAEAVMutexSys@2@@Z)&lt;BR /&gt;4&amp;gt;common.lib(condition.obj) : error LNK2019: unresolved external symbol __imp_SetEvent referenced in function "public: void __cdecl embree::ConditionSys::broadcast(void)" (?broadcast@ConditionSys@embree@@QEAAXXZ)&lt;BR /&gt;4&amp;gt;common.lib(sysinfo.obj) : error LNK2019: unresolved external symbol __imp_GetActiveProcessorCount referenced in function "unsigned __int64 __cdecl embree::getNumberOfLogicalThreads(void)" (?getNumberOfLogicalThreads@embree@@YA_KXZ)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2001: unresolved external symbol __imp_GetActiveProcessorCount&lt;BR /&gt;4&amp;gt;common.lib(sysinfo.obj) : error LNK2019: unresolved external symbol __imp_GetActiveProcessorGroupCount referenced in function "unsigned __int64 __cdecl embree::getNumberOfLogicalThreads(void)" (?getNumberOfLogicalThreads@embree@@YA_KXZ)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2001: unresolved external symbol __imp_GetActiveProcessorGroupCount&lt;BR /&gt;4&amp;gt;common.lib(sysinfo.obj) : error LNK2019: unresolved external symbol __imp_GetConsoleScreenBufferInfo referenced in function "int __cdecl embree::getTerminalWidth(void)" (?getTerminalWidth@embree@@YAHXZ)&lt;BR /&gt;4&amp;gt;common.lib(sysinfo.obj) : error LNK2019: unresolved external symbol __imp_GetStdHandle referenced in function "int __cdecl embree::getTerminalWidth(void)" (?getTerminalWidth@embree@@YAHXZ)&lt;BR /&gt;4&amp;gt;common.lib(sysinfo.obj) : error LNK2019: unresolved external symbol __imp_GetModuleFileNameA referenced in function "class std::basic_string&lt;CHAR&gt;,class std::allocator&lt;CHAR&gt; &amp;gt; __cdecl embree::getExecutableFileName(void)" (?getExecutableFileName@embree@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_SetThreadIdealProcessorEx referenced in function "void __cdecl embree::setAffinity(void *,__int64)" (?setAffinity@embree@@YAXPEAX_J@Z)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_SetThreadGroupAffinity referenced in function "void __cdecl embree::setAffinity(void *,__int64)" (?setAffinity@embree@@YAXPEAX_J@Z)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentThread referenced in function "void __cdecl embree::setAffinity(__int64)" (?setAffinity@embree@@YAX_J@Z)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_CreateThread referenced in function "struct embree::opaque_thread_t * __cdecl embree::createThread(void (__cdecl*)(void *),void *,unsigned __int64,__int64)" (?createThread@embree@@YAPEAUopaque_thread_t@1@P6AXPEAX@Z0_K_J@Z)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_WaitForSingleObject referenced in function "void __cdecl embree::join(struct embree::opaque_thread_t *)" (?join@embree@@YAXPEAUopaque_thread_t@1@@Z)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_TerminateThread referenced in function "void __cdecl embree::destroyThread(struct embree::opaque_thread_t *)" (?destroyThread@embree@@YAXPEAUopaque_thread_t@1@@Z)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_TlsAlloc referenced in function "struct embree::opaque_tls_t * __cdecl embree::createTls(void)" (?createTls@embree@@YAPEAUopaque_tls_t@1@XZ)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_TlsSetValue referenced in function "void __cdecl embree::setTls(struct embree::opaque_tls_t *,void * const)" (?setTls@embree@@YAXPEAUopaque_tls_t@1@QEAX@Z)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_TlsGetValue referenced in function "void * __cdecl embree::getTls(struct embree::opaque_tls_t *)" (?getTls@embree@@YAPEAXPEAUopaque_tls_t@1@@Z)&lt;BR /&gt;4&amp;gt;common.lib(thread.obj) : error LNK2019: unresolved external symbol __imp_TlsFree referenced in function "void __cdecl embree::destroyTls(struct embree::opaque_tls_t *)" (?destroyTls@embree@@YAXPEAUopaque_tls_t@1@@Z)&lt;BR /&gt;4&amp;gt;C:\\Users\\mainframe\\Downloads\\embree-1.1beta\\\\x64\\Release\\embree.exe : fatal error LNK1120: 48 unresolved externals&lt;BR /&gt;========== Rebuild All: 3 succeeded, 1 failed, 0 skipped ==========&lt;BR /&gt;&lt;BR /&gt;I tried adding 'wsock32.lib' and 'kernel32.lib' to embree's Linker &amp;gt; Input &amp;gt; Additional Dependencies, but that did't have any impact.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;How can I solve these build errors and go 64bit?&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Amnon&lt;BR /&gt;&lt;BR /&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;</description>
      <pubDate>Tue, 07 Aug 2012 21:14:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771710#M10</guid>
      <dc:creator>amnonp5</dc:creator>
      <dc:date>2012-08-07T21:14:31Z</dc:date>
    </item>
    <item>
      <title>Compiling Embree to 64bit release with VC++ 2010 Express</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771711#M11</link>
      <description>I have followed the instructions here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.maxforums.org/threads/intel_embree_real_ray_tracer/0001.aspx" target="_blank"&gt;http://www.maxforums.org/threads/intel_embree_real_ray_tracer/0001.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Installed sp1 and the compiler fixup. &lt;A name="top"&gt;witched &lt;/A&gt;&lt;A name="top"&gt;platform toolset &lt;/A&gt;&lt;A name="top"&gt;from v100 to Windows7.1 SDK&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;But I still get exactly the same result as already described above.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Aug 2012 22:26:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771711#M11</guid>
      <dc:creator>amnonp5</dc:creator>
      <dc:date>2012-08-07T22:26:35Z</dc:date>
    </item>
    <item>
      <title>Compiling Embree to 64bit release with VC++ 2010 Express</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771712#M12</link>
      <description>I just installed Visual Studio 2010 Express on my Windows 7 machine. I can compile Embree 1.1 without problems and without any changes to the Visual Studio settings.&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I assume your Visual Studio installation is corrupted as the linker initially could not even find the kernel32.lib. Try reinstalling Visual Studio and make a clean recompile of Embree.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;BTW, maybe adding x64 to the path you modified fixes the issue. On my machine the 64 bit version of kernel32.lib is inC:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\x64&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Aug 2012 16:08:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771712#M12</guid>
      <dc:creator>SvenW_Intel</dc:creator>
      <dc:date>2012-08-09T16:08:03Z</dc:date>
    </item>
    <item>
      <title>Compiling Embree to 64bit release with VC++ 2010 Express</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771713#M13</link>
      <description>Using the x64 path doesn't solve it. But I removed everything (vc++, sdk, compilers) and did a complete re-install (basically following the steps in that earlier link). And the end results... it works! ;-) So thanks for the suggestion. I do have to set the platform toolset to sdk 7.1 manually in the projects (the default is v100). The 64bit release embree gives me (very roughly estimated) 40% fps increase, which is a nice bonus. All in all problem solved.</description>
      <pubDate>Fri, 10 Aug 2012 17:32:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compiling-Embree-to-64bit-release-with-VC-2010-Express/m-p/771713#M13</guid>
      <dc:creator>amnonp5</dc:creator>
      <dc:date>2012-08-10T17:32:01Z</dc:date>
    </item>
  </channel>
</rss>

