Hello ~
Does anyone use GLUI to create GUI to control the cuda program ??
My CUDA program run successfuly…
I included the “glui.h” and use GLUI function to create GUI to my CUDA program…
There are some Link error shown as below
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _fprintf already defined in LIBCMTD.lib(fprintf.obj)
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgheap.obj)
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgheap.obj)
1>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _realloc already defined in LIBCMTD.lib(dbgheap.obj)
1>MSVCRTD.lib(ti_inst.obj) : error LNK2005: “private: __thiscall type_info::type_info(class type_info const &)” (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
1>MSVCRTD.lib(ti_inst.obj) : error LNK2005: “private: class type_info & __thiscall type_info::operator=(class type_info const &)” (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
I try to set the environment parameters ~
Project Properties → Linker → Input ~ “Ignore Specific Library” = LIBCMTD.lib
It compiled successfully …
But… It will stop on CUDA_SAFE_CALL(cudaGLRegisterBufferObject(img_PBO));
Does anyone know how to solve it…??? Thanks~~!!