[eq-dev] Spacemouse events not received anymore

8 views
Skip to first unread message

Robert Hauck

unread,
May 15, 2013, 9:03:41 AM5/15/13
to eq-...@equalizergraphics.com
Hi

I have a problem with the new Equalizer versions from git. I don't get any
Magellan events anymore. I see that the device is found and connected, but
the eq::config never receives any MAGELLAN_BUTTON or MAGELLAN_AXIS events.
Is there a define needed?
I see in eq/client/wgl/eventHandler.cpp that the magellanEventHandler is
surrounded by EQUALIZER_USE_MAGELLAN. Is this needed during building?

With 1.4, they worked as they should.

Cheers,
Robert



--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Stefan Eilemann

unread,
May 15, 2013, 9:38:53 AM5/15/13
to Equalizer Developer List
Hi,

On 15. May 2013, at 15:03, Robert Hauck <hu...@bfh.ch> wrote:

> I don't get any Magellan events anymore.

This is a regression introduced with a cleanup yesterday. Should be fixed now.


Cheers,

Stefan.

Robert Hauck

unread,
May 15, 2013, 1:40:29 PM5/15/13
to eq-...@equalizergraphics.com
Hi Stefan

Thanks for the reply. I tried to compile Equalizer but can't get over an
error with bison:

4> [BISON][PARSER] Building parser with bison 2.4.1
12>
12> 4> loader.y: conflicts: 43 shift/reduce
12>
12> 4> bison_original: m4: Permission denied

I had this once with an old version of bison, but I use 2.4.1 which seems to
be the latest.

Any ideas?

Cheers,
Robert



--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583204.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

Stefan Eilemann

unread,
May 16, 2013, 3:28:34 AM5/16/13
to Equalizer Developer List

On 15. May 2013, at 19:40, Robert Hauck <hu...@bfh.ch> wrote:

> 12> 4> bison_original: m4: Permission denied
>
> I had this once with an old version of bison, but I use 2.4.1 which seems to
> be the latest.
>
> Any ideas?

The bison executable is untarred from CMake/GnuWin32.tar.gz into CMAKE_BINARY_DIR. Can you check for the m4 executable right there, or simply re-execute the unpacking?


Cheers,

Stefan.

Robert Hauck

unread,
May 16, 2013, 3:35:35 AM5/16/13
to eq-...@equalizergraphics.com
This is there and extracted, but CMake doesn't find it...

Cheers,
Robert



--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583207.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

Stefan Eilemann

unread,
May 17, 2013, 2:59:02 AM5/17/13
to eq-...@equalizergraphics.com
Hi Robert,

On 16. May 2013, at 9:35, Robert Hauck [via Software] <ml-node+s17...@n2.nabble.com> wrote:

> This is there and extracted, but CMake doesn't find it...

That's weird. I tried to reproduce yesterday but doing this on a VM (aside the other work stuff) means it takes forever...

Bison is invoked properly, and is in fact just a batch script which is supposed to set the PATH correctly (to find m4) and then invoke the real bison executable. Either the PATH goes wrong or m4 is not executable. Can you verify both?


Cheers,

Stefan.





--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583213.html

Robert Hauck

unread,
May 17, 2013, 4:56:26 AM5/17/13
to eq-...@equalizergraphics.com
Ok, the problem is, it gets extracted too late. in CMakelists.txt, ln 16
FindPackages gets included by inlcude(configure), which searches for BISON
in ln 81. But UseGnuWin32 gets call in line 55, which is too late. So if
CMake searches for Bison, it's not yet extracted. Moving it up before
include(configure) helps to find it there, but later
eq/server/CmakeLists.txt ln 6 doesn't find Flex...

Cheers,
Robert



--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583218.html

Stefan Eilemann

unread,
May 17, 2013, 8:00:51 AM5/17/13
to eq-...@equalizergraphics.com

On 17. May 2013, at 10:56, Robert Hauck [via Software] <ml-node+s171...@n2.nabble.com> wrote:

> Ok, the problem is, it gets extracted too late.

That makes sense. I forgot the implications of bison/flex on Windows when I did this cleanup. I now reverted to the state before, and hopefully it works again. If it still doesn't find flex, can you give me a bit more data on the error?


Cheers,

Stefan.





--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583220.html

Robert Hauck

unread,
May 17, 2013, 8:23:27 AM5/17/13
to eq-...@equalizergraphics.com
Hi Stefan

It works again. But still the same error with bison during compilation of
eq/server:

12> 4> [BISON][PARSER] Building parser with bison 2.4.1
12>
12> 4> loader.y: conflicts: 43 shift/reduce
12>
12> 4> bison_original: m4: Permission denied

What is this bison_original? I only see a bison_simple, which I think isn't
used anymore?

Cheers,
Robert



--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583221.html

Stefan Eilemann

unread,
May 17, 2013, 8:31:55 AM5/17/13
to eq-...@equalizergraphics.com

On 17. May 2013, at 14:23, "Robert Hauck [via Software]" <ml-node+s171...@n2.nabble.com> wrote:

> It works again. But still the same error with bison during compilation of eq/server:

arg!

> What is this bison_original? I only see a bison_simple, which I think isn't used anymore?

It's the original bison executable, since bison is a batch script setting PATH and invoking bison_original. They all should be in CMAKE_BINARY_DIR/GnuWin32.


HTH,

Stefan.





--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583222.html

Robert Hauck

unread,
May 17, 2013, 8:53:06 AM5/17/13
to eq-...@equalizergraphics.com
I see. I looked in eq/server directory and didn't see that original binary.

However, I just tested it with directly using CMake on the Equalizer source,
same error. Am I the only one who uses Equalizer on Windows? :-) I tested in
on two different computers, same error. Maybe a VS2012 bug?
Cheers,
Robert



--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583223.html

Robert Hauck

unread,
May 23, 2013, 8:06:57 AM5/23/13
to eq-...@equalizergraphics.com
I figured it out with the bison error. It seemed that there was somewhere in
the path variable another m4 which generated this error.

I changed bison.bat from the GnuWin32/bin directory to
@set PATH=%~dp0;%PATH%

Maybe this helps another one with the same error.

Cheers,
Robert





--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583265.html

Stefan Eilemann

unread,
May 23, 2013, 8:56:15 AM5/23/13
to eq-...@equalizergraphics.com

On 23. May 2013, at 14:06, "Robert Hauck [via Software]" <ml-node+s17...@n2.nabble.com> wrote:

> I figured it out with the bison error. It seemed that there was somewhere in the path variable another m4 which generated this error.
>
> I changed bison.bat from the GnuWin32/bin directory to
> @set PATH=%~dp0;%PATH%
>
> Maybe this helps another one with the same error.

Fixed in master - thanks.


Cheers,

Stefan.





--
View this message in context: http://software.1713.n2.nabble.com/Spacemouse-events-not-received-anymore-tp7583201p7583268.html
Reply all
Reply to author
Forward
0 new messages