User forums > Using Code::Blocks

Won't let me build?

<< < (5/8) > >>

Skipt:
This is a laptop. I also don't use antivirus software or firewalls lol. I only use this for school. It's a pretty basic dell computer

stahta01:

--- Quote from: Skipt on August 08, 2013, 06:37:55 pm ---This is a laptop. I also don't use antivirus software or firewalls lol. I only use this for school. It's a pretty basic dell computer

--- End quote ---

So, you are NOT running windows security???
It is ON by default in every version of windows I have ever used, since Vista!!

Tim S.

Skipt:
Nope, I turned it off. I don't like it

stahta01:
From an cmd.exe prompt do this

Replace CBTOOLCHAINPATH with the Compiler path you are using.


--- Code: ---SET PATH=CBTOOLCHAINPATH\bin;%PATH%

cd /d C:\Users\ericreese20\Desktop\lkjk
mingw32-gcc.exe -Wall  -g     -c C:\Users\ericreese20\Desktop\lkjk\main.c -o obj\Debug\main.o
mingw32-g++.exe  -o bin\Debug\lkjk.exe obj\Debug\main.o

--- End code ---

Then confirm the exe exists in bin\Debug\lkjk.exe.

Then try running it.

Did it exist?
Did it run?

Tim S.

Skipt:
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

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version