Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0

about Surface Tension Models for SPH-Based Fluid


   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?



Share this post

Link to post
Share on other sites
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 person likes this

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0