User forums > Using Code::Blocks

Compile Multiple C++ Source Files

(1/1)

robert1234:
I have a series of C++ source files that I made on the command line with vim, and they compile and run fine with make and a Makefile, but when I try to open them up in Code::Blocks and compile and run, it says
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
I believe I have the compiler set to g++ and -std=c++11.
Can someone help me?

cacb:
You need to create a project in Code::Blocks and include one or more source files in it.
A project has build targets, typically for debug and release

https://codeforwin.org/2015/07/how-to-create-new-c-cpp-project-in-codeblocks.html

Navigation

[0] Message Index

Go to full version