Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unresolved external symbol __std_find_trivial_4 #10

Open
WWYiii opened this issue May 12, 2024 · 2 comments
Open

unresolved external symbol __std_find_trivial_4 #10

WWYiii opened this issue May 12, 2024 · 2 comments

Comments

@WWYiii
Copy link

WWYiii commented May 12, 2024

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
Copy link
Contributor

tonsky commented May 12, 2024

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

@WWYiii
Copy link
Author

WWYiii commented May 12, 2024

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 <d3d12.h>
#pragma comment(lib, "D3D12.lib")
#include <d3dcompiler.h>
#pragma comment(lib, "d3dcompiler.lib")
#pragma comment(lib, "Opengl32.lib")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants