简体   繁体   中英

C++ eclipse building error

I'm programming with Galileo on Ubuntu.

My project is compiled through the terminal fine. But for the nice features of eclipse I decided to use eclipse. So I copied and pasted everything inside an eclipse project directory. Then I refreshed the project in the project explorer and everything was found by eclipse. (EDITED) But a red mark (the error mark) is shown on the project icon and when I build the project no binary file is created.

And the last thing is that all the files inside the project have no errors!

what's the problem?

There could well be a problem with building it aa whole project, maybe a link error? More likely it has not been set up properly for eclipse.

Are you using helios? Autotools?

Presumably it is a makefile project. Have you set up the Eclipse IDE to use make with the correct make arguments?

Have you set up the path for the include and lib directories that you need?

Right click on the project in the tree viewer and bring up the preferences dialog and make sure.

There is a console output tab on the Eclipse IDE. What does that say?

There is also a Problems tab that sorts the compiler output. What is on this?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM