undefined symbol:private: static struct blink::WrapperTypeInfo

82 Views Asked by At

try to add a custom member [mutable Member inWin_;] into blink DOMWindow and use like this use the menber But there is a problem with linking link error and then i find the error source but i don't kown how to solve it error source my class

2

There are 2 best solutions below

1
Lasersköld On

I would guess that you have forgotten to include the file containing wrapperTypeInfo. You should probably add a line similar to

#include "WrapperTypeInfo.h"
0
ssmy On

i have solved the problem now! the wrong behavior is that i try to add an blink/.../module/../myAPI into blink/.../core/.../DOMWindow . to solve it i change myAPI into blink/.../core now link success