Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Errors on Building 1.5.3
04-24-2014, 05:30 AM
Post: #1
Errors on Building 1.5.3
Hello, I am a user of Wings3D and I am new to building software from source. I am running Ubuntu 13.10 on a 32bit laptop.

My process so far has been to install the following software from the Ubuntu repos:
erlang
libsdl1.2-dev
freeglut3-dev
libglu1-mesa-dev
rebar
erland-esdl
erland-esdl-dev
nvidia-opencl-dev

but since I was afraid that was insufficient, I went ahead and also followed the instructions inside of "BUILD.unix"

In my attempt to follow the build instructions, I managed to make it as far as to building Wings3D itself, but I got this error when trying to use make:
Code:
___@___:~/erlsrc/wings-1.5.3$ make
(cd intl_tools; make)
make[1]: Entering directory `/home/majobl/erlsrc/wings-1.5.3/intl_tools'
make TYPE=opt common
make[2]: Entering directory `/home/majobl/erlsrc/wings-1.5.3/intl_tools'
make[2]: Nothing to be done for `common'.
make[2]: Leaving directory `/home/majobl/erlsrc/wings-1.5.3/intl_tools'
make[1]: Leaving directory `/home/majobl/erlsrc/wings-1.5.3/intl_tools'
(cd src; make)
make[1]: Entering directory `/home/majobl/erlsrc/wings-1.5.3/src'
make TYPE=opt common
make[2]: Entering directory `/home/majobl/erlsrc/wings-1.5.3/src'
erlc -Werror -I ../e3d +debug_info '-Dwings_version="1.5.3"' -pa ../intl_tools  -o../ebin user_default.erl
erlc -Werror -I ../e3d +debug_info '-Dwings_version="1.5.3"' -pa ../intl_tools  -o../ebin wings.erl
wings.hrl:171: function new/0 undefined
wings.hrl:188: function new/0 undefined
wings.hrl:189: referring to built-in type array as a remote type; please take out the module name
wings.hrl:190: referring to built-in type array as a remote type; please take out the module name
wings.hrl:192: referring to built-in type set as a remote type; please take out the module name
wings.hrl:193: referring to built-in type array as a remote type; please take out the module name
wings.hrl:195: referring to built-in type array as a remote type; please take out the module name
make[2]: *** [../ebin/wings.beam] Error 1
make[2]: Leaving directory `/home/majobl/erlsrc/wings-1.5.3/src'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/home/majobl/erlsrc/wings-1.5.3/src'
make: *** [all] Error 2
majobl@majobl-eM-lu:~/erlsrc/wings-1.5.3$ make > ~/wingsBuildLog
make[2]: *** [../ebin/wings.beam] Error 1
make[1]: *** [opt] Error 2
make: *** [all] Error 2

I don't know what to do now, or what I might be missing to build wings3d 1.5.3 correctly, and at this point I am in need of help.
Reply
04-24-2014, 09:42 AM (This post was last modified: 04-24-2014 09:44 AM by dgud.)
Post: #2
RE: Errors on Building 1.5.3
A newer erlang (i.e. 17.0) is required for 1.5.3 and current master.

If you are going to build it yourself, do your self a favor and get all the erlang sources from github.

Setup a dir ~/src
get (and build) esdl wings cl and set ERL_LIBS=~/src
is the easiest way.

PS: If do not want to build erlang your self it might be available here https://www.erlang-solutions.com/downloa...erlang-otp
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)