Jump to content

Centroid - SOP


Recommended Posts

  • 5 weeks later...

Hi,

First of all,

I just started learning HDK. So I am really beginner. And I do not have C++ knowledge yet......

This OTL sounds really nice and I wanna try!! more like I need to try!!

But I got difficulties how to compile this.

I am using Ubuntu10 X64.

I tried to compile this following "http://www.sidefx.com/docs/hdk10.0/hdk_intro_compiling.html"

But I tried to compile the SOP Star sample,

I get this

Making SOP_Star.o and /root/houdini10.0/dso/SOP_Star.so from SOP_Star.C

sh: g++: not found

And I got stuck here.... I could not even compile samples yet. embarrassing....

I installed csh by the way. Do I miss something?

I tried to find "how to do" on the internet but I could not find any for like me beginners.

If anybody even know some good web site to look at it, I would really appreciate it!!

Thanks

Link to comment
Share on other sites

You'll need to install some of the more basic compilation programs/packages.

Try: apt-get install build-essential

build-essential is a shortcut for a bunch of the more common building tools.

Edited by graham
Link to comment
Share on other sites

  • 2 weeks later...

I finally could succeed to compile in Linux. Thanks Graham!!

I also compiled with windows 64bit vista and It seems working fine in Houdini 11.

I used Visual studio 2005 off course.

But when I compile I got this warning (look at Jpg). Is this fine???

post-4901-128457293697_thumb.jpg

Also I was trying to use Makefile in windows,

I tried Cygwin and other stuff like nmake.exe ver 1.5(seems works only 32bit). But no success yet.

Is anyone can tell me how to use makefile in windows correctly??

Thanks

Link to comment
Share on other sites

Hi efx,

that warning is okay, what it complains about is a macro that i'm using to check the timing of these operations, these macros get en/disabled by a

#define DEBUG

statment in the .h header file

In the next version, (that i'm hopefully finishing soon) i'll try to get rid of that warning.

Infernal

Link to comment
Share on other sites

  • 2 years later...

after some time I've committed some changes into the repository,

--> changes for the H12.* GA modules

--> inheriting of attributes from the primitives onto the centroids

--> inheriting group names onto the centroids

http://gitorious.org/centroid-sop/centroid-sop

Seb

Edited by Infernalspawn
  • Like 2
Link to comment
Share on other sites

  • 4 years later...
/opt/hfs16.0.751/toolkit/include/UT/UT_String.h:141:5: error: ‘UT_String::UT_String(const UT_StringRef&)’ is private
     UT_String(const UT_StringRef &);
     ^
SOP_Centroid.cpp:1119:49: error: within this context
   UT_String primAttrName = it.attrib()->getName();
                                                 ^
In file included from /opt/hfs16.0.751/toolkit/include/UT/UT_Lock.h:27:0,
                 from /opt/hfs16.0.751/toolkit/include/UT/UT_ThreadedAlgorithm.h:28,
                 from SOP_Centroid.h:33,
                 from SOP_Centroid.cpp:26:
/opt/hfs16.0.751/toolkit/include/UT/UT_String.h: In static member function ‘static void SOP_Centroid::matchPrimAttribNameList(const GA_AttributeDict&, UT_String, UT_StringArray*)’:
/opt/hfs16.0.751/toolkit/include/UT/UT_String.h:141:5: error: ‘UT_String::UT_String(const UT_StringRef&)’ is private
     UT_String(const UT_StringRef &);
     ^
SOP_Centroid.cpp:1139:45: error: within this context
   UT_String primName = it.attrib()->getName();
                                             ^
makefile:57: recipe for target 'SOP_Centroid.o' failed

 

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...