I am using CodeBlocks as my IDE for a c++ console application. I got a new computer and installed codeblocks with MinGW. I have been working for hours to try to generate an executable file and have searched through every subdirectory within my project, but see no file that ends in .exe. How can I create an executable in CodeBlocks?
I eventually want to run the .exe from the command line, if that matters. Also, my OS is Windows 10 and it's a 64-bit system.
I'm thinking it may be a problem with the compiler or linker? The program I wrote runs fine if I run it in CodeBlocks, but there is no .exe so it can be run externally.
I attached a photo of the files being produced.
Also, subquestion: what on earth is this applicaction file extension? I have never seen it before.
Edit: here's the build log:
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
mingw32-g++.exe -c C:\Users\me\Documents\Source2.cpp -o C:\Users\sarah\Documents\Source2.o
mingw32-g++.exe -o C:\Users\me\Documents\Source2.exe C:\Users\me\Documents\Source2.o -static-libstdc++ -static-libgcc
Process terminated with status 0 (0 minute(s), 5 second(s))
0 error(s), 0 warning(s) (0 minute(s), 5 second(s))