udacity / fcnd-issue-reports

You can use this repository to file issue reports with the Flying Car Nanodegree content.
1 stars 4 forks source link

Simulator - Controls Project missing compile flag for Ubuntu #360

Open Shreeyak opened 6 years ago

Shreeyak commented 6 years ago

I am on Ubuntu 16.04. The project upon compiling with cmake throws no errors, but running the executable gives me a white screen.

Building with QtCreator gives me a bunch of errors. Adding the option for c++ 11 to the compile flags solves this issue for me.

Added this line to the end of the CPPSim.pro file: QMAKE_CXXFLAGS += -std=c++11

Shreeyak commented 6 years ago

It's interesting to note that the Cmakelists.txt has added the option for c++ 11: set(CMAKE_CXX_STANDARD 11)

So it doesn't throw any errors, but does give that weird white screen upon launching.