-
Notifications
You must be signed in to change notification settings - Fork 534
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
Can`t assemble from src in msvs win #650
Comments
Incorrectly made "nuklear.h" header! 1>gui.obj : error LNK2019: unresolved external symbol nk_buffer_init_default referenced in function nk_glfw3_device_create The compiler cannot build the application if you do not declare: extern "C" { #include "nuklear.h"} nuklear.h(5595): error C2894: templates cannot be declared to have 'C' linkage The extern "C" directive does not allow to compile such a header. As a result, we have an unsolvable situation.... |
I think this is fixed with the latest rebuild. |
Nuklear\src\nuklear_property.c(178): warning C4013: 'NK_DTOA' undefined; assuming extern returning int
Nuklear\src\nuklear_page_element.c(25): warning C4116: unnamed type definition in parentheses
Nuklear\src\nuklear_draw.c(39): warning C4116: unnamed type definition in parentheses
error LNK2019: unresolved external symbol NK_DTOA referenced in function nk_do_property
Something is wrong in the "nuklear_util.c" file. The compiler cannot build it.
The same happens with next functions.
They have to be redefined, and only in this case the build is successful
#define NK_MEMCPY memcpy
#define NK_MEMSET memset
Nuklear\src\nuklear_page_element.c(25): warning C4116: unnamed type definition in parentheses
Nuklear\src\nuklear_draw.c(39): warning C4116: unnamed type definition in parentheses
nuklear_glfw_gl3.h(48): error C2079: 'nk_glfw::atlas' uses undefined struct 'nk_font_atlas'
The text was updated successfully, but these errors were encountered: