Re-sending to ml.
2016-05-07 22:03 GMT+03:00 Nikita Krupenko <[email protected]>: > 2016-05-05 19:22 GMT+03:00 Thiago Macieira <[email protected]>: >> One thing, however, struck me in your description: you said you're building a >> *tarball* with MSVC2013. Does it mean you downloaded the .tar.gz or .tar.xz >> file for Windows? If so, be careful with line endings. > > I can confirm build failures of qtgamepad v5.7.0-beta1 on Linux with > gcc 5.3.1, though the errors are different: > g++ -c -pipe -g -std=c++1z -fvisibility=hidden > -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time > -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_EXCEPTIONS > -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_PLUGIN > -DQT_PLATFORMSUPPORT_LIB -DQT_GAMEPAD_LIB -DQT_GUI_LIB -DQT_CORE_LIB > -I/mnt/store/Development/qt5/qtgamepad/src/plugins/gamepads/evdev -I. > -I/mnt/store/Development/build_qt5.7_git/qtbase/include > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtPlatformSupport > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtPlatformSupport/5.7.0 > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtPlatformSupport/5.7.0/QtPlatformSupport > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtGui/5.7.0 > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtGui/5.7.0/QtGui > -I../../../../include/QtGamepad/5.7.0 > -I../../../../include/QtGamepad/5.7.0/QtGamepad -I../../../../include > -I../../../../include/QtGamepad > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtGui > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtCore/5.7.0 > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtCore/5.7.0/QtCore > -I/mnt/store/Development/build_qt5.7_git/qtbase/include/QtCore -I.moc > -isystem /usr/include/libdrm > -I/mnt/store/Development/qt5/qtbase/mkspecs/linux-g++ -o > .obj/qevdevgamepadbackend.o > /mnt/store/Development/qt5/qtgamepad/src/plugins/gamepads/evdev/qevdevgamepadbackend.cpp > /mnt/store/Development/qt5/qtgamepad/src/plugins/gamepads/evdev/qevdevgamepadbackend.cpp: > In member function 'void > QEvdevGamepadDevice::EvdevAxisInfo::setAbsInfo(int, int)': > /mnt/store/Development/qt5/qtgamepad/src/plugins/gamepads/evdev/qevdevgamepadbackend.cpp:79:67: > error: 'fabs' was not declared in this scope > flat = fabs(absInfo.flat / double(maxValue - minValue)); > ^ > /mnt/store/Development/qt5/qtgamepad/src/plugins/gamepads/evdev/qevdevgamepadbackend.cpp: > In member function 'void > QEvdevGamepadDevice::processInputEvent(input_event*)': > /mnt/store/Development/qt5/qtgamepad/src/plugins/gamepads/evdev/qevdevgamepadbackend.cpp:446:46: > error: 'fabs' was not declared in this scope > if (fabs(inf.normalized(e->value)) == 1) { > ^ > /mnt/store/Development/qt5/qtgamepad/src/plugins/gamepads/evdev/qevdevgamepadbackend.cpp:506:98: > error: 'fabs' was not declared in this scope > emit m_backend->gamepadButtonPressed(m_productId, > info.gamepadMaxButton, fabs(val)); > > ^ > Makefile:1113: recipe for target '.obj/qevdevgamepadbackend.o' failed _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
