Jump to content

Error compiling sample


Recommended Posts

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 by static
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...