nuklear icon indicating copy to clipboard operation
nuklear copied to clipboard

Constant external errors

Open Kontrol-69 opened this issue 6 years ago • 1 comments

1>Drawing.obj : error LNK2019: unresolved external symbol "struct nk_context * __cdecl nk_d3d9_init(struct IDirect3DDevice9 *,int,int)" (?nk_d3d9_init@@YAPAUnk_context@@PAUIDirect3DDevice9@@HH@Z) referenced in function "void __cdecl Draw::setupNuklear(struct IDirect3DDevice9 *)" (?setupNuklear@Draw@@YAXPAUIDirect3DDevice9@@@Z)

I keep getting this error. Any solutions?

Kontrol-69 avatar Aug 23 '19 21:08 Kontrol-69

Please post your source code (snippet) to see what are you doing. Interesting will be: your makefile (or gcc/clang/... options), then all your includes in all your header files (except includes in nuklear.h) and finally the lines in your app source code producing these warnings. On my first guess I would say, that there is some issue with includes :wink: (see Readme carefully to see what works and what is forbidden).

dumblob avatar Aug 24 '19 20:08 dumblob