Created
May 25, 2016 21:13
-
-
Save pmattern/0613ce8ab445135c2a3191c6385edf96 to your computer and use it in GitHub Desktop.
nomacs/nomacs: FTBFS on Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generating moc_DkThumbsWidgets.cpp | |
Generating moc_DkToolbars.cpp | |
Generating moc_DkViewPort.cpp | |
Generating moc_DkWidgets.cpp | |
[ 44%] Built target nomacsGui_automoc | |
Scanning dependencies of target nomacsGui | |
[ 45%] Building CXX object CMakeFiles/nomacsGui.dir/src/DkGui/DkPong.cpp.o | |
/usr/local/peter/Tests/nomacs/Projekt/nomacs/ImageLounge/src/DkGui/DkPong.cpp: In member function ‘void nmc::DkBall::fixAngle()’: | |
/usr/local/peter/Tests/nomacs/Projekt/nomacs/ImageLounge/src/DkGui/DkPong.cpp:658:19: error: call of overloaded ‘abs(double&)’ is ambiguous | |
angle = abs(angle); | |
^ | |
In file included from /usr/include/c++/6.1.1/cstdlib:75:0, | |
from /usr/include/c++/6.1.1/bits/stl_algo.h:59, | |
from /usr/include/c++/6.1.1/algorithm:62, | |
from /usr/include/qt/QtCore/qglobal.h:85, | |
from /usr/include/qt/QtGui/qwindowdefs.h:37, | |
from /usr/include/qt/QtWidgets/qwidget.h:37, | |
from /usr/include/qt/QtWidgets/qmainwindow.h:37, | |
from /usr/include/qt/QtWidgets/QMainWindow:1, | |
from /usr/local/peter/Tests/nomacs/Projekt/nomacs/ImageLounge/src/DkGui/DkPong.h:31, | |
from /usr/local/peter/Tests/nomacs/Projekt/nomacs/ImageLounge/src/DkGui/DkPong.cpp:28: | |
/usr/include/stdlib.h:774:12: note: candidate: int abs(int) | |
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; | |
^~~ | |
In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0, | |
from /usr/include/c++/6.1.1/algorithm:62, | |
from /usr/include/qt/QtCore/qglobal.h:85, | |
from /usr/include/qt/QtGui/qwindowdefs.h:37, | |
from /usr/include/qt/QtWidgets/qwidget.h:37, | |
from /usr/include/qt/QtWidgets/qmainwindow.h:37, | |
from /usr/include/qt/QtWidgets/QMainWindow:1, | |
from /usr/local/peter/Tests/nomacs/Projekt/nomacs/ImageLounge/src/DkGui/DkPong.h:31, | |
from /usr/local/peter/Tests/nomacs/Projekt/nomacs/ImageLounge/src/DkGui/DkPong.cpp:28: | |
/usr/include/c++/6.1.1/cstdlib:180:3: note: candidate: long long int std::abs(long long int) | |
abs(long long __x) { return __builtin_llabs (__x); } | |
^~~ | |
/usr/include/c++/6.1.1/cstdlib:172:3: note: candidate: long int std::abs(long int) | |
abs(long __i) { return __builtin_labs(__i); } | |
^~~ | |
CMakeFiles/nomacsGui.dir/build.make:148: recipe for target 'CMakeFiles/nomacsGui.dir/src/DkGui/DkPong.cpp.o' failed | |
make[2]: *** [CMakeFiles/nomacsGui.dir/src/DkGui/DkPong.cpp.o] Error 1 | |
CMakeFiles/Makefile2:184: recipe for target 'CMakeFiles/nomacsGui.dir/all' failed | |
make[1]: *** [CMakeFiles/nomacsGui.dir/all] Error 2 | |
Makefile:149: recipe for target 'all' failed | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment