Page 1 of 1

Mingw makefile/linker error!!

Posted: Wed Mar 28, 2018 11:15 pm
by aniketjhariya1512
C:\Windows\system32\cmd.exe /C D:/MinGW/bin/mingw32-make SHELL=cmd.exe -e -f Makefile
"----------Building project:[ kij - Debug ]----------"
mingw32-make[1]: Entering directory `H:/kkk/kij'
process_begin: CreateProcess(NULL, D:/MinGW/bin/g++.exe -o ./Debug/kij ./Debug/main.c.o -L., ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make[1]: *** [Debug/kij] Error 2
D:/MinGW/bin/g++.exe -o ./Debug/kij ./Debug/main.c.o -L.
mingw32-make[1]: Leaving directory `H:/kkk/kij'
mingw32-make: *** [All] Error 2
====1 errors, 0 warnings====

This is the error that I get when I build a project, in codelite 11.0.0 . What should I do now? Even correcting make and linker address does not help. The code for program is -

#include <stdio.h>

int main(int argc, char **argv)
{
printf("hello world\n");
return 0;
}