Menu

Pocketsphinx segmentation fault

Help
2015-08-21
2015-08-23
  • Cornebidouil

    Cornebidouil - 2015-08-21

    Hello everybody,
    I try to use pocketsphinx with mingw (with codeblocks), unfortunatly I compiled it once with VS but I get a segmentation fault :

    <#0 77D4D968 ntdll!RtlIdnToUnicode() (C:\Windows\system32\ntdll.dll:??)
    <#1 56257370 iob() (C:\Windows\SysWOW64\msvcr120d.dll:??)
    <#2 56257374 iob() (C:\Windows\SysWOW64\msvcr120d.dll:??)
    <#3 7EFDE000 ?? () (??:??)
    <#4 77D4D877 ntdll!RtlIdnToUnicode() (C:\Windows\system32\ntdll.dll:??)
    <#5 ?? ?? () (??:??)

    Then, I tried to compile pocketsphinx with mingw by the way of MSYS but I get the same segmentation fault.

    Did I do a bad compilation ? How can I solve this problem ?

     

    Last edit: Cornebidouil 2015-08-21
    • Nickolay V. Shmyrev

      Mingw runtime is not compatible with VS, so you can not use dlls compiled with VS in Mingw, you have to compile with Mingw.

      Then, I tried to compile pocketsphinx with mingw by the way of MSYS but I get the same segmentation fault.

      No, it should not be like that, you need to verify yourself here. msvcr120d.dll should never be used if you compile with mingw.

       
      • Cornebidouil

        Cornebidouil - 2015-08-21

        Do you have a tutorial which explain point by point how compile a library because I think I didn't understand how to do it. I verify in the folder where I compile it and I don't have any dll of pocketsphinx ...
        In fact I just generated includes and executables .

         

        Last edit: Cornebidouil 2015-08-21
        • Cornebidouil

          Cornebidouil - 2015-08-22

          I solved my problem I did a good compilation but I didn't do a good configuration of my compiler ...

           

Log in to post a comment.