User forums > Help

error 0xc00000be from cl.exe

(1/3) > >>

thed0ctor:
Hello,

I'm a Visual Studio 2012 user trying to use Codeblocks with the Visual C++ compiler however I receive this error:


I tried copying the VS10 settings, making a "new" compiler and modifying the search directory and toolchain executable settings to the following:




And toolchain executable section to:



The code is just a simple hello world:


--- Code: ---#include <iostream>

using namespace std;

int main(){

    cout << "Hello" << endl;
    return 0;

}
--- End code ---


I still receive this same error. Any ideas on how to get my cpp file to build?

Any ideas or help is much appreciated.

stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

What is the Code::Blocks version/svn info?

What is the OS Name and version?
ex. Windows 7 SP1

Tim S.

thed0ctor:
Version is: Release 12.11 rev 8629 32bit. I did not build CodeBlocks myself. Complete logging was already turned on. Here is the output:

--- Code: ---cl.exe /nologo   /I"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include"  /c C:\Users\Patrick\Desktop\Untitled1.cpp /FoC:\Users\Patrick\Desktop\Untitled1.obj
Process terminated with status -1073741634 (0 minutes, 34 seconds)
0 errors, 0 warnings (0 minutes, 34 seconds)
 

--- End code ---

stahta01:
I do NOT recommend building on the desktop "Desktop\Untitled1.cpp"

What is your windows version?

When does the error happen?
Does CB crash?

Edit
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Tim S.

thed0ctor:
I compiled in "C:\Users\Patrick\SkyDrive" instead and received the same error. I looked up compiling c++ files using the VS11 compiler via the command line and that led me to this website.

This told me to run the Visual Studio 2010 Command Prompt I have installed as Administrator (not the normal command prompt window, using that gave me errors, not the ones I received in Codeblocks). I did this and rand the commands:


--- Code: ---cd "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin"
cl /EHsc "C:\Users\Patrick\SkyDrive\Untitled1.cpp"
Untitled1.exe
--- End code ---

and it worked.

I tried doing the same in the normal command prompt and it gave me an error:

which isn't the same error as Codeblocks.

I think Codeblocks may be using the wrong commands but I have no idea how to fix this and link it to the correct command prompt. Any ideas?

Also my OS is Windows 8 Enterprise x64
the error happens when I try to build
and no CB doesn't crash, it just doesn't build

Navigation

[0] Message Index

[#] Next page

Go to full version