30/09/2018, 23:36

Lỗi khi build và run trong Code::Blocks

mọi người cho mình hỏi khi build và run nó hiện lỗi như thế này là sao ạ . và cách khắc phục ạ
The compiler’s setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)
Goto “Settings->Compiler…->Global compiler settings->GNU GCC Compiler->Toolchain executables” and fix the compiler’s setup.
Skipping…
Nothing to be done (all items are up-to-date)

Mai Anh Dũng viết 01:50 ngày 01/10/2018

Lỗi này là do lúc cài Code::Blocks, bạn chọn thư mục khác với thư mục mặc định. Thế nên Code::Blocks không tìm thấy được compiler.

Bây giờ vào “Settings->Compiler…->Global compiler settings->GNU GCC Compiler->Toolchain executables”
Sau đó chọn cái compiler trỏ tới thư mục mình cài.

Chi tiết xem thêm ở đây:

các bác cho em hỏi là khi em chạy code block thì nó hiện cái dòng Can't file compiler executable in your configured search path's for GNU GCC Compiler làm sao để khắc phục ạ?
Lap Thanh Lap viết 01:52 ngày 01/10/2018

e van ko hieu lắm anh nói rõ ra đi ạ

Bài liên quan
0