Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Compiling from source, errors in wings.hrl
05-03-2016, 04:19 PM (This post was last modified: 05-03-2016 04:21 PM by callmeclean.)
Post: #1
Compiling from source, errors in wings.hrl
I downloaded the wings-1.5.4 source from sourceforge. I've followed the instructions in BUILD.unix, replacing some of it with packages available in my systems repos, and have managed to reduce errors down to a last similar few (I hope). I'm using GNU/Linux Trisquel (fork of Ubuntu). Here is the make output:

Code:
(cd intl_tools; make)
make[1]: Entering directory `/tmp/wings-1.5.4/intl_tools'
make TYPE=opt common
make[2]: Entering directory `/tmp/wings-1.5.4/intl_tools'
make[2]: Nothing to be done for `common'.
make[2]: Leaving directory `/tmp/wings-1.5.4/intl_tools'
make[1]: Leaving directory `/tmp/wings-1.5.4/intl_tools'
(cd src; make)
make[1]: Entering directory `/tmp/wings-1.5.4/src'
make TYPE=opt common
make[2]: Entering directory `/tmp/wings-1.5.4/src'
erlc -Werror -I ../e3d +debug_info '-Dwings_version="1.5.4"' -pa ../intl_tools  -o../ebin wings.erl
wings.hrl:172: referring to built-in type queue as a remote type; please take out the module name
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:191: referring to built-in type array as a remote type; please take out the module name
wings.hrl:193: referring to built-in type set as a remote type; please take out the module name
wings.hrl:194: referring to built-in type array as a remote type; please take out the module name
wings.hrl:196: 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 `/tmp/wings-1.5.4/src'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/tmp/wings-1.5.4/src'
make: *** [all] Error 2

Here are the packages I installed:
erlang libsdl1.2-dev rebar erlang-esdl erlang-cl erlang-esdl-dev
I don't think I needed rebar, as I wasn't building any of the other dependencies from source, but wasn't sure.
I ran the command export ERL_LIBS=/usr/lib/erlang/lib

The only info I could gather from searching around is these issues might be to do with incompatibility between Erlang versions? Thanks for any help!
Reply


Messages In This Thread
Compiling from source, errors in wings.hrl - callmeclean - 05-03-2016 04:19 PM

Forum Jump:


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