stkeg Posted November 7, 2013 Share Posted November 7, 2013 (edited) i have a custom SOP_node. in it I create a GU_PrimTetra in the SOP's cookMySop function. HDK_Sample::GU_PrimTetra *tet = HDK_Sample::GU_PrimTetra::build(gdp, false); g++ -DVERSION=\"12.5.427\" -D_GNU_SOURCE -DLINUX -DAMD64 -m64 -fPIC -DSIZEOF_VOID_P=8 -DFBX_ENABLED=1 -DOPENCL_ENABLED=1 -DOPENVDB_ENABLED=1 -DSESI_LITTLE_ENDIAN -DENABLE_THREADS -DUSE_PTHREADS -D_REENTRANT -D_FILE_OFFSET_BITS=64 -c -DGCC4 -DGCC3 -Wno-deprecated -I/opt/hfs12.5/toolkit/include -I/home/user/project/tetprim/ -Wall -W -Wno-parentheses -Wno-sign-compare -Wno-reorder -Wno-uninitialized -Wunused -Wno-unused-parameter -g -DUT_ASSERT_LEVEL=2 -fno-strict-aliasing -DMAKING_DSO -o /home/user/project/SOP_stuff.o /home/user/project/SOP_stuff.C g++ -shared /home/user/project/SOP_stuff.o -I/usr/include -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXext -lXi -ldl /home/user/project/GU_PrimTetra.o -o /home/user/houdini12.5/dso/SOP_stuff.so do i need to link? /home/user/project/GU_PrimTetra.o when i don't link GU_PrimTetra.o i can see and load the sop_stuff node in houdini. it then crashes houdini and says. Houdini DSO error on '/home/user/houdini12.5/dso/SOP_stuff.so' undefined symbol when i link GU_PrimTetra.o i can't see sop_stuff as a node i can use (for example when i tab and see the list of all nodes, it's not listed) basically i would like to create and use the GU_PrimTetra object i created (tet) in a sop node. Edited November 7, 2013 by stkeg 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.