-2

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

ssmy
  • 1
  • 1
  • 1
    Please don't post images instead of code, post the relevant source code instead – Asesh Sep 01 '22 at 15:38
  • Does this answer your question? https://stackoverflow.com/questions/272900/undefined-reference-to-static-class-member – aschepler Sep 01 '22 at 15:56
  • 1
    Please use code blocks in stackoverflow or using external platforms like https://www.paste.org/122555 , but stackoverflow has better block for code sharing. – H.M Sep 01 '22 at 16:27
  • ok,i got it,i will use code blocks next time – ssmy Sep 02 '22 at 05:28

2 Answers2

0

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

#include "WrapperTypeInfo.h"
Lasersköld
  • 2,028
  • 14
  • 20
-1

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

ssmy
  • 1
  • 1