quinta-feira, 24 de janeiro de 2019

using GCC 6.3 in Centos 7 -- HOUDINI HDK

Centos7 comes with gcc 4.8
but Houdini 17 needs gcc 6.3 at least

so you need install a update version
and left old version only for the system general uses
you will need  SCL package manager  and GCC 6.3 dev toolset

Write down in terminal :

sudo yum -y install centos-release-scl
sudo yum -y install devtoolset-6

then to compiling using hcustom and this new dev toolset
just send commands by scl
lets go compile geoisosphere from HDK samples :

scl enable devtoolset-6 "hcustom -s geoisosurface.C"

output :

Making geoisosurface.o from geoisosurface.C
Making ./geoisosurface from geoisosurface.o
g++ geoisosurface.o -lpthread -o ./geoisosurface -L /opt/hfs17.0.352/dsolib -lHoudiniUI -lHoudiniOPZ -lHoudiniOP4 -lHoudiniUSD -lHoudiniOP3 -lHoudiniOP2 -lHoudiniOP1 -lHoudiniSIM -lHoudiniGEO -lHoudiniPRM -lHoudiniUT -lhboost_system -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lGL -lX11 -lXext -lXi -ldl -Wl,-rpath,/opt/hfs17.0.352/dsolib


done!





Nenhum comentário:

Postar um comentário