Changes between Version 12 and Version 13 of GPUApp


Ignore:
Timestamp:
Jul 14, 2010, 12:35:39 PM (14 years ago)
Author:
romw
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GPUApp

    v12 v13  
    1919then you should build the sample app in the device emulation mode.
    2020Do so by setting "Build -> Configuration Manger -> Configuration" to either Emudebug or Emurelease.
    21 It comes to our attention that while compiling the sample app,
    22 the linker tries to link both the debug and release libraries, and thus causing the following errors:
    23 {{{
    24 LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)
    25 LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined in LIBCMT.lib(recalloc.obj)
    26 LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in LIBCMT.lib(msize.obj)
    27 ...
    28 }}}
    29 One solution to this problem is to set the Hybrid Cuda/C++ Runtime Library to "Multi-Threaded Debug (/MTd)".
    30 Do so by right click on the project.
    31 Set "Properties -> Configuration Properties -> Cuda Build Rule v3.0.14 -> Hybrid CUDA/C++ Options -> Runtime Library"
    32 to "Multi-Threaded Debug (/MTd)".
    3321
    3422The executable file can be found at "boinc/win_build/Build/Win32/build_mode/"