The latest SVN bugs thread

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.

Re: The latest SVN bugs thread

Postby CuteAlien » Thu Jul 07, 2016 8:53 am

Usually you have to set the _IRR_STATIC_LIB_ define in the library and in your application.
gcc might also prefer a shared lib when it finds one no matter the settings.
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8528
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: The latest SVN bugs thread

Postby Wol101 » Sun Jul 17, 2016 10:47 am

There is a small bug in CIrrDeviceOSX.mm with an easy fix. If you compile without _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ defined then the virtual keycodes are not defined because they are defined inside the joystick #ifdef block. However they are used in code elsewhere so they do need be defined. The fix is simple, you just move the virtual keycode definitions to the beginning of the file so they are always defined.

I don't suppose this is terribly important. It only happens if you turn off joystick support and the easiest fix is just to keep the joystick support enabled - you don't actually have to use it.
Wol101
 
Posts: 9
Joined: Sat Apr 23, 2016 6:39 am

Re: The latest SVN bugs thread

Postby CuteAlien » Sun Aug 14, 2016 2:32 pm

@Wol101: Thanks. I tried to fix it (in svn trunk), but can't test unfortunately (I don't have OSX). Hope it works....
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8528
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: The latest SVN bugs thread

Postby minertester » Sun Jan 08, 2017 8:18 pm

Hello!

I have an issue with the game minetest on archlinux and I suspect this is an Irrlicht issue.

Minestest used to work normally until some point (though i don't know when exactly the issue occurred since it's been a long time since I have played that game before that). The mouse control doesn't seem to function properly, more specifically constant and uncontrollable rotation at each move.

I thought it was an issue with minetest so I gave a look at their code. It seems to me that minetest does proper handling of mouse input.

I think the problem is as follows: the EventReceiver constantly receives EMIE_Mouse_Moved events even when the mouse is not moving. The position given by the event seems to be wrong, as when the mouse is not moving, the position given is the center of the device instead of the actual position of the mouse. Is this expected?

The issue is present with the "official" version of minetest as well as the latest version available through git. The current version of irrlicht on archlinux is 1.8.4-1.

I don't know why this would occur only for minetest though but I can't be the only one with this issue?
minertester
 
Posts: 2
Joined: Sun Jan 08, 2017 8:03 pm

Re: The latest SVN bugs thread

Postby CuteAlien » Sun Jan 08, 2017 9:25 pm

Hm, those events are passed on directly from X11, so sound more like a problem there. Unless Minetest is creating those events itself (can be done from code).
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8528
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: The latest SVN bugs thread

Postby minertester » Tue Jan 10, 2017 7:32 pm

You're right. The program generates those messages itself by setting the mouse position. I'm not sure why they do that and how this is related to my issue though. Thanks for pointing this out!
minertester
 
Posts: 2
Joined: Sun Jan 08, 2017 8:03 pm

Previous

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest