Build not configured correctly [message #1802392] |
Fri, 08 February 2019 00:27 |
Jerome MORE Messages: 1 Registered: February 2019 |
Junior Member |
|
|
Hello everybody,
I recently installed Eclipse Cpp 2018-12 and MinGW under Windows 10, but I am having a hard time configuring it, and I always have this silly message :
"Build not configured correctly".
Which means that I could never reach the simple point of having a hello world program running, even after having spent hours on several forums and videos. Most of the explanations I have found so far could never really help, as they seem to refer to older versions of Eclipse, which is useless in my case as apparently many menu options have been removed or changed.
So I will try to describe as precisely as possible my problem:
Installation:
I downloaded "Eclipse IDE for C/C++ Developers" (2018-12) from the official site, then installed it under. The main file is here:
C:\Users\Jerome\eclipse\cpp-2018-12\eclipse\eclipse.exe
Then I downloaded MinGW from sourceforge and installed here:
C:\MinGW
Following some advice, I appended to the windows environment variable "Path" the proper bin folder for MinGW:
C:\MinGW\bin
I did it both for system variable and user variable, to be sure (as Eclipse is installed under my user account)
Of course, I restarted my computer then.
Then about Eclipse configuration itself, I am getting confused about all the possible options and menus. So trying to reproduce what I read in the forums, I went to:
Window/Preferences/C++/New C++ Project Wizard
For almost all project types, I chose:
toolchain: MinGW GCC.
Then:
Make toolchain(s) preferred
I also tried to uncheck:
Show Project types and toolchains only if they are supported on the platform.
However it seems to automatically check back on again, so I didn't insist.
I also tried to go to:
Window/Preferences/C++/Build/Build variables
then add the variable "Path"
which as far as I understood refers to the corresponding windows environment variable.
But that didn't have any further effect.
Finally, I just tried to create the simplest project:
File/New/C C++ Project
CMake
Empty of Existing CMake Project
New/File
main.cpp
putting inside it just:
int main() {}
Then whenever I try to built it, I have this error message:
Build not configured correctly.
And same story with other kind of project types.
I didn't do any change in the Project properties, as again the only suggestions I have found so far refer to options that don't exist anymore.
So if I understood correctly, all the issue is about having MinGW compiler linked to Eclipse properly, but the advice I followed didn't work so far. I kind of feel I missed something possibly simple in that story, but I am not able to tell what.
I would really appreciate your help on that topic !
|
|
|
|
|
Re: Build not configured correctly [message #1815663 is a reply to message #1815551] |
Tue, 08 October 2019 05:23 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
I've had this happen recently with a CMake project.
The problem was in the CMake setup which really has nothing to do with Eclipse.
Went away when I reconstructed the project with the proper setup.
I had to delete the Eclipse project files and re-import the project after fixing the CMake setup.
I notice the OP also was using CMake.
Too bad he didn't post how he got around the problem.
ASIDE: I don't know why but posts rarely update for me over the weekend
and suddenly appear on Mondays and sometimes Tuesdays.
[Updated on: Tue, 08 October 2019 05:50] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.23775 seconds