Try installing with : winetricks vcrun6 , and then set msvcrt.dll to native in your winecfg On Mon, Oct 24, 2016 at 12:59 PM, A B <dianaxxyyzz@xxxxxxxxx> wrote: > Hello , > > Have you tried to compile the code using the winelib ? > Are you using the windows msvcrt.dll or a msvcrt compiled for linux? > You can try with a msvcrt.dll that you get from a windows os. > > On Mon, Oct 24, 2016 at 12:29 PM, Fabian Wein <fabian.wein@xxxxxx> wrote: > >> Hi, >> >> we have a own C++ code running usually on Linux and OS X. The code is >> known to run on Windows compiled natively. It is a text-based academic code >> (Finite-Element) using some Fortran Libs compiled with the cross-compiler >> and Intels MKL. >> >> Now I cross-compile the code using mingw 6.2.0 from openSUSE. We have a >> testsuite for our code with 150 complete test runs (the whole application >> runs with different input). >> Out of these about 70 fail and the most common error (40) is of this type. >> >> ERROR: RV=1 : fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x01b6 ignored >> err:seh:setup_exception stack overflow 1712 bytes in thread 0026 eip >> 000000007bc654c9 esp 0000000000130f50 stack 0x130000-0x131000-0x330000 >> >> Any hints? Links? Apporaches to debug the stuff? >> >> It runs on openSUSE tumbleweed with wine-1.9.20 >> >> Thanks >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20161024/f6c5d3c2/attachment.html>