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
[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.

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.