Compile Houdini HDK For First Time On Mac M1 Pro

   706   4   0
User Avatar
Member
4 posts
Joined: Oct. 2015
Offline
Hi ,

I'm looking for a guidance to compile a simple hdk plugin in Mac M1 Envirnoment,
I just tried to compile the SOP_star Example in the sample folder by using these instructions

# Source the Houdini environment.
# On OSX, use Command Line Tools from Application menu
cd /opt/hfsX.Y.ZZZ
source houdini_setup
# Copy the toolkit samples to your working space.
# Make sure you have full permissions on the samples folder.
cd $HOME
cp -R $HFS/toolkit/samples .
chmod -R 777 ./samples
# Dive into the SOP samples directory.
# Build the SOP Star example.
cd ./samples/SOP/SOP_Star
hython $HH/python3.7libs/generate_proto.py SOP_Star.C SOP_Star.proto.h
hcustom SOP_Star.C

Once I ran the hcustom to compile this project , I'm facing this error message


/Applications/Houdini/Houdini19.0.622/Frameworks/Houdini.framework/Versions/Current/Resources/toolkit/include/VM/VM_SSEFunc.h:30:10: fatal error: 'sse2neon.h' file not found
#include <sse2neon.h>
It does not seems to support SVE SIMD instructions

Anyone here have an experience of compiling an hdk on a Mac M1 machine ?


Thanks,
Mo
Mohamed Kamal
Technical Director ( Procedural Geometry & FX ) at Animal Logic
User Avatar
Member
134 posts
Joined: Nov. 2012
Offline
I'm able to compile using hcustom on M1 Max. Gonna take a shot in the dark here and ask are you compiling against an arm64 tech preview build of Houdini or an x86 one?
Matt Puchala
www.mattpuchala.com
User Avatar
Member
4 posts
Joined: Oct. 2015
Offline
Hi Matt , Thanks for you're reply , I'm using this version :


APPLE SILICON BUILDS TECH PREVIEW

-> houdini-19.0.657-macosx_arm64_clang12.0_11.dmg

I'm gonna give it another try
Mohamed Kamal
Technical Director ( Procedural Geometry & FX ) at Animal Logic
johnmather
Staff
266 posts
Joined: Aug. 2019
Offline
sse2neon is not currently included with Houdini - you will need to install it manually. You can find it here: https://github.com/DLTcollab/sse2neon/releases/tag/v1.5.1 [github.com]
User Avatar
Member
4 posts
Joined: Oct. 2015
Offline
Thanks @Johnmather , I'm now be able to build my HDK without this dependancy
Mohamed Kamal
Technical Director ( Procedural Geometry & FX ) at Animal Logic
  • Quick Links