Hi.
I am implementing the ui refinement system.
I know it consists of two parts.
The first has been added successfully, but the second has not.
When compiling it gives me this error, but I don't see how to fix it.
Can anybody help me?
Thank you.
clif.cpp:20546:28: error: field ‘bs_bless’ has incomplete type ‘refine_bs_blessing’
struct refine_bs_blessing bs_bless;^~~~~~~~
clif.cpp:20546:9: note: forward declaration of ‘struct refine_bs_blessing’
struct refine_bs_blessing bs_bless;^~~~~~~~~~~~~~~~~~
clif.cpp:In function ‘uint8 clif_refineui_materials(item*, item_data*, refine_materials*)’:
clif.cpp:20620:2: error:‘status_get_refine_blacksmithBlessing’ was not declared in this scope
status_get_refine_blacksmithBlessing(&materials[REFINEUI_MAT_BS_BLESS].bs_bless,(enum refine_type)id->wlv, item->refine);^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clif.cpp:20620:2: note: suggested alternative:‘status_get_refine_cost’
status_get_refine_blacksmithBlessing(&materials[REFINEUI_MAT_BS_BLESS].bs_bless,(enum refine_type)id->wlv, item->refine);^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
status_get_refine_cost
make[1]:***[Makefile:84: obj/clif.o]Error1
Question
Ichigo
Hi.
I am implementing the ui refinement system.
I know it consists of two parts.
The first has been added successfully, but the second has not.
When compiling it gives me this error, but I don't see how to fix it.
Can anybody help me?
Thank you.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.