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:34 PM (This post was last modified: 05-04-2016 03:23 PM by callmeclean.)
Post: #7
RE: Compiling from source, errors in wings.hrl
I've tried removing the -Werror you mentioned, but the errors are still present. I guess that means they are actual errors not just warnings? The only difference is the command before the errors is missing the -Werror that it had before: erlc -I ../e3d +debug_info '-Dwings_version="1.5.4"' -pa ../intl_tools -o../ebin wings.erl

I'll try with Erlang 18.3 tomorrow, I suppose I may as well do it with Wings 2.0.3. Thanks for all the info.

EDIT: I installed the Ubuntu Wily (64-bit) 18.3 deb from erlang-solutions and tested wxWidgets but got an error:
1> wx:demo().
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1009,wx containers,compatible with 2.6).
Aborted

I'm not sure if this means that .deb wasn't compiled against wxWidgets or something else is going on. I tried building Wings 2.0.3 under this anyway and got these errors:
wings_text.erl:22: can't find include lib "wings/intl_tools/wings_chars.hrl"
wings_text.erl:105: undefined macro 'WINGS_CHARS_JP'
wings_text.erl:31: function char_ranges/1 undefined
wings_text.erl:45: function char_ranges/1 undefined
make[2]: *** [../ebin/wings_text.beam] Error 1
make[2]: Leaving directory `/home/finn/Documents/src/wings-2.0.3/src'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/home/finn/Documents/src/wings-2.0.3/src'
make: *** [all] Error 2
Reply


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

Forum Jump:


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