Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Constant external errors #892

Open
Kontrol-69 opened this issue Aug 23, 2019 · 1 comment
Open

Constant external errors #892

Kontrol-69 opened this issue Aug 23, 2019 · 1 comment

Comments

@Kontrol-69
Copy link

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?

@dumblob
Copy link
Contributor

dumblob commented Aug 24, 2019

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 😉 (see Readme carefully to see what works and what is forbidden).

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

No branches or pull requests

2 participants