Community
Participate
Working Groups
I am new to the CDT Project and was testing the "Hello World" demo that is on the tutorial section of the "CDT FAQ". I was able to do all the steps even though I am running linux and was creating the demo that is supposed to be for the windows platform: Here is a link: http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/cdt-home/user/faq.html?cvsroot=Tools_Project#create_10 Creating a simple Managed C++ Project -- "Hello World on a Windows Platform" The demo works fine its just the build part that gives me a problem. When I do a right click on the project it does not let me select "Build Project" or the "Rebuild Project" But when I press Ctrl-S it saves the file and rebuids it fine. At this point I am able to run the program without any other problems. So i do not know if this is a bug or not because the text clearly states that the application is for windows.
You have build on resource change turned on. This is a feature that tries to keep the compiled code up-to-date. If you want to be in control of when the build happens, Window > Preferences > Workbench > (uncheck) Build automatically This is not a bug.
I do understand that this is not a bug, but the FAQ ask to: "In the C/C++ Projects View, select your new C/C++ project, right click and select "Rebuild Project"" Seems to me that when eclipse is installed the default is "build on resource change" turned ON. So if this feature is ON by default, a lot of people would get confused on the FAQ-tutorial trying to build something that is allready built. I am just sudjesting to rewrite the "Building C/C++ Projects" section.
That's a valid point. I will forward the bug to the docs person and suggest that this is an area that could be clarified to eliminate the confusion.
Dave, I think the text of the bug explains the problem.
Buried in the documentation "Help > Help Contents > C/C++ Development User Guide > Tasks > Building Projects > Building Manually" there is a tip that tells you to turn Build Automatically off. Clearly that is not sufficient. I will update the "Before you Begin" doc to add in the tip and have Dave D. update the webpage.
patch sent to dev list.
Fixed in FAQ.