BradWBeer / clinch

Common Lisp 3D/2D Graphics Engine for OpenGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDL not built with haptic (force feedback) support : BSD

ArnautDaniel opened this issue · comments

commented

Running Tutorial01 code causes the following message to be displayed:

This is SBCL 1.3.10, an implementation of ANSI Common Lisp.
More information about SBCL is available at http://www.sbcl.org/.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.

  • (ql:quickload :clinch)
    To load "clinch":
    Load 1 ASDF system:
    clinch
    ; Loading "clinch"
    ..........
    (:CLINCH)
  • (clinch:init)

<SB-THREAD:THREAD "Main Clinch Thread" RUNNING {1005641AA3}>

  • debugger invoked on a SDL2::SDL-RC-ERROR in thread
    #<THREAD "Main Clinch Thread" RUNNING {1005641AA3}>:
    SDL Error (-1): SDL not built with haptic (force feedback) support

Tested with SBCL 1.3.10 compiled to use threads on Freebsd 11.0-Release

I recompiled SDL2 ensuring that haptic feedback was enable and still get the same error.

Could you try loading SDL2 using "(ql:quickload :sdl2)" and see if you get the same error?

commented

CL-USER> (ql:quickload '(sdl2 clinch))
To load "sdl2":
Load 1 ASDF system:
sdl2
; Loading "sdl2"

To load "clinch":
Load 1 ASDF system:
clinch
; Loading "clinch"

(SDL2 CLINCH)
CL-USER> (clinch:init)
<SB-THREAD:THREAD "Main Clinch Thread" RUNNING {1004C33373}>

Same Haptic Feedback error comes up too.

Doesn't look like it did it. I'll keep messing around with it.

You might try to quickload sdl2/examples and run them; afair CL sdl2 requires haptic feedback.