Jump to content

Recommended Posts

Hi Graham,

thx! hehe, yep thats what I found out ... it seems that I removed these two bits when i did the cleanup of debug - stuff .. hmpf.

i'll put the fix on gitorious tonight!

Infernal

Share this post


Link to post
Share on other sites

Hi Graham,

if threading is enabled/disabled gets controled by the

THREADED_METHOD1(...) makro

which is used in the header, getThreading() is used there to control if threading is enabled or not

Infernal

Edited by Infernalspawn

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
/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

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×