Process terminated with status -1073741819 (0 minutes, 6 seconds) with examples

I was planning to refresh my non-existant OF-skills today but I ran into this error when running:

Process terminated with status -1073741819 (0 minutes, 6 seconds)

It’s a fresh installation of code::blocks 12.11 and 0073. I have no clue what could have gone wrong while installing, but something must have. I have tried several examples, even the empty one crashes. Any ideas on this? Thanks

I have the same problem.
I’ve opened the “emptyExample” workspace and than build, debug and gives me the message:

“Process terminated with status -1073741819 (0 minutes, 4 seconds)”

Maybe i should link something but i dont know what.
I’m new to OF and C++ IDE’s so, i need to learn more about that, but i’m so exited, i want to draw circles!! :smiley:

I was even planning on drawing squares!

Updated my graphic card drivers as I’ve read somewhere, but that didn’t help. Tell me if you find any solution please.

Was this windows / linux?

If windows could you try grabbing C::B 10.05 with mingw as in the setup guide? We haven’t tested OF on the C::B 12 yet and I think their might be some small issues.

http://www.openframeworks.cc/setup/codeblocks/

I hope that helps!
Theo

ps: can you post your full system info. hardware, OS, graphics card etc

thanks!

he posted in the c::b (windows) section, so I’ll guess it’s windows. :slight_smile:

Windows indeed.

My systems is a Core i7 920, 24GB Ram, ATI Radeon HD 5700 Series and running Windows 7. I’ll try 10.05 tomorrow or the day after. Thanks already

Removed the new version of code block, reinstalled the old, so may or may not be related. I now get this on 10.05 + 0073:

  
Linking console executable: bin\emptyExample.exe  
Warning: .drectve `-defaultlib:LIBCMT ' unrecognized  
Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized  
Warning: .drectve `-defaultlib:LIBCMT ' unrecognized  
Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized  
Warning: .drectve `-defaultlib:LIBCMT ' unrecognized  
Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized  
Warning: .drectve `-defaultlib:LIBCMT ' unrecognized  
Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized  
Warning: .drectve `-defaultlib:LIBCMT ' unrecognized  
Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized  
Warning: .drectve `-defaultlib:uuid.lib ' unrecognized  
Warning: .drectve `-defaultlib:uuid.lib ' unrecognized  
Warning: .drectve `-defaultlib:LIBCMT ' unrecognized  
Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized  
Warning: .drectve `-defaultlib:LIBCMT ' unrecognized  
Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized  
Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized  
../../../libs/openFrameworksCompiled/lib/win_cb/openFrameworks.lib(ofUtils.o):ofUtils.cpp:(.text+0x1ad8): undefined reference to `__chkstk_ms'  
collect2: ld returned 1 exit status  
Process terminated with status 1 (0 minutes, 2 seconds)  
1 errors, 17 warnings  

0071 doesn’t give any problems
My laptop, which still had a 10.05 installation doesn’t have any problems with 0073 either. I assume I have some sort of reference set incorrectly? A path or something? But I have no clue.

Thanks in advance

when you removed the new CB, did you also remove mingw/msys? could be that you now have the newer msys/mingw, with the old CB, which clashes. __chkstk_ms seems to be a gcc-internal function: http://octave.1599824.n4.nabble.com/MinGW-build-error-w-LLVM-undefined-reference-to-chkstk-ms-td4643483.html

try to remove CB and msys/mingw, then install CB (with msys/mingw) 10.05 again, see if that helps.

I installed the CB+mingw package, so I assume it removed mingw as well when I uninstalled?

And I don’t understand why 0071 would work then, and 0073 would not.

I’m not sure what the installer would do if it already found an existing mingw installation.

As to your second point, there were some changes to ofUtils.cpp since 0071, could be that the failing function was not touched then, or whatever?

hmm might be good to check the Compiler and Debugger setting - there you can change which version / location of MingGW you are using. I’ve had problems before where the install picks the wrong version.

http://stackoverflow.com/questions/1293035/codeblocks-invalid-compiler-problem

Any links to 10.5 with mingw

http://www.codeblocks.org/downloads/5

Its verified. The issue is with codeblocks 12 not being supported. 10.5 I am able to run the examples

So do you plan for an update to support 12.11?

sure. we just don’t know what exactly is going wrong, yet. also, a scarcity of windows+C::B devs makes a quick solution more difficult.

Hi all,
I use CB10.05 + OF 0.073/0.074 + win7 64bit,
My desktop has one graphic card(Nvidia 9800GT),
a intel core2 Quad CPU Q9550@2.83 GHz as well as
latest chipset drivers updated.
Unfortunately, it always terminates with status -107374819 with
examples… could anyone help this? thanks a lot!!!

I’m trying to use OF 0.8.0 with Code::Blocks 12.11 on Windows 7 x64. Executing “mingw32-g++.exe” -dumpversion from CB’s mingw/bin gives 4.7.1.

When trying to build an empty project generated with projectGenerator.exe and opened via mySketch.workspace, I get a bunch of errors like this one:
…\libs\glfw\lib\win_cb\libglfw3.a(init.c.obj):init.c|| undefined reference to `__chkstk_ms’|
On the IRC, admsyn helped me and we decided this probably suggests that the libraries are compiled with a compiler incompatible with the one CB is using. I saw there was some recent discussion / changes related to this, but it looks like I may be having the same problem.

Thanks in advance for any help you guys can provide.

I think I have this fixed now. See this-thread.