Results 1 to 2 of 2

Thread: make fails on point.h lines 247 and 254

  1. #1
    Registered User
    Join Date
    Apr 2019

    make fails on point.h lines 247 and 254

    Running fedora 29
    [[email protected] showeq-]# 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.

    Please run:

    Make fails with the following:

    make all-recursive
    make[1]: Entering directory '/home/dshetler/Downloads/showeq-'
    Making all in src
    make[2]: Entering directory '/home/dshetler/Downloads/showeq-'
    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>:ffsetPoint(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-'
    make[1]: *** [Makefile:349: all-recursive] Error 1
    make[1]: Leaving directory '/home/dshetler/Downloads/showeq-'
    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.

  2. #2
    Did you SEQ today? BlueAdept's Avatar
    Join Date
    Dec 2001

    Re: make fails on point.h lines 247 and 254

    Is qt3 still on fedora core without adding it? It looks like a QT issue to me. I believe newer gcc versions do not support qt3. I could be wrong.

    If you use CentOS 6.9 you wont have any issues. Compiles right out of the box.
    Filters for ShowEQ can now be found here. filters-5xx-06-20-05.tar.gz

    ShowEQ file section is here.

    Famous Quotes:

    Ratt: WTF you talkin' about BA? (Ok.. that sounds like a bad combo of Diffrent Strokes and A-Team)

    Razzle: I showeq my wife

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On