Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error with ue4.6 #7

Open
tsky1971 opened this issue Nov 14, 2014 · 2 comments
Open

compile error with ue4.6 #7

tsky1971 opened this issue Nov 14, 2014 · 2 comments

Comments

@tsky1971
Copy link

Hi,
i got an error compile from Source UE4.6, with UE4.5 from Source and from Launcher the plugins works with an X52 but not with an MSForceWheel.

The Error:
D:\UE4\cglabUnrealEngine_4.6\Engine\Plugins\JoystickPlugin\Source\JoystickPlugin\Private\FJoystickPlugin.cpp(200): error C2664: 'bool FSlateApplication::OnControllerButtonPressed(EControllerButtons::Type,int32,bool)' : cannot convert argument 1 from 'int' to 'EControllerButtons::Type'
19> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)

Any Idea to solve this ?

tsky

@Ikarus76
Copy link
Owner

Hi,
  I will look at this later today. I still didn't update to 4.6 :)

  If its only a problem of casting the value, it should be solved
  quickly.

  regards,
  Michael

  On 14.11.2014 12:13, tsky wrote:


  Hi,
    i got an error compile from Source UE4.6, with UE4.5 from Source
    and from Launcher the plugins works with an X52 but not with an
    MSForceWheel.
  The Error:
    D:\UE4\cglabUnrealEngine_4.6\Engine\Plugins\JoystickPlugin\Source\JoystickPlugin\Private\FJoystickPlugin.cpp(200):
    error C2664: 'bool
    FSlateApplication::OnControllerButtonPressed(EControllerButtons::Type,int32,bool)'
    : cannot convert argument 1 from 'int' to
    'EControllerButtons::Type'
    19> Conversion to enumeration type requires an explicit cast
    (static_cast, C-style cast or function-style cast)
  Any Idea to solve this ?
  tsky
  —
    Reply to this email directly or view
      it on GitHub.

@getnamo
Copy link
Contributor

getnamo commented Dec 6, 2014

Made a pull request with compilation fixes for 4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants