User forums > Using Code::Blocks

Compile Multiple C++ Source Files


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?

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


[0] Message Index

Go to full version