skipbo
04-05-2019, 02:29 PM
Running fedora 29
[root@localhost showeq-5.13.10.80]# lsb_release -r
Release: 29
Compilier versions:
gcc.x86_64 8.3.1-2.fc29
gcc-c++.x86_64 8.3.1-2.fc29
I have went through an installed all of the dependencies and ./configure runs ok.
Success!
Please run:
make
Make fails with the following:
make all-recursive
make[1]: Entering directory '/home/dshetler/Downloads/showeq-5.13.10.80'
Making all in src
make[2]: Entering directory '/home/dshetler/Downloads/showeq-5.13.10.80/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
In file included from spawn.h:33,
from spawnlistcommon.h:26,
from spawnlist.h:47,
from interface.h:33,
from main.cpp:44:
point.h: In member function ‘QPoint& Point3D<_T>::offsetPoint(const QPoint&, double)’:
point.h:247:10: error: cannot bind non-const lvalue reference of type ‘QPoint&’ to an rvalue of type ‘QPoint’
return QPoint((centerPoint.x() - (int)(x() / ratio)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(centerPoint.y() - (int)(y() / ratio)));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
point.h: In member function ‘QPoint& Point3D<_T>::inverseOffsetPoint(const QPoint&, double)’:
point.h:254:10: error: cannot bind non-const lvalue reference of type ‘QPoint&’ to an rvalue of type ‘QPoint’
return QPoint(int(rint((centerPoint.x() - x()) * ratio)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int(rint((centerPoint.y() - y()) * ratio)));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:562: main.o] Error 1
make[2]: Leaving directory '/home/dshetler/Downloads/showeq-5.13.10.80/src'
make[1]: *** [Makefile:349: all-recursive] Error 1
make[1]: Leaving directory '/home/dshetler/Downloads/showeq-5.13.10.80'
make: *** [Makefile:278: all] Error 2
Im wandering if i need to downdate gcc? I can output a full list of dependency versions if needed. I had to fix/workaround another error with everquest header file but I am not adept enough to resolve this one.
[root@localhost showeq-5.13.10.80]# lsb_release -r
Release: 29
Compilier versions:
gcc.x86_64 8.3.1-2.fc29
gcc-c++.x86_64 8.3.1-2.fc29
I have went through an installed all of the dependencies and ./configure runs ok.
Success!
Please run:
make
Make fails with the following:
make all-recursive
make[1]: Entering directory '/home/dshetler/Downloads/showeq-5.13.10.80'
Making all in src
make[2]: Entering directory '/home/dshetler/Downloads/showeq-5.13.10.80/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/qt-3.3/include -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
In file included from spawn.h:33,
from spawnlistcommon.h:26,
from spawnlist.h:47,
from interface.h:33,
from main.cpp:44:
point.h: In member function ‘QPoint& Point3D<_T>::offsetPoint(const QPoint&, double)’:
point.h:247:10: error: cannot bind non-const lvalue reference of type ‘QPoint&’ to an rvalue of type ‘QPoint’
return QPoint((centerPoint.x() - (int)(x() / ratio)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(centerPoint.y() - (int)(y() / ratio)));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
point.h: In member function ‘QPoint& Point3D<_T>::inverseOffsetPoint(const QPoint&, double)’:
point.h:254:10: error: cannot bind non-const lvalue reference of type ‘QPoint&’ to an rvalue of type ‘QPoint’
return QPoint(int(rint((centerPoint.x() - x()) * ratio)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int(rint((centerPoint.y() - y()) * ratio)));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:562: main.o] Error 1
make[2]: Leaving directory '/home/dshetler/Downloads/showeq-5.13.10.80/src'
make[1]: *** [Makefile:349: all-recursive] Error 1
make[1]: Leaving directory '/home/dshetler/Downloads/showeq-5.13.10.80'
make: *** [Makefile:278: all] Error 2
Im wandering if i need to downdate gcc? I can output a full list of dependency versions if needed. I had to fix/workaround another error with everquest header file but I am not adept enough to resolve this one.