v0.8.3: R6030 CRT not initialized

I tried using the newly released cocos2d-0.99.5-x-0.8.3 yesterday but it complains “R6030 CRT not initialized” when I execute the binary. I am using VS2008 express for compiling. Version 0.8.1 works well. Any suggestions?

Has rebuild cocos2d-x already ?

We hasn’t encounter the problem yet.

Is there any more infomation?
The OS? Debug or release?

@jinneemop hu
Tell me your compilation environment will be helpful to reproduce your error on my machine. Such as:
* your os (winxp/win7)
* version of visual studio (2008/2010, exrpess/professional, english version/chinese version)
* Debug or Release build
Any more details will be appreciated :slight_smile:

I have built all the projects in the solution. I am using Windows Vista (SP1) and Visual Studio 2008 express (English). Only the projects “tests” in both the Debug and Release builds have this problem (“HelloWorld” works quite well.) For v0.8.1, the output window in VS gives:

‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.1\cocos2d-0.99.5-x-0.8.1\Debug.win32\tests.exe’, Symbols loaded.
‘tests.exe’: Loaded ‘C:32\ntdll.dll’
‘tests.exe’: Loaded ‘C:32\kernel32.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.1\cocos2d-0.99.5-x-0.8.1\Debug.win32\libcocos2d.dll’, Symbols loaded.
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.1\cocos2d-0.99.5-x-0.8.1\Debug.win32\libEGL.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:32\user32.dll’
‘tests.exe’: Loaded ‘C:32\gdi32.dll’
‘tests.exe’: Loaded ‘C:32\advapi32.dll’
‘tests.exe’: Loaded ‘C:32\rpcrt4.dll’
‘tests.exe’: Loaded ‘C:32\shell32.dll’
‘tests.exe’: Loaded ‘C:32\msvcrt.dll’
‘tests.exe’: Loaded ‘C:32\shlwapi.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.1\cocos2d-0.99.5-x-0.8.1\Debug.win32\libgles_cm.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.1\cocos2d-0.99.5-x-0.8.1\Debug.win32\libxml2.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:32\wsock32.dll’
‘tests.exe’: Loaded ‘C:32\ws2_32.dll’
‘tests.exe’: Loaded ‘C:32\nsi.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.1\cocos2d-0.99.5-x-0.8.1\Debug.win32\iconv.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.1\cocos2d-0.99.5-x-0.8.1\Debug.win32\zlib1.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcp90d.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcr90d.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.1\cocos2d-0.99.5-x-0.8.1\Debug.win32\libCocosDenshion.dll’, Symbols loaded.
‘tests.exe’: Loaded ‘C:32\winmm.dll’
‘tests.exe’: Loaded ‘C:32\ole32.dll’
‘tests.exe’: Loaded ‘C:32\oleaut32.dll’
‘tests.exe’: Loaded ‘C:32\oleacc.dll’
‘tests.exe’: Loaded ‘C:32\imm32.dll’
‘tests.exe’: Loaded ‘C:32\msctf.dll’
‘tests.exe’: Loaded ‘C:32\lpk.dll’
‘tests.exe’: Loaded ‘C:32\usp10.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18523_none_5cdd65e20837faf2\comctl32.dll’
‘tests.exe’: Loaded ‘C:32\opengl32.dll’
‘tests.exe’: Loaded ‘C:32\glu32.dll’
‘tests.exe’: Loaded ‘C:32\ddraw.dll’
‘tests.exe’: Loaded ‘C:32\dciman32.dll’
‘tests.exe’: Loaded ‘C:32\setupapi.dll’
‘tests.exe’: Loaded ‘C:32\dwmapi.dll’
‘tests.exe’: Loaded ‘C:32\uxtheme.dll’
‘tests.exe’: Loaded ‘C:Files\Citrix\MetaFrame Password Manager\Helper\WinApps\ssohook.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\msvcp90.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\msvcr90.dll’
‘tests.exe’: Loaded ‘C:32\nvoglv32.dll’
The thread ‘Win32 Thread’ (0x1b5c) has exited with code 0 (0x0).

