Install Wings3D

From JoBaPedia
Jump to navigation Jump to search

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