From: michael z. <ral...@gm...> - 2013-07-03 20:25:42
|
Dear C++ experts: My first C++ program runs OK on a mainframe computer but in dev-cpp it won't compile. Here it is: #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(){ std::cout << "Hello,World\n"; return 0; } There is an error log with a bunch of messages: In function 'pre-cpp_init' [Linker error] undefined reference to '_newmode' [Linker error] undefined reference to '_dowildcard' In function 'check_managed_app' [Linker error] undefined reference to 'mingw_initltsdrot_force' [Linker error] undefined reference to 'mingw_initltsdyn_force' [Linker error] undefined reference to 'mingw_initltssuo_force' [Linker error] undefined reference to 'mingw_initcharmax' plus a lot more like these. Can anyone help me get started? Thanks in advance. Mary |