Wings 3D Development Forum
[false+] incorrect version of erl_driver.h - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: [false+] incorrect version of erl_driver.h (/showthread.php?tid=2523)



[false+] incorrect version of erl_driver.h - broozar - 05-15-2017

Wings 2.1.5 crashes on startup. Crashdump:

Code:
Dump written 2017-5-15_15-24
Version: 2.1.5
Window: "<Unknown Window Name>"
Reason: {{load_driver,"Driver compiled with incorrect version of erl_driver.h"},
         [{wxe_server,start,1,[{file,"wxe_server.erl"},{line,65}]},
          {wx,new,1,[{file,"wx.erl"},{line,115}]},
          {wings_theme,native_theme,0,
                       [{file,"c:/Users/familjen/src/wings/src/wings_theme.erl"},
                        {line,89}]},
          {wings_pref,defaults,0,
                      [{file,"c:/Users/familjen/src/wings/src/wings_pref.erl"},
                       {line,380}]},
          {wings_pref,init,0,
                      [{file,"c:/Users/familjen/src/wings/src/wings_pref.erl"},
                       {line,38}]},
          {wings,init,1,
                 [{file,"c:/Users/familjen/src/wings/src/wings.erl"},
                  {line,105}]}]}

system: win 10.0.15063 x64, amd r9 m395x Driver Packaging Version
17.10.2711-170502a-313824E-CrimsonReLive / Radeon Software Version
17.5.1


RE: incorrect version of erl_driver.h - dgud - 05-16-2017

How are you starting wings?
You must have an old erlang in your path or something, this error is just strange and
indicates you environment is incorrect.


RE: incorrect version of erl_driver.h - micheus - 05-16-2017

broozar, is that error happening with a fresh install of v2.1.5 or did you have replaced any of .beams files shared for fixing bugs?


RE: incorrect version of erl_driver.h - broozar - 05-18-2017

False alarm, sorry. I uninstalled Wings, deleted the preferences.txt, and re-installed it. Now it works again.

For completeness' sake, here are the answers to your questions:
- I installed 2.1.5 into the same directory as 1.5.4 without uninstalling it first.
- It does not matter how Wings is started (Desktop shortcut, start menu, exe directly), the error is (was) the same.
- My $PATH did not contain anything looking like Erlang.
- I do not know what .beams files are Confused

Works now though. Thanks for all your hard work on my favourite modelling software since 0.9 Smile


RE: incorrect version of erl_driver.h - micheus - 05-18-2017

broozar, thanks for the feedback.

(05-18-2017, 11:17 AM)broozar Wrote: - I installed 2.1.5 into the same directory as 1.5.4 without uninstalling it first.
You definitively should not do that. Wink

Quote:- My $PATH did not contain anything looking like Erlang.
Erland is the language used to build Wings3D. It's virtual machine (erl.exe/werl.exe) is present in "C:\Program Files\wings3d_2.1.5\bin".

Quote:- I do not know what .beams files are Confused
The .beams files are small executables used by Erlang VM (similar to what .jar files are for Java VM)