And for v0.8.3:
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\tests.exe’, Symbols loaded.
‘tests.exe’: Loaded ‘C:32\ntdll.dll’
‘tests.exe’: Loaded ‘C:32\kernel32.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\libcocos2d.dll’, Symbols loaded.
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\libEGL.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:32\user32.dll’
‘tests.exe’: Loaded ‘C:32\gdi32.dll’
‘tests.exe’: Loaded ‘C:32\advapi32.dll’
‘tests.exe’: Loaded ‘C:32\rpcrt4.dll’
‘tests.exe’: Loaded ‘C:32\shell32.dll’
‘tests.exe’: Loaded ‘C:32\msvcrt.dll’
‘tests.exe’: Loaded ‘C:32\shlwapi.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\libgles_cm.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\libxml2.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:32\wsock32.dll’
‘tests.exe’: Loaded ‘C:32\ws2_32.dll’
‘tests.exe’: Loaded ‘C:32\nsi.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\iconv.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\zlib1.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcp90d.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcr90d.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\libcurl.dll’, Binary was not built with debug information.
‘tests.exe’: Loaded ‘C:32\Wldap32.dll’
‘tests.exe’: Loaded ‘C:32\psapi.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\msvcr90.dll’
‘tests.exe’: Loaded ‘C:2d-0.99.5-x-0.8.3\cocos2d-0.99.5-x-0.8.3\Debug.win32\libCocosDenshion.dll’, Symbols loaded.
‘tests.exe’: Loaded ‘C:32\winmm.dll’
‘tests.exe’: Loaded ‘C:32\ole32.dll’
‘tests.exe’: Loaded ‘C:32\oleaut32.dll’
‘tests.exe’: Loaded ‘C:32\oleacc.dll’
‘tests.exe’: Loaded ‘C:32\imm32.dll’
‘tests.exe’: Loaded ‘C:32\msctf.dll’
‘tests.exe’: Loaded ‘C:32\lpk.dll’
‘tests.exe’: Loaded ‘C:32\usp10.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18523_none_5cdd65e20837faf2\comctl32.dll’
‘tests.exe’: Loaded ‘C:32\opengl32.dll’
‘tests.exe’: Loaded ‘C:32\glu32.dll’
‘tests.exe’: Loaded ‘C:32\ddraw.dll’
‘tests.exe’: Loaded ‘C:32\dciman32.dll’
‘tests.exe’: Loaded ‘C:32\setupapi.dll’
‘tests.exe’: Loaded ‘C:32\dwmapi.dll’
‘tests.exe’: Loaded ‘C:32\uxtheme.dll’
‘tests.exe’: Loaded ‘C:Files\Citrix\MetaFrame Password Manager\Helper\WinApps\ssohook.dll’
‘tests.exe’: Loaded ‘C:86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\msvcp90.dll’

Then a window pops up and says “Runtime Error! R6030 - CRT not initialized”.

I tried VS 2010 express today but got the same error.

Some more information about my environment:

  1. My hard disk is encrypted by PointSec.
  2. At the very beginning, I installed VS2010 and I was forced to install the .NET framework 4. Then, because of the error R6030 I thought that it might be caused by .NET framework 4 so I uninstalled VS2010 & framework 4, and installed VS2008 instead. (VS2010 and framework 4 are installed again today…)

There is a familiar situation several months ago:
A developer had installed vs2010 on win7 OS, then install vs2008 after. The cocos2d-x code be builded success but failed to run.
He reinstall os, install vs2008 and vs2010 sequentially. Then cocos2d-x works well on vs2008 and vs2010.

The reason maybe vs2010 can’t uninstall entirely or that is impossible to keep compatibility install vs2008 after install vs2010.
Wish some help for you.

Oh no, terrible, but he can already run HelloWorld correctly. What does CRT error means indeed?

hi
even im facing same problem

os-> windows 7 64bit
visual tusdio version 1st tried on 2008 later installed 2010 but no use.

i tried cocos2d-0.99.5-x-0.8.2 , cocos2d-0.99.5-x-0.8.3 and cocos2d-0.99.5-x-0.8.4

for reference im attaching screenshot

waiting for response