1.Symbol ' cout ' could not being resolved, select Kepler version number will not error.
2. Download GDB,
./configure
Make
sudo make install
3. Configuring GDB (Mac version number) in Eclipse
Because debugging directly with GDB, there will be no permissions to the situation. So we need to make a keychain to GDB.
Open Keychain Interview
Click Keychain Access in the upper-left corner of the screen, click: Keychain Access – Certificate Assistant--Create a certificate
For example, with:
According to the configuration:
Select code signing and let me override these default values
Always click Continue, know the location of the page created, change "login" to "system".
Click Finish.
To the Keychain Access screen, select System and my certificates, respectively. Double-click Gdb-certificate, select Always Trust
Recall to the terminal interface, enter the following command:
sudo codesign-s gdb-certificate/usr/local/bin/gdb
Configure GDB in Debug configuration, such as the following:
Change GDB to/usr/local/bin/gdb, so you find GDB
Then you will be able to debug normally, the first time when debugging to enter the administrator account. This problem can also be solved. I'm just not going to go on.
cout and Endl error when eclipse develops C + +