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-04-2016, 01:11 PM
Post: #6
RE: Compiling from source, errors in wings.hrl
I just tested 1.5.4 builds clean with 18.3 release, so an erlang 18.* should be used.

-Werror is located for instance in src/Makefile in line 135

export ERL_LIBS=/home/dgud/src

> ls $ERL_LIBS
cl esdl wings

You can have several dirs in your ERL_LIBS=/usr/lib/erlang/lib:/home/callmeclean/src
if wings code dir is located in /home/callmeclean/src
(note on windows the separator is ';' instead of ':')

wings-2.0 requires that itself is included in ERL_LIBS, it is much easier to find include files that way.

wings-2.0 requires wxWidgets packages and that erlang is compiled to use them.

You can test with:
>erl
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V7.3 (abort with ^G)
1> wx:demo().
ok
2>

should pop up a demo window or print an error message.
Reply


Messages In This Thread
RE: Compiling from source, errors in wings.hrl - dgud - 05-04-2016 01:11 PM

Forum Jump:


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