CodeLite installation/troubleshooting forum
Ali_Hassan_
CodeLite Curious
Posts: 3 Joined: Tue May 25, 2021 10:08 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by Ali_Hassan_ » Tue May 25, 2021 10:13 pm
Code: Select all
C:/MinGW/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ C++_WorkSpace - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/ali/Documents/C++ Training/C++_WorkSpace/C++_WorkSpace'
C:/MinGW/bin/gcc.exe -c "C:/Users/ali/Documents/C++ Training/C++_WorkSpace/C++_WorkSpace/main.c" -g -O0 -Wall -o /Users/ali/Documents/C++\ Training/C++_WorkSpace"/build-Debug//Users/ali/Documents/C++\ Training/C++_WorkSpace/C++_WorkSpace/main.c.o -I. -I.
gcc.exe: error: Training/C++_WorkSpace/build-Debug//Users/ali/Documents/C++\ Training/C++_WorkSpace/C++_WorkSpace/main.c.o -I. -I. : No such file or directory
mingw32-make.exe[1]: *** [../build-Debug/C++_WorkSpace/main.c.o] Error 1
C++_WorkSpace.mk:97: recipe for target '../build-Debug/C++_WorkSpace/main.c.o' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/ali/Documents/C++ Training/C++_WorkSpace/C++_WorkSpace'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====
eranif
CodeLite Plugin
Posts: 6375 Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by eranif » Tue May 25, 2021 10:40 pm
Can you try and create the workspace in a folder without spaces in its path?
Ali_Hassan_
CodeLite Curious
Posts: 3 Joined: Tue May 25, 2021 10:08 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by Ali_Hassan_ » Tue May 25, 2021 10:50 pm
eranif wrote: ↑ Tue May 25, 2021 10:40 pm
Can you try and create the workspace in a folder without spaces in its path?
i just created a new workspace and tried to run the same code and it worked
Ali_Hassan_
CodeLite Curious
Posts: 3 Joined: Tue May 25, 2021 10:08 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by Ali_Hassan_ » Tue May 25, 2021 10:57 pm
it seems I was trying to write a c program by selecting the g++ plugin. I am just getting started with the programming that's why don't know much about plugins and stuff.