User forums => Help => Topic started by: Saroj on March 02, 2015, 02:49:48 pm
Title: [Solved] Process terminated with status -1073741510 (0 minute(s),17 second(s))
Post by: Saroj on March 02, 2015, 02:49:48 pm
I am currently using Code::Blocks 13.12 on windows 7 and while working on glut project with given example main CPP it tries to process; a windows appears and suddenly it says "Windows has stopped working"
I am using freeglut with libfreeglut.a to link libraries. Build Log error:: Checking for existence: C:\Program Files\CodeBlocks\program\example\bin\Debug\example.exe Executing: "C:\Program Files\CodeBlocks/cb_console_runner.exe" "C:\Program Files\CodeBlocks\program\example\bin\Debug\example.exe" (in C:\Program Files\CodeBlocks\MinGW\freeglut\bin) Process terminated with status -1073741510 (0 minute(s), 17 second(s))
and console window appears with Process return 255 (0*FF)
Plz help me.
Title: Re: codeblock: Process terminated with status -1073741510 (0 minute(s),17 second(s))
Post by: stahta01 on March 02, 2015, 02:59:52 pm
Read these two links http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
EDIT: Please don't post links to possible malware our bloatware. Thank you.
EDIT: Building exe under the "C:\Program Files" folder might be causing the problem.
Tim S.
Title: codeblock: Process terminated with status -1073741510 (0 minute(s),17 second(s))
Post by: Saroj on March 06, 2015, 12:09:01 pm
ESET smart security stopping this from downloading. Instead, I check on google and found RegCure Pro and fix almost about 1460 errors but still the same. And also, i changed "C:\Program Files\CodeBlocks\program" to "C:\Codeblock_prg" :( I eagerly waiting for your reply. I have to sumit my project with in around 15 days. :(
Title: Re: codeblock: Process terminated with status -1073741510 (0 minute(s),17 second(s))
Post by: MortenMacFly on March 06, 2015, 08:10:46 pm
No source code, no (minimal) examples to reproduce. What do you expect?
The error you are getting could very well be a bug in your code. How should we know? It really does not look to me like a C::B error, because C::B launches the program just fine but its your program that fails.
Title: Re: codeblock: Process terminated with status -1073741510 (0 minute(s),17 second(s))
Post by: Saroj on March 07, 2015, 09:37:02 am
I am trying to run main.cpp, provided by c::b itself.
/* * GLUT Shapes Demo * * Written by Nigel Stewart November 2003 * * This program is test harness for the sphere, cone * and torus shapes in GLUT. * * Spinning wireframe and smooth shaded shapes are * displayed until the ESC or q key is pressed. The * number of geometry stacks and slices can be adjusted * using the + and - keys. */ #include<windows.h> #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h> #endif
#include <stdlib.h>
static int slices = 16; static int stacks = 16;
/* GLUT callback Handlers */
static void resize(int width, int height) { const float ar = (float) width / (float) height;
Title: Re: codeblock: Process terminated with status -1073741510 (0 minute(s),17 second(s))
Post by: stahta01 on March 07, 2015, 02:12:39 pm
PLEASE READ and follow at least some of the directions if you want to get help. http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
Please state the Library version and where you got it! Please state the compiler name and version! Please post a build log!
Tim S.
Title: Re: codeblock: Process terminated with status -1073741510 (0 minute(s),17 second(s))
Post by: stahta01 on March 07, 2015, 02:19:04 pm
Please read this CB Wiki page if you have NOT already read it.