Ubuntu: Difference between revisions

Jump to navigation Jump to search
655 bytes added ,  31 October 2017
added troubleshooting info for ubuntu 14.04 with latest simgear source (C++11 strict)
(Update git download link from gitorious to sf)
(added troubleshooting info for ubuntu 14.04 with latest simgear source (C++11 strict))
Line 62: Line 62:
; Only-a-black-screen problem:
; Only-a-black-screen problem:
: If you are a nvidia user and only get a black screen at startup, you might suffer from Ubuntu bug [https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/982485 982485]. Have a look at comment [https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/982485/comments/24 #24] for a possible workaround.
: If you are a nvidia user and only get a black screen at startup, you might suffer from Ubuntu bug [https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/982485 982485]. Have a look at comment [https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/982485/comments/24 #24] for a possible workaround.
; Ubuntu 14.04 LTS could not compile simgear (error with codecvt include)
: As of 2017-10-29 C++11 is enforced in simgear ([https://sourceforge.net/p/flightgear/simgear/ci/2642299d772a3b88264d5fb05086817d0742ced7/ commit log]). Ubuntu 14.04 shipped with GCC 4.8 could not handle full C++11 compatibility. In order to change GCC to newer version use ubuntu-toolchain PPA repository like:
: <pre>sudo add-apt-repository ppa:ubuntu-toolchain-r/test</pre>
: <pre>sudo apt-get update</pre>
: <pre>sudo apt-get install gcc-5 g++-5</pre>
: <pre>sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5</pre>
39

edits

Navigation menu