Jump to content


HDK plugin and external library


  • Please log in to reply
4 replies to this topic

#1 Ratman

Ratman

    Illusionist

  • Members
  • PipPipPip
  • 303 posts
  • Joined: 23-May 05
  • Location:Los Angeles, CA
  • Name:Rick Fuentealba

Posted 15 July 2012 - 02:51 PM

Hey gang, I'm building a plugin and I'm linking to an external library using a make file. It compiles fine and creates my .so file, but when I launch Houdini my operator doesn't show up.

Compiling and all works fine with the default sample files.

I'm using Ubuntu 10.1 with gcc 4.4.3 and Houdini 12.0.683 for gcc 4.4.

Any ideas?

-R

#2 symek

symek

    Grand Master

  • Members
  • PipPipPipPipPip
  • 1,544 posts
  • Joined: 02-November 04
  • Location:Waw/Pol
  • Name:Szymon Kapeniak

Posted 16 July 2012 - 04:16 AM

set HOUDINI_DSO_ERROR=2 to see load-time dso errors. Perhaps Houdini can't see your external library? Is it in LD_LIBRARY_PATH or so?
(...) It was late, late in the evening, the lovers they were gone;
The clocks had ceased their chiming, and the deep river ran on.

#3 Ratman

Ratman

    Illusionist

  • Members
  • PipPipPip
  • 303 posts
  • Joined: 23-May 05
  • Location:Los Angeles, CA
  • Name:Rick Fuentealba

Posted 17 July 2012 - 07:30 AM

Hey SYmek, thanks for the reply.

I think that might have been it, my plugin is showing up.

Now I gotta figure out why it wont solve the sim when I play :-|

Thanks!
-R

#4 bhaveshpandey

bhaveshpandey

    Illusionist

  • Members
  • PipPipPip
  • 273 posts
  • Joined: 12-October 08
  • Location:London
  • Name:bhavesh pandey

Posted 17 August 2012 - 04:22 PM

I'm facing same issues here..
I have my so files in my home directory's houdini12.1/dso but houdini cant see it
while loading.
I compiled the default SOP_Flatten(in the same location as the other files) which houdini does pick up while loading.

I'm linking to external libs as well.

Edited by bhaveshpandey, 17 August 2012 - 04:26 PM.


#5 bhaveshpandey

bhaveshpandey

    Illusionist

  • Members
  • PipPipPip
  • 273 posts
  • Joined: 12-October 08
  • Location:London
  • Name:bhavesh pandey

Posted 18 August 2012 - 03:31 AM

nevermind..fixed it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users