You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2021. It is now read-only.
I have a Ubuntu 18.04 box, with a NVidia GPU installed as well.
I'm trying to build this project as per the steps below that are listed in the repository's README.md. But I am getting errors with the cmake command below (tagged with '<===')...
$ sudo apt-get install cmake
$ git clone http://github.com/udacity/RoboND-DeepRL-Project
$ cd RoboND-DeepRL-Project
$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ../ <========== THIS STEP FAILS######
$ make
The error log contains this information:
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f9c7e/fast"
/usr/bin/make -f CMakeFiles/cmTC_f9c7e.dir/build.make CMakeFiles/cmTC_f9c7e.dir/build
make[1]: Entering directory '/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f9c7e.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/usr/include/qt4 -std=c++11 -o CMakeFiles/cmTC_f9c7e.dir/CheckSymbolExists.cxx.o -c /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope
return ((int*)(&Q_WS_WIN))[argc];
^~~~~~~~
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
return ((int*)(&Q_WS_WIN))[argc];
^~~~~~~~
Q_WS_X11
CMakeFiles/cmTC_f9c7e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f9c7e.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_f9c7e.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f9c7e/fast' failed
make: *** [cmTC_f9c7e/fast] Error 2
File /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_WIN
return ((int*)(&Q_WS_WIN))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_84756/fast"
/usr/bin/make -f CMakeFiles/cmTC_84756.dir/build.make CMakeFiles/cmTC_84756.dir/build
make[1]: Entering directory '/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_84756.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/usr/include/qt4 -std=c++11 -o CMakeFiles/cmTC_84756.dir/CheckSymbolExists.cxx.o -c /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope
return ((int*)(&Q_WS_QWS))[argc];
^~~~~~~~
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
return ((int*)(&Q_WS_QWS))[argc];
^~~~~~~~
Q_WS_X11
CMakeFiles/cmTC_84756.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_84756.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_84756.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_84756/fast' failed
make: *** [cmTC_84756/fast] Error 2
File /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_QWS
return ((int*)(&Q_WS_QWS))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_2a59e/fast"
/usr/bin/make -f CMakeFiles/cmTC_2a59e.dir/build.make CMakeFiles/cmTC_2a59e.dir/build
make[1]: Entering directory '/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_2a59e.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/usr/include/qt4 -std=c++11 -o CMakeFiles/cmTC_2a59e.dir/CheckSymbolExists.cxx.o -c /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope
return ((int*)(&Q_WS_MAC))[argc];
^~~~~~~~
/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
return ((int*)(&Q_WS_MAC))[argc];
^~~~~~~~
Q_WS_X11
CMakeFiles/cmTC_2a59e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_2a59e.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_2a59e.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2a59e/fast' failed
make: *** [cmTC_2a59e/fast] Error 2
File /data/code/RoboND-DeepRL-Project/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_MAC
return ((int*)(&Q_WS_MAC))[argc];
#else
(void)argc;
return 0;
#endif
}
I can't proceed to the 'make' step without getting past these errors. Is there any way to fix/resolve these references?
Hi.
I have a Ubuntu 18.04 box, with a NVidia GPU installed as well.
I'm trying to build this project as per the steps below that are listed in the repository's README.md. But I am getting errors with the cmake command below (tagged with '<===')...
The error log contains this information:
I can't proceed to the 'make' step without getting past these errors. Is there any way to fix/resolve these references?
Thanks in advance!