Install Wings3D: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
 
Line 21: Line 21:
  cd ..
  cd ..
  make
  make
  echo -e "#!/bin/sh\nexec erl -smp -pa $PWD/ebin"' -run wings_start start_halt ${1+"$@"}' >wings.sh
  echo -e '#!/bin/sh\nexec erl -smp -pa'" $PWD/ebin"' -run wings_start start_halt ${1+"$@"}' >wings.sh
  chmod +x wings.sh
  chmod +x wings.sh



Latest revision as of 18:18, 12 October 2017

Wings3D

see also https://github.com/dgud/wings/blob/v2.1.5/BUILD.unix

Prerequisites

Install erlang with wx and rebar modules and opencl headers

sudo zypper in erlang erlang-wx erlang-rebar opencl-headers

Install cl and wings

git clone https://github.com/dgud/wings.git
cd wings
git checkout tags/v2.1.5
export ERL_LIBS=$PWD

git clone https://github.com/tonyrog/cl.git
cd cl
rebar compile
cd ..
make
echo -e '#!/bin/sh\nexec erl -smp -pa'" $PWD/ebin"' -run wings_start start_halt ${1+"$@"}' >wings.sh
chmod +x wings.sh

Run Wings3D

cd wings
./wings.sh