You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you build on windows using -DBUILD_SHARED_LIBS=ON, it fails with linker errors.
common.obj : error LNK2019: unresolved external symbol ggml_mlock_supported referenced in function "void __cdecl gpt_print_usage(int,char * *,struct gpt_params const &)" (?gpt_print_usage@@YAXHPEAPEADAEB
Ugpt_params@@@Z)
quantize.obj : error LNK2019: unresolved external symbol ggml_time_init referenced in function main
quantize.obj : error LNK2019: unresolved external symbol ggml_init referenced in function main
I don't have enough knowledge in makefiles to fix the issue correctly but a workaround solved it for me.
Open the generated solution in visual studio
Add ggml in references of the failing projects.
Right click ggml under References-> Properties -> Set Link Library Dependencies to True
The text was updated successfully, but these errors were encountered:
If you build on windows using -DBUILD_SHARED_LIBS=ON, it fails with linker errors.
I don't have enough knowledge in makefiles to fix the issue correctly but a workaround solved it for me.
The text was updated successfully, but these errors were encountered: