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
I'm trying to compile cfdcore in xcode but have been unable due to the following error associated with each of the opcode definitions located in the cfdcore_script header:
Expected member name or ';' after declaration specifiers
I noticed the following comment above the class declaration:
/**
* @brief Script Operation definition class.
* @details
* Regarding the definition value of OP_XXXX, please note the following when using it.
* - When statically linking, do not use it as the initial value of global variables.
* - Due to the initialization order, it may be set in the uninitialized state.
* - When using it as the initial value of a global variable, \
* use ScriptType instead of ScriptOperator.
*/
In the comment it is instructed, 'do not use it as the initial value of global variables', which I assume must be related to this issue. My question is, how can I change the code to use ScriptType instead of ScriptOperator (as instructed)? Would it be possible for someone to provide a diff to demonstrate this change?
Thanks
The text was updated successfully, but these errors were encountered:
@satirn
In the first place, I did not describe the setup procedure for working with Xcode/VisualStudio. 😓
It is possible that you may have been missing some necessary files. (Especially libwally-core)
I have added the procedure for setup using cmake to the README. Please check it. 🙏
I'm trying to compile cfdcore in xcode but have been unable due to the following error associated with each of the opcode definitions located in the cfdcore_script header:
Expected member name or ';' after declaration specifiers
I noticed the following comment above the class declaration:
In the comment it is instructed, 'do not use it as the initial value of global variables', which I assume must be related to this issue. My question is, how can I change the code to use ScriptType instead of ScriptOperator (as instructed)? Would it be possible for someone to provide a diff to demonstrate this change?
Thanks
The text was updated successfully, but these errors were encountered: