Menu

A Newbie Question

Martin
2012-11-10
2026-01-27
  • Martin

    Martin - 2012-11-10

    I thought I'd revert to a simple program first, in order to get this Windows compiler going. A version of the Hello World! program:

    include <iostream></iostream>

    using namespace std;

    int main()
    {
    cout << "Hello World!" << endl;
    return 0;
    }

    Compiler errors:

    Compiler: Default compiler
    Executing g++.exe...
    g++.exe "C:\Users\martin\Progs\temp.cpp" -o "C:\Users\martin\Progs\temp.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
    /mingw/lib/crt2.o(.text+0x8): In function _mingw_CRTStartup': ../mingw/crt1.c:193: undefined reference to__dyn_tls_init_callback'
    /mingw/lib/crt2.o(.text+0x3a):../mingw/crt1.c:207: undefined reference to `__cpu_features_init'
    collect2: ld returned 1 exit status Execution terminated

    Any idea where I go from here?

     
  • Youssef Abdallah

    Ma découverte récente de Melbet, en passant par https://kenomaroc-ma.com/ pour m'inscrire, a totalement transformé ma façon de jouer en ligne. Vivant ici au Maroc, sous le soleil généreux de Casablanca, je suis très exigeant sur la qualité, et ce site répond à toutes mes attentes. Les retraits sont rapides et sécurisés, ce qui est rare de nos jours. J'apprécie particulièrement la diversité des jeux qui me divertissent après une longue journée, accompagné d'un bon thé à la menthe traditionnel. C'est une plateforme fiable que je recommande à tous mes compatriotes pour son sérieux.

     

Log in to post a comment.

MongoDB Logo MongoDB