HumbleUI / SkiaBuild

CI repo for building Skia as a shared library
33 stars 22 forks source link

unresolved external symbol __std_find_trivial_4 #10

Open WWYiii opened 4 months ago

WWYiii commented 4 months ago

when I use it in my vs2019 project, the error was raised:"LNK2001:unresolved external symbol __std_find_trivial_4" is my project settings wrong?or is my vs2019 is too old for this skia version?

tonsky commented 4 months ago

I don’t know. Have you tried building with provided scripts (script/build.py)?

WWYiii commented 4 months ago

Thank you very much for your response. Yes,I built with provided scripts (script/build.py) and success.But when I tried to include it in my project, the error raised. Or maybe I lose some files that should be included in my code? I started my code with:

include <include/core/SkCanvas.h>

include <include/core/SkBitmap.h>

include <include/core/SkPaint.h>

include <include/core/SkTypeface.h>

include <include/core/SkFont.h>

include <include/codec/SkCodec.h>

include <include/core/SkImageEncoder.h>

include <include/core/SkPath.h>

// Skia Depency

include

pragma comment(lib, "D3D12.lib")

include

pragma comment(lib, "d3dcompiler.lib")

pragma comment(lib, "Opengl32.lib")