2.63 linking error. any one can help me ?

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

yaxinhoo
Posts: 36
Joined: Fri Oct 14, 2011 9:41 pm

2.63 linking error. any one can help me ?

Postby yaxinhoo » Mon Apr 30, 2012 5:24 am

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 ==========

yaxinhoo
Posts: 36
Joined: Fri Oct 14, 2011 9:41 pm

Postby yaxinhoo » Mon Apr 30, 2012 6:39 am

add the line struct BoundBox::empty_t BoundBox::empty; to the mesh.cpp can slove this .

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Tue May 01, 2012 6:35 pm

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...


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 3 guests