Thread: Cross-compiled MinGW program crashes with R6034 when run on Windows.

  1. #1
    Registered User
    Join Date
    Sep 2019

    Cross-compiled MinGW program crashes with R6034 when run on Windows.

    I'm linking it with:

    -lmingw32 -lcif -ldrawtext -lsoloud_static -lvorbis -ltheora -ltheoradec -logg -lwinmm -lole32 -lfreetype -lopengl32 -lgdi32 -lglu32 -luuid
    Of which `cif`, `drawtext`, `soloud_static`, `freetype` I've compiled myself also under MinGW, the same compiler. The rest seem to have been there by default. I am also compiling with `-m32`.

    Apparently, this error occours when you mix MSVC and MinGW libraries or something? Not sure if that's true, but I can't think of anything else, although there don't seem to be any MSVC libraries here. Windows was not used at all in the build process.

  2. #2
    Registered User
    Join Date
    May 2009
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #3
    Registered User
    Join Date
    Nov 2019
    Doing Cross-compiled on MinGW is not supported , said author

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 10 MinGW GCC Compile a program to DLL
    By Wido in forum C Programming
    Replies: 4
    Last Post: 10-06-2018, 01:18 PM
  2. Replies: 2
    Last Post: 03-30-2013, 02:50 AM
  3. why DOS prompt crashes when I run this compiled code?
    By jackson6612 in forum C++ Programming
    Replies: 7
    Last Post: 06-03-2011, 12:58 AM
  4. Replies: 16
    Last Post: 08-12-2009, 07:22 PM
  5. strcat in windows crashes program
    By Diamonds in forum Windows Programming
    Replies: 13
    Last Post: 12-06-2002, 02:46 PM

Tags for this Thread