The way I tested was :
test.vfl :
#ifndef TEST #define TEST cvex print(string message="") { printf(message); } #endif
vcc test.vfl -> outputs a print.vex file
I define HOUDINI_VEX_PATH to include the directory where print.vex is
in Houdini, in an attr wrangle :
#include "print.vex" print("test message");
And I have a warning : "Errors or warnings encountered during VEX compile:
/obj/geo1/pointwrangle1/attribvop1: No context function defined.. "
Cheers,