Compiling field3d ROP

   1836   1   0
User Avatar
Member
301 posts
Joined: July 2005
Offline
Hi,

I am attempting to build the field3d ROP on Ubuntu 10.04 x64

However, I cam across this error with the header file shipped with Houdini

=====================================================================
nicholas@asusrog:~/projects/field3d/field3d-houdini$ which hcustom
/opt/sesi/hfs12.0.599/bin/hcustom
nicholas@asusrog:~/projects/field3d/field3d-houdini$ hcustom -I $MPICH2_ROOT/include -I $FIELD3D_ROOT/include -I /opt/sesi/hfs12.0.599/toolkit/include/OpenEXR -L $FIELD3D_ROOT/lib -l Field3D f3dtools.C
Linking with ‘libField3D’
Making f3dtools.o and /home/nicholas/houdini12.0/dso/f3dtools.so from f3dtools.C
In file included from /home/nicholas/systems/Field3D/include/Field3D/StdMathLib.h:41,
from /home/nicholas/systems/Field3D/include/Field3D/Types.h:53,
from /home/nicholas/systems/Field3D/include/Field3D/Traits.h:54,
from /home/nicholas/systems/Field3D/include/Field3D/Field.h:55,
from f3d_io.C:38,
from f3dtools.C:34:
/opt/sesi/hfs12.0.599/toolkit/include/OpenEXR/half.h:102: error: expected initializer before ‘half’
Compile failed

=====================================================================

Any ideas ?

Regards
Nicholas Yue
User Avatar
Member
301 posts
Joined: July 2005
Offline
I see that the error is due to the f3dtools.C code not differentiating between platform when defining the OPENEXR_DLL macros.

This has been fixed in 12.0.613 build.
Nicholas Yue
  • Quick Links