|
|
Re: Linker Errors in Hello World program [message #1103456 is a reply to message #1103289] |
Fri, 06 September 2013 20:25 |
|
I would first double-check to make sure you have the MinGW bin folder added in the PATH environment variable (though I have to believe you have it defined, otherwise the C/C++ compiler wouldn't work.
Next look at the log file (right-click on your C/C++ project and at the bottom click on Properties. Twirl down C/C++ Build and click on Logging. Make sure that you have "Enable build logging checked and then copy the path for the Log file location so you can paste it into Windows Explorer to view the folder contents). Odds are if you've used the defaults for everything then the logs get written in C:\Users\{YOUR-USERNAME}\workspace\.metadata\.plugins\org.eclipse.cdt.ui\ and you will find a file called global-build.log and for each project a {your-project-name}.log file.
If that doesn't help, you can boost the "chatter" in the log by adding the 'verbose' option to the linker. Just below the "Logging" (above) you will see Settings. Click on that, then under MinGW C++ Linker click on Miscellaneous. In the right-hand side at the top you'll see the field for Linker flags and enter: --verbose (Note: that has TWO hyphens/dashes.
Finally... when you created your project, did you make sure you selected MinGW GCC in the Toolchains (right-hand pane from where you select the Hello World C++ Project)?
SenseiC bows out
|
|
|
|
Powered by
FUDForum. Page generated in 0.04014 seconds