Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
[INFORMATION](03/28/2024)
Cubism Editor 5.1 alpha version is now available!
Find out how to use the new features here.
Please take this opportunity to use it and give us your feedback!

For more information and download, please check out the Cubism Editor 5.1 alpha category.

C++ D3D11 Link error

I successfully compiled the official C++ demo project on Visual Studio 2019, and demo models worked fine. Therefore I decided to move all the live2d framework to my personal engine which also based on D3D11. Adding framework project into solution complied successfully, but when I tried to use it in my engine, it always popup several similar error messages.

" error LNK2019: unresolved external symbol "public: static bool _cdecl Live2D::Cubism::Framework::CubismFramework::StartUp(class Live2D::Cubism::Framework::ICubismAllocator *,class Live2D::Cubism::Framework::CubismFramework::Option const *)" (?StartUp@CubismFramework@Framework@Cubism@Live2D@@SA_NPEAVICubismAllocator@234@PEBVOption@1234@@Z) referenced in function "public: void _cdecl RenderContext::InitializeCubism(void)" (?InitializeCubism@RenderContext@@QEAAXXZ)"

I already included CubismFramework.hpp, Rendering/D3D11/CubismNativeInclude_D3D11.hpp, Rendering/D3D11/CubismRenderer_D3D11.hpp and LAppAllocator.

I just tried to initialized the cubism and call CubismFramework::StartUp and CubismFramework::Initialize().

Comments

Sign In or Register to comment.