简体   繁体   中英

why I'm getting error in executing my C++ code

I have installed MinGW 3 times and I've also added path in env. variable but whenever I try to run a code in CodeLight it just gives me the following error:

mingw-32-make.exe: *** [ALL] Error 2

In MinGW installation tutorials there are.exe files in the bin folder but I don't have any.exe file in the bin folder inside MinGW. I've tried installing it 3 and very carefully.

Can someone help me out?

Make sure the compiler and build tools are properly configured in the IDE (CodeLight).

Installing MinGW by itself doesn't tell CodeLight were to find it.

There is a standalone MinGW-w64 personal build available at http://winlibs.com/ that doesn't need installation, just unzip it. On the site there is an explanation on he wot configure Code::Blocks IDE to use this compiler. The steps should be pretty similar in CodeLight.

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