Before I was planning to combine virtual machine development before and after the end of the win, today carefully thought about, not very reliable, back-end debugging is too difficult. The possible solution is the way NetBeans is developed remotely, and I've tried it before and it's a lot of trouble to debug. So decisive download a ubuntu14.04 Kyllin LTS, the maintenance team will support five years, in general, this version is still good. During the installation, there were also some minor problems.
Because I am a dual monitor, only VGA, does not support the kind of HDMI, USB stick after installation, just reboot into the login, there is a problem. It is because of the driving problem, I do not know how to start, if it is open source drive problem, then also do not support CRT it? There is no good solution for a time. Decisive went to squat a toilet, came back to think of a way.
Decisive reboot, and then unplug the HDMI to VGA monitor output socket, log in normal, smooth access to the system, update the source, disable the open source drive, install n card closed source drive, and then Poweroff. Plug in another monitor. Sure enough, everything, as I expected, the dual-monitor output is normal, The graphics driver is working properly. Finally back to the friendly Unity interface, this time with opensuse KDE I almost vomit, all kinds of unaccustomed. Although openSUSE stable two years a version of the update, but the source is too sore, the installation package to go to the official website to find, and Zypper In does not complete the package, or the APT Package Manager to force. With Sohu's source speed is also very fast. Education Network or the proposed use of NetEase, the University of three years of experience, the Education Network NetEase update the fastest.
I just have a simple installation of the closed-source N-card driver, and did not choose to install the driver website download. I'll talk about this later, and maybe for a long time I won't touch cuda. So first of all, not big, then the direct installation of Cuda Toolkit is good, without the official packaging of the driver, there should be no problem. Of course, do not care about GPU computing, when I am a nonsense, directly filter out this paragraph.
After the successful installation of Cocos2d-x development relies on, hit the library, the local compilation test pass. Then copy the Android SDK and NDK of the Linux x64 that you have already downloaded, and configure the environment variables. In less than 10 minutes, the Android environment is ready. Editor due to time constraints, I still choose Sublime, install the Deb package, hit the Input Method patch library (easy to find on the Web, install a GTK development library on the line).
Here is the C + + part of the development of the choice of tools, because it is the local development of Linux, the choice of development tools are many. qt-creator/is usually chosen. Codeblocks. Because the two support for CMake is better. To be exact, Qt-creator is a little stronger than codeblocks. Because Qt-creator directly supports CMake. And Codeblock is indirect support. or CMake support Codeblocks/eclipse Cdt/vs and other mainstream Ides. I followed the simple style, chose Codeblocks,
Possible problems I also think, codeblocks to the custom command line parameter support is not very good, there is to add a new file, you need to re-use CMake generation Codeblocks project. But these are small problems, the beginning of the time may be compared to the trouble, the latter should be much better. I also thought that when developing the backend framework, I would code directly under the Codeblocks engineering organization, I used CMake to reorganize the project. Because I'm familiar with CMake, so it's not going to be a problem.
So, Ubuntu, I'm back. Pretty happy. Just a few words.
Dual-Monitor N-card installs Ubuntu drivers and solutions