compile

   5266   9   0
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Hi! I'm trying to compile the example from toolkit/examples. But something terrible wrong is happens. I have run hdkinstall and then I have try to do “hcustom VRAY_DemoBox.C”… But there are a lot of errors. A little part of them
/opt/hfs9.1.179/toolkit/samples/SOP/ hcustom SOP_Flatten.C
Making SOP_Flatten.o and /mnt/home/d.nasyrov/houdini9.1/dso/SOP_Flatten.so from SOP_Flatten.C
In file included from /opt/hfs9.1.179/toolkit/include/SYS/SYS_Types.h:72,
from /opt/hfs9.1.179/toolkit/include/UT/UT_DSOVersion.h:29,
from SOP_Flatten.C:29:
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:93:22: error: iostream.h: No such file or directory
In file included from /opt/hfs9.1.179/toolkit/include/UT/UT_RefArray.h:301,
from /opt/hfs9.1.179/toolkit/include/GU/GU_Detail.h:28,
from SOP_Flatten.C:33:
/opt/hfs9.1.179/toolkit/include/UT/UT_RefArray.C:37:17: error: new.h: No such file or directory
In file included from /opt/hfs9.1.179/toolkit/include/GU/GU_Error.h:24,
from /opt/hfs9.1.179/toolkit/include/GU/GU_Detail.h:41,
from SOP_Flatten.C:33:
/opt/hfs9.1.179/toolkit/include/UT/UT_ErrorManager.h:29:21: error: fstream.h: No such file or directory
In file included from /opt/hfs9.1.179/toolkit/include/SYS/SYS_Types.h:72,
from /opt/hfs9.1.179/toolkit/include/UT/UT_DSOVersion.h:29,
from SOP_Flatten.C:29:
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:236: error: expected constructor, destructor, or type conversion before ‘&’ token
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:237: error: expected constructor, destructor, or type conversion before ‘&’ token
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:244: error: variable or field ‘SYSprintBits’ declared void
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:244: error: ‘ostream’ was not declared in this scope
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:244: error: ‘os’ was not declared in this scope
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:244: error: expected primary-expression before ‘h’
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:245: error: variable or field ‘SYSprintBits’ declared void
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:245: error: ‘ostream’ was not declared in this scope
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:245: error: ‘os’ was not declared in this scope
/opt/hfs9.1.179/toolkit/include/SYS/fpreal16.h:245: error: expected primary-expression before ‘f’
In file included from SOP_Flatten.C:31:

WHAT's going on?
Thanks
Houdini is great! O'right?
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
suse, gcc4.3
Houdini is great! O'right?
User Avatar
Member
85 posts
Joined: July 2005
Offline
It appears, that the HDK doesnt find the main headers of the system such as iostream.h.
Are they installed in a different place?
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
I don't think so.
Houdini is great! O'right?
User Avatar
Member
7740 posts
Joined: July 2005
Offline
Or installed at all?
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Hey, Edward! Yep! Maybe, there are some env vars which I need to write to my linux?
Houdini is great! O'right?
User Avatar
Member
7740 posts
Joined: July 2005
Offline
No, you probably need libstdc++ (and/or libstdc++devel)
User Avatar
Member
139 posts
Joined: July 2005
Offline
g++ 4.3 reorganized the C++ headers a bit, so this may be part of the problem. Try compiling with g++ 4.2 and see if that helps
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Thanks, Edward, Catlee. I will try
Houdini is great! O'right?
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Hey, catlee! 4.1.3 works well! Thanks
Houdini is great! O'right?
  • Quick Links