874604650 Posted January 25, 2016 Share Posted January 25, 2016 HI Did anyone know how to use those .cpp .h file? in vs always warring somehow...and i also want to put those scriot into houdini mayabe need translate to vex did anyone done this before? Thankyou! SPH.zip Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 25, 2016 Share Posted January 25, 2016 You must remember while creating custom plugin that your C++ source file must have a .C extension. Source file location doesn't matter. You can compile it from anywhere but make sure you have full permission to that location. When you compile .C file, it gets saved in ~/houdiniXX.Y/dso folder with a .so extension. If you have single source file then "hcustom" can be used to compile otherwise "Makefiles". If .h file is written in VEX(similiar to C/C++) then there are two ways to read it: - #include "test.h" if it's in your $HIP directory - #include <test.h> if it's on $HOUDINI_PATH You can also set HOUDINI_VEX_PATH in your .env file. 1 Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.