User forums > Help
Problem Creating Console Application (C++)
PSU_Blue:
I am using Code::Blocks IDE for some work in a computer graphics course at Penn State. I successfully imported our "starter code" for our first assignment, which was in MS Visual Studio project format. However, when I try to create a new project for our second assignment (a console application with C++ source) from scratch, building/running the code that is automatically generated causes a crash. It appears the error is related to "ntdll.dll" It won't even display the "Hello, world!" before the console runner program crashes. Am I missing something in the configuration of the project, or is there some known issue with this? The problem seems to be unique to console applications with C++ source; the C source works fine. Please let me know if there's a way to fix this. Thanks!
Biplab:
Are you using MSVC 8 (MSVC 2005)? Console wizard have problem with MSVC 8. :)
PSU_Blue:
I am using the GNU GCC Compiler, which is the same compiler that I used for my first project, which worked fine.
Biplab:
Console wizard works perfectly with GCC. I'd request you to check your configuration once.
Also try looking at the differences between your project that worked and the generated console project. :)
PSU_Blue:
What should I be looking for that might be amiss in the configuration? I haven't modified anything since creating the project. I am literally just creating a project and clicking "Build & run". I might just try uninstalling/reinstalling.
Navigation
[0] Message Index
[#] Next page
Go to full version