We have been using Si + virtual machines for development.
The best way to achieve this is that Si uses a Huawei configuration and Virtual Machine sharing. When the machine is changed, it will cause a lot of trouble.
In addition to Si, you can also use QT for programming, and the search and interface are also very beautiful.
However, these methods have major problems in file version control and compilation.
Therefore, the best configuration should be netbeans + cgwin. Netbeans can be downloaded at will. For detailed configuration, see:
Download C/C ++ support
If you have not installed netbeans 6.0 IDE, go to the netbeans ide 6.0 download page and download the IDE version that contains C/C ++ support. If you have installed netbeans ide 6.0 without C/C ++ support, complete these steps to add C/C ++ support to the IDE.
-
- If the network uses a proxy, select "Tools"> "options" from the main menu, select "manual Proxy Settings", enter the HTTP proxy and port of the proxy, and click "OK ".
-
- Select Tools> plug-ins from the main menu ".
-
- In the plug-in dialog box, click the available plug-ins tab and scroll to the C/C ++ category.
-
- Select the "C/C ++" check box.
- Click Install ".
Install netbeans ideProgram.
-
- In the netbeans ide installer, click "Next ".
-
- Read the license agreement, select "I accept all terms in the license agreement", and click "Next ".
-
- Click Install ".
-
- After the installation is complete, select "restart ide now" or "restart ide later", and then click "finish ".
Install and set compilers and tools
The netbeans C/C ++ package requires the C compiler, C ++ compiler,MakeUtilities andGDBDebugger.
Windows
Tested, the netbeans C/C ++ package can be used with the following compilers and tools:
- Cygwin 1.5.21
- Cygwin gcc-core (C compiler) 3.4.x
- Cygwin gcc-C ++ (C ++ compiler) 3.4.x
- Cygwin GDB (GNU Debugger) 6.5.50
- Cygwin make 3.80
If cygwin GNU Compiler, GNUMakeAndGDBThe debugger and correctly set the paths in the PATH variable to find them. Make sure that the correct version is used. If the correct version is installed, you do not need to set it again.
Check the cygwin compiler and tool Version:
-
check the cygwin version, enter
cygcheck-C cygwin
- Check the compiler,MakeAndGDBType:
GCC -- version g ++ -- version make -- version GDB -- version
Install the GNU Compiler,MakeAndGDBDebugger:
- Click "install or update now!" in the middle of the page! "Icon download cygwinSetup.exeProgram.
-
- RunSetup.exeProgram. Accept the default settings until you go to the "select your Internet connection" page. Select the most appropriate option on this page. Click "Next ".
-
- On the "choose a download site" Page, select a site for convenient download. Click "Next ".
-
- On the "Select Packages" Page, select the software package to download. Click "+" next to "devel" to expand the development tool category. You may need to adjust the window size so that you can view more content at a time.
-
- Click the "Skip" tab next to each software package to be downloaded to select it. Select at least "gcc-core: C compiler", "gcc-G ++: C ++ compiler", "GDB: the GNU Debugger", and "make: the GNU version of The 'make' utility ".
- Now add the compiler directory to the PATH variable:
-
- Open Control Panel (Start> set> Control Panel), and double-click the system program.
-
- Select the "advanced" tab and click "environment variables ".
-
- In the "environment variables" dialog box, on the "System variables" Panel, select "path"Variable, and then click "edit ".
- SetCygwin-directory\ BinDirectory pathPathVariable, and then click OK ". By default,Cygwin-directoryIsC: \ cygwin. Directory names must be separated by semicolons.
-
- In the environment variables and System Properties dialog boxes, click OK ".