cout and Endl error when eclipse develops C + +

Source: Internet
Author: User

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 + +

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.