with minGW 64 compiler I get this message

CodeLite installation/troubleshooting forum
Sandro Necchi
CodeLite Curious
Posts: 3
Joined: Fri Sep 15, 2023 5:50 pm
Genuine User: Yes
IDE Question: C++
Contact:

with minGW 64 compiler I get this message

Post by Sandro Necchi »

C:/mingw64/bin/mingw32-make.exe -j64 -e -f Makefile
----------Building project:[ Project1 - Debug ]----------
mingw32-make[1]: Entering directory 'C:/Users/sandr/Workspaces/Workspace1/Project1'
C:/mingw64/bin/g++.exe -c "C:/Users/sandr/Workspaces/Workspace1/Project1/main.cpp" -O0 -gdwarf-2 -std=c++17 -Wall -o ../build-Debug/Project1/main.cpp.o -I. -I.
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[1]: *** [Project1.mk:86: MakeIntermediateDirs] Error 1
mingw32-make[1]: *** Waiting for unfinished jobs....
mingw32-make[1]: *** [Project1.mk:90: ../build-Debug/Project1/.d] Error 1
Assembler messages:
Fatal error: can't create ../build-Debug/Project1/main.cpp.o: No such file or directory
mingw32-make[1]: *** [Project1.mk:99: ../build-Debug/Project1/main.cpp.o] Error 1
mingw32-make[1]: Leaving directory 'C:/Users/sandr/Workspaces/Workspace1/Project1'
mingw32-make: *** [Makefile:5: All] Error 2
=== build completed successfully (0 errors, 0 warnings) ===

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: with minGW 64 compiler I get this message

Post by eranif »

You need to use the correct Makefile generator
In project settings -> makefile generator, which one is being used?

Make sure you have read the HOW TO POST thread
Sandro Necchi
CodeLite Curious
Posts: 3
Joined: Fri Sep 15, 2023 5:50 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: with minGW 64 compiler I get this message

Post by Sandro Necchi »

The one in minGW 10.2.00
Do I have to set another one?

Sandro Necchi
CodeLite Curious
Posts: 3
Joined: Fri Sep 15, 2023 5:50 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: with minGW 64 compiler I get this message

Post by Sandro Necchi »

I need to use minGW 10.2.00 as this is use by Stockfish chess engine.
Which Codelite version is compatible with this one?

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: with minGW 64 compiler I get this message

Post by eranif »

Make sure you have read the HOW TO POST thread
Post Reply