Open TheGeekiestOne opened 5 years ago
Can you make sure that you have pulled the most recent version?
Hello TheGeekiestOne and Michael. I solved this problem building the source file from gui folder.. and after that the gui worked and did not close with the core dumped error. To build the project on the gui folder you have to put in the comand line qmake gui.pro make
After that you open ./gui
I hope this work for you
Thanks, @collado1992 I will add that to the Medium article and README
I am trying to run the qmake gui.pro and make command on the gui folder but I am getting the following error:
g++ -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o gui main.o mainwindow.o moc_mainwindow.o -lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Network -lQt5Xml -lQt5Core -lGL -lpthread
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:149: recipe for target 'gui' failed
make: *** [gui] Error 1
Don't know what to do anymore, lol.
Have you tried repulling?
On Sat, Aug 10, 2019 at 12:33 PM Rafael Lucas Costa Souza < notifications@github.com> wrote:
I am trying to run the qmake gui.pro and make command on the gui folder but I am getting the following error:
g++ -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o gui main.o mainwindow.o moc_mainwindow.o -lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Network -lQt5Xml -lQt5Core -lGL -lpthread /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status Makefile:149: recipe for target 'gui' failed make: *** [gui] Error 1
and I
Don't know what to do anymore, lol.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ARCC-RACE/deepracer-for-dummies/issues/30?email_source=notifications&email_token=AH3WUVIE2YODDH7ERDY5O5DQD4JYTA5CNFSM4IKMKTP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4ATUQY#issuecomment-520174147, or mute the thread https://github.com/notifications/unsubscribe-auth/AH3WUVLYWPTSUJMXLJ6AW2LQD4JYTANCNFSM4IKMKTPQ .
-- Thanks,
Caelin
Just did a repull and tried to qmake and make commands, no sucess. I wonder if there were something wrong with the dependencies installation.
Have you tried this https://stackoverflow.com/questions/18406369/qt-cant-find-lgl-error
I did it @Michael-Equi. I could compile the code after deleting the "-lGP" from the "gui/Makefile" line 41. I now have some different outputs.
(base) rafael@RafaDeskLinux:~/github/deepracer-for-dummies/gui$ sudo ./gui QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Segmentation fault
Before the gui crashes it throws the following error on the log section:
log analysis started with an ERROR
It does it in the pre compiled gui executer and on the version that I compiled.
I could fix the "-lGL" compiling error by following: http://techtidings.blogspot.com/2012/01/problem-with-libglso-on-64-bit-ubuntu.html My gui is shutting off after throwing "log analysis started with an ERROR" on the log section now.
Hit init
and then refresh
before training.
Do not run sudo ./gui
with sudo
privileges. Simply run ./gui
.
@rafaellucas3 Try repulling. I just pushed an update that should stop the GUI from crashing if the log analysis tool fails to load.
Still throws seg fault when trying to resume the training!
@sushil-bharati Are you still having problems with segmentation fault?
No.
When i run make in gui folder after qmake I got following error:
es/gui$ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I. -o main.o main.cpp
In file included from main.cpp:1:0:
mainwindow.h:4:10: fatal error: QMainWindow: No such file or directory
#include <QMainWindow>
^~~~~~~~~~~~~
compilation terminated.
Makefile:212: recipe for target 'main.o' failed
make: *** [main.o] Error 1
Any idea why ?
Receiving the following error when loading uo the GUI (To note, this was working without the GUI)
redrum69@Linux:~/github/deepracer-for-dummies/build-gui-Desktop-Release$ ./gui libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Segmentation fault (core dumped)
The GUI starts up, but then it crashes, it prompts for password and crasshes,
The Logs: Memory manager failed to start :(