Previous Thread  Next Thread

chat icon 2.63 linking error. any one can help me ?

yaxinhoo

Posted: Mon Apr 30, 2012 4:24 am
Joined: 14 Oct 2011
Posts: 36
2>Linking...
2> Creating library C:\WorkSpace\build\Blender\bin\Debug\blender.lib and object C:\WorkSpace\build\Blender\bin\Debug\blender.exp
2>cycles_bvh.lib(bvh_binning.obj) : error LNK2001: unresolved external symbol "public: static struct ccl::BoundBox::empty_t ccl::BoundBox::empty" (?empty@BoundBox@ccl@@2Uempty_t@12@A)
2>cycles_bvh.lib(bvh_split.obj) : error LNK2001: unresolved external symbol "public: static struct ccl::BoundBox::empty_t ccl::BoundBox::empty" (?empty@BoundBox@ccl@@2Uempty_t@12@A)
2>cycles_subd.lib(subd_patch.obj) : error LNK2001: unresolved external symbol "public: static struct ccl::BoundBox::empty_t ccl::BoundBox::empty" (?empty@BoundBox@ccl@@2Uempty_t@12@A)
2>cycles_render.lib(object.obj) : error LNK2001: unresolved external symbol "public: static struct ccl::BoundBox::empty_t ccl::BoundBox::empty" (?empty@BoundBox@ccl@@2Uempty_t@12@A)
2>cycles_render.lib(mesh.obj) : error LNK2001: unresolved external symbol "public: static struct ccl::BoundBox::empty_t ccl::BoundBox::empty" (?empty@BoundBox@ccl@@2Uempty_t@12@A)
2>cycles_bvh.lib(bvh.obj) : error LNK2001: unresolved external symbol "public: static struct ccl::BoundBox::empty_t ccl::BoundBox::empty" (?empty@BoundBox@ccl@@2Uempty_t@12@A)
2>cycles_bvh.lib(bvh_build.obj) : error LNK2001: unresolved external symbol "public: static struct ccl::BoundBox::empty_t ccl::BoundBox::empty" (?empty@BoundBox@ccl@@2Uempty_t@12@A)
2>C:\WorkSpace\build\Blender\bin\Debug\blender.exe : fatal error LNK1120: 1 unresolved externals
2>Build log was saved at "file://c:\WorkSpace\build\Blender\source\creator\blender.dir\Debug\BuildLog.htm"
2>blender - 8 error(s), 0 warning(s)
========== Build: 1 succeeded, 1 failed, 117 up-to-date, 0 skipped ==========
Reply with quote


yaxinhoo

Posted: Mon Apr 30, 2012 5:39 am
Joined: 14 Oct 2011
Posts: 36
add the line struct BoundBox::empty_t BoundBox::empty; to the mesh.cpp can slove this .
Reply with quote


CoDEmanX

Posted: Tue May 01, 2012 5:35 pm
Joined: 05 Apr 2009
Posts: 894
had same error here, installed CUDA toolkit 4.0, re-configured cmake files and built fine
_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group