User forums > Using Code::Blocks

Won't let me build?

<< < (6/8) > >>

stahta01:

--- Quote from: Skipt on August 08, 2013, 07:39:01 pm ---I'm a bit confused. I go to the directory you tell me to in the code brackets. Am I typing that entire 2nd line in one command in cmd? Cuz I'm getting the error of it not being a recognizable internal/external command


--- End quote ---

I am NOT understanding your issue; do you understand what is a command prompt is?

If yes, I think you need to learn what the "cd" command is before anyone can help you.

I NEVER told you to browse to any folder.

If you want more help tell me what you really did!!!

Edit: What is your Compiler Installation folder you used in place of CBTOOLCHAINPATH?

Tim S.

Skipt:
Ok..I start up command prompt. This is what I type line by line

SET PATH=C:\MinGW\bin;%PATH%
cd /d C:\Users\ericreese20\Desktop\lkjk 
(I copy and paste this) mingw32-gcc.exe -Wall  -g     -c C:\Users\ericreese20\Desktop\lkjk\main.c -o obj\Debug\main.o
(so far everything is fine)
(now I type this line and I get an error)
mingw32-g++.exe  -o bin\Debug\lkjk.exe obj\Debug\main.o

Skipt:
The error is the standard "doesnt recognize it as an internal or external command"

stahta01:

--- Quote from: Skipt on August 08, 2013, 08:13:38 pm ---The error is the standard "doesnt recognize it as an internal or external command"

--- End quote ---

This means you have a bad MinGW installation! Missing c++ compiler exe.

Confirm by trying to find "mingw32-g++.exe" in the folder "C:\MinGW\bin"

Not a CB issue.

Tim S.

Skipt:
You are correct, there is no g++ file. So what do I do? Would uninstalling and re-downloading it fix this issue?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version