[Sidefx-houdini-list] Hdk-Helper Function Libray
iamjaideep80 at yahoo.com
Wed May 23 07:06:28 EDT 2007
Thanks for the quick reply. I am trying ur method, but facing a problem.
I compiled my Helper code with hcustom to create .o file. Then with "ar"
created a static library libHelper.a out of it. Now with hcustom I am compiling my custom_op using "-l" option. But it says,
"/usr/bin/ld: cannot find -llibHelper.a" . I also added the library older with "-L" option, but no help. Is it the problem of static and dynamic libraries??? Do I have to create libHelper.so(dynamic lib). If yes, how to do that using "hcustom", or can I use gcc to do that.
Fred Valleur <fred.valleur at gmail.com> wrote: Hi,
you can compile your library in a regular way. Of course make sure to
make the proper includes from the HDK.
I use cmake to compile my Houdini operators, and never ran into
problems doing so.
Hope this helps,
Frederic Valleur | LaMaison
On 5/23/07, Jaideep Khadilkar wrote:
> HI All....
> While playing with HDK, I found that, there are some functions which are not implemented in HDK. I wote some of these Helper Functions. But I don't want to copy the code every time I use it in a new test. So I want to convert the functions into a Library, may be a static library so that I can embed it in the Custom_Ops itself. How to convert my Helper function code into a Helper Library??? I am using the HDK classes in the code,
> so can I compile the library in general c++ way, or do I have to compile it using "hcustom" ?? I didn't find any option in "hcutom" to do this.
> (Jaideep Khadilkar)
> Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
More information about the Sidefx-houdini-list