Menu

#15 Driver failed: Driver compiled with incorrect version of erl

open
nobody
None
7
2012-05-02
2012-05-02
dmillard10
No

Due to changes in Erlang R15B01, esdl does not load.

$ erl
Erlang R15B01 (erts-5.9.1) [source] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.9.1 (abort with ^G)
1> sdl:init(32).
Driver failed: Driver compiled with incorrect version of erl_driver.h
** exception error: bad argument
in function port_control/3
called as port_control(esdl_port,21,<<32,0,0,0>>)
in call from sdl:init/1 (sdl.erl, line 90)
2> sh: line 0: exec: sdl_driver: not found

Discussion

  • dmillard10

    dmillard10 - 2012-05-02
    • priority: 5 --> 7
     
  • Dan Gudmundsson

    Dan Gudmundsson - 2012-05-02

    Try the master branch on github it should be fixed there.

    Oops it is not, I will commit tonight Swedish time...
    Or if you are in a hurry, see git@github.com:dgud/esdl.git dgud/r15b-driver-compat

    That explains a couple of things, thanks for the bug report.

     

Log in to post a comment.