1.Symbol ' cout ' could not being resolved, select Kepler version will not error.
2. Download GDB,
./configure
Make
sudo make install
3. Configuring GDB in Eclipse (Mac version)
Because debugging directly with GDB, there will be no permissions to the situation, so you need to make a keychain to GDB
Open Keychain Access
Click Keychain Access in the upper-left corner of the screen, click: Keychain Access--Certificate assistant--Create a certificate
Such as:
By 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 Done.
To the Keychain Access screen, select "System" and "My Certificate", 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
In Debug configuration, GDB is configured as follows:
Modify GDB to/usr/local/bin/gdb so that GDB can be found
Then you can debug normally, the first time when debugging to enter the administrator account, this problem is also can be resolved, but I did not continue to study.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
cout and Endl error when eclipse develops C + +