Eclipse C + + was used a few years ago and has not been used in the last two years. The details are almost forgotten. Recently, it was a great effort, and finally came back. It's a good memory, better than a bad pen!
Now you will use some of the details in the process, summarized below:
1. Install Eclipse C + +, if you open the file with Eclipse, the reason may be that the CentOS version is higher than 6.6. workaround see previous article.
2. After the installation is complete, create a new project: C + + project, select Empty Project
If the code is completely new, add the code directly, and if it is the existing code, simply copy the existing code into the new project to the catalog and open eclipse again, and it will load automatically.
3. Dependent libraries and header files
Set dependent header file path under the Include label in the properties of the C + + general and Paths and Symbols, under the Libraries tab, set the dependency to the library name, and set the path to the dependent library under library Paths.
Note: Rely on the library to the noun, do not bring Lib in front, end not with. So or. A. If you rely on the ACE Library, the noun directly writes the ACE.
Linux Eclipse C + +