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.
HDK help with SOP compiling and linking???
2299 6 0- stkeg
- Member
- 69 posts
- Joined: April 2013
- Offline
- stefiqeg
- Member
- 9 posts
- Joined: Oct. 2013
- Offline
Set an environment variable named HOUDINI_DSO_ERROR
See http://www.sidefx.com/docs/hdk13.0/hdk_intro_debugging.html [sidefx.com] at the very end…
See http://www.sidefx.com/docs/hdk13.0/hdk_intro_debugging.html [sidefx.com] at the very end…
- stkeg
- Member
- 69 posts
- Joined: April 2013
- Offline
stefiqeg
Set an environment variable named HOUDINI_DSO_ERROR
See http://www.sidefx.com/docs/hdk13.0/hdk_intro_debugging.html [sidefx.com] at the very end…
it has been on. that houdini dso error must be the output you are talking about.
- stefiqeg
- Member
- 9 posts
- Joined: Oct. 2013
- Offline
- stkeg
- Member
- 69 posts
- Joined: April 2013
- Offline
- stkeg
- Member
- 69 posts
- Joined: April 2013
- Offline
- stefiqeg
- Member
- 9 posts
- Joined: Oct. 2013
- Offline
-
- Quick Links