Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile #35

Open
dple opened this issue Sep 21, 2023 · 0 comments
Open

Failed to compile #35

dple opened this issue Sep 21, 2023 · 0 comments

Comments

@dple
Copy link

dple commented Sep 21, 2023

I got the following errors when going to 'make' (on Ubuntu 16.04)

g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o tmgraphview.o tmgraphview.cpp
tmgraphview.cpp: In member function ‘void TMGraphView::onEventReceived(Event)’:
tmgraphview.cpp:161:9: error: ‘reverse_iterator’ is not a member of ‘QList’
QList::reverse_iterator event_rit = block_it->events.rbegin();
^
tmgraphview.cpp:163:16: error: ‘event_rit’ was not declared in this scope
while (event_rit != block_it->events.rend() and event_rit->time == ev.time) {
^
tmgraphview.cpp:163:46: error: ‘class QList’ has no member named ‘rend’
while (event_rit != block_it->events.rend() and event_rit->time == ev.time) {
^
tmgraphview.cpp: In member function ‘virtual void TMGraphView::wheelEvent(QWheelEvent*)’:
tmgraphview.cpp:392:40: error: ‘class QWheelEvent’ has no member named ‘position’
addressMove((long long)(event->position().x()/address_zoom_factor*(2f)/(1+f)));
^
tmgraphview.cpp:397:37: error: ‘class QWheelEvent’ has no member named ‘position’
timeMove((long long)(event->position().y()/time_zoom_factor
(2*f)/(1+f)));
^
Makefile:385: recipe for target 'tmgraphview.o' failed
make: *** [tmgraphview.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant