Code::Blocks Forums

User forums => Help => Topic started by: pdorton89 on August 28, 2015, 04:43:19 pm

Title: Windows 10 CB 13.12 Build errors
Post by: pdorton89 on August 28, 2015, 04:43:19 pm
I have been trying to get C::B to work on my lenovo Edge windows 10 laptop. I got the third file from the binary download page and when I run my program I get build errors and nothing will run correctly.

Any help with this would be amazing. New to C::B and have no idea where to look for error codes, ect.
Title: Re: Windows 10 CB 13.12 Build errors
Post by: pdorton89 on August 28, 2015, 07:01:18 pm
My exact error message is this,

Execution of 'mingw32-g++.exe  -o bin\Debug\HW1-Dorton.exe obj\Debug\main.o' in 'C:\ProgrammingProjects\HW1-Dorton' failed.
Title: Re: Windows 10 CB 13.12 Build errors
Post by: stahta01 on August 28, 2015, 08:25:50 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)
Title: Re: Windows 10 CB 13.12 Build errors
Post by: pdorton89 on August 28, 2015, 09:11:26 pm
Went through the Wiki, but could not find anything on this error. I have been looking through my files and there is no mingw32-g++.exe for me to use and don't know how to stop C::B from trying to use it.

Any help would be awesome.
Title: Re: Windows 10 CB 13.12 Build errors
Post by: stahta01 on August 28, 2015, 09:58:06 pm
Went through the Wiki, but could not find anything on this error. I have been looking through my files and there is no mingw32-g++.exe for me to use and don't know how to stop C::B from trying to use it.

Any help would be awesome.

PLEASE post a full build log!!
Or I will just ignore you like you ignored me!

Edit: Reread your message if Compiling only C programs you need to change CB toolchain settings to use only mingw32-gcc.exe for linking.

Tim S.