static Posted October 8, 2010 Share Posted October 8, 2010 (edited) Hi, I'm trying to get the HDK working on my desktop and I'm running into an issue when compiling one of the samples: blair@blair-desktop:~/dev/houdini11.0/samples/SOP$ hcustom -s SOP_Star.C Making SOP_Star.o from SOP_Star.C Making ./SOP_Star from SOP_Star.o g++ SOP_Star.o -lpthread -o ./SOP_Star -L /opt/houdini/dsolib -lHoudiniUI -lHoudiniOPZ -lHoudiniOP3 -lHoudiniOP2 -lHoudiniOP1 -lHoudiniSIM -lHoudiniGEO -lHoudiniPRM -lHoudiniUT -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXext -lXi -ldl -Wl,-rpath,/opt/houdini/dsolib /usr/bin/ld: cannot find -lGLU collect2: ld returned 1 exit status Link failed X11R6 doesn't exist anymore due to compatibility issues with the current X11 version (see Link). I installed libx11-dev to get the libraries but I can't get them to work either. This seems like a common problem, considering X11R6 hasn't been used since 9.1. And I'm sure I downloaded Houdini for the correct OS (selection for Ubuntu 9.1|10.04 @ sidefx). I'm guessing I'm doing something horribly wrong since I haven't been able to find any other posts related to this issue. OS: Ubuntu 10.04 (gcc4.4) 64-bit HOUDINI BUILD: 11.0.504 (gcc4.4) Edited October 8, 2010 by static Quote Link to comment Share on other sites More sharing options...
static Posted October 10, 2010 Author Share Posted October 10, 2010 Fixed it. I was missing some libraries, which I got from the following packages: libglu1-mesa-dev libxext-dev libxi-dev I'm not sure if these are included in the vanilla install of earlier distributions, so I figured I'd post them in case anyone runs into this problem. Quote Link to comment Share on other sites More sharing options...
edward Posted October 12, 2010 Share Posted October 12, 2010 For a custom SOP plugin, you shouldn't use the -s option. Quote Link to comment Share on other sites More sharing options...
static Posted October 12, 2010 Author Share Posted October 12, 2010 yeah I didn't notice that was only for standalones. I'm aware of it now. Thanks. 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.