I have code that compiles on Linux, but on windows I cant seem to compile a sop node with input lables. Is any one else able to compile a SOP node in 15.5 with input lables on windows?
constchar*inputLabels[]={"IN_GEO","IN_PATH"};voidnewSopOperator(OP_OperatorTable*table){table->addOperator(newOP_Operator("customSop","my custom sop",SOP_CustomSop::myConstructor,SOP_CustomSop::myTemplateList,2,// Min # of sources2,// Max # of sources0,0,inputLabels));}
Hi Edward, Sorry I worded my post poorly. the code compiles file, but on starting Houdini I am getting a Fatal error. If I remove the inputLabels argument when adding a new OP_Operator, the SOP node works fine. Just wounding what I'm missing/doing wrong to get inputlables working. They work compiling on centos 7, which is strange.
5164: Fatal error: Segmentation fault
Crash report from DZND; Unknown App Version 15.5.565 [windows-x86_64-cl19] Uptime 0 seconds Sun Sep 4 11:42:37 2016 Caught signal 11
You need to terminate the inputLabels array. From what I can tell, this requirement was added about 13 yrs ago, you've probably just been lucky with the crashes.