DanBode Posted February 2, 2010 Share Posted February 2, 2010 I'm trying to write a sop that accesses PRman's pointcloud API. Everything seems to compile and link properly but when I try to bring the sop into Houdini I get this error: libprman.so: cannot open shared object file: No such file or directory In my makefile I have: LIBDIRS = \ -L$(RMANTREE)/lib LIBS = \ -lprman is there something else I need to do to tell Houdini where this library is? Quote Link to comment Share on other sites More sharing options...
edward Posted February 3, 2010 Share Posted February 3, 2010 libprman.so probably needs to be in your LD_LIBRARY_PATH. I'm assuming that you're on Linux. Quote Link to comment Share on other sites More sharing options...
danb Posted February 3, 2010 Share Posted February 3, 2010 I'm trying to write a sop that accesses PRman's pointcloud API. I don't know if it would be of any use but I just released some open source HDK code for loading & previewing prman point clouds into Houdini. http://danbethell.github.com/rmanptcsop/ cheers, dan p.s. as to your specific question - yup (as Edward suggests) check your runtime library path (LD_LIBRARY_PATH or DYLD_LIBRARY_PATH on mac). Quote Link to comment Share on other sites More sharing options...
DanBode Posted February 3, 2010 Author Share Posted February 3, 2010 Thanks guys, adding prman's lib directory to LD_LIBRARY_PATH did the trick. Dan, The code you linked is actually really similar to what I'm working on. I'm building this as part of an independent learning project for a University class, so I'm going to hold off on looking at your code for a bit until I develop my own solution, but I'm really interested to see how you went about it. Thank you for letting me know about your project! 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.