Menu

Error LNK2019 unresolved external symbol _cmd_ln_init referenced in function _main

Help
2017-08-24
2017-08-24
  • bunnybot5555

    bunnybot5555 - 2017-08-24
     

    Last edit: bunnybot5555 2017-08-28
    • Nickolay V. Shmyrev

      Link to pocketsphinx and sphinxbase libraries in project properties.

      https://stackoverflow.com/questions/7845886/linking-dll-in-visual-studio

       
      • bunnybot5555

        bunnybot5555 - 2017-08-24

        I did that and now I get these errors:

        Error   LNK1107 invalid or corrupt file: cannot read at 0x300   
        
         

        Last edit: bunnybot5555 2017-08-24
        • Nickolay V. Shmyrev

          You are trying to link to a wrong file most likely. You need sphinxbase.lib and pocketsphinx.lib. Such problems are easy to resolve if you actually read the docs and try to understand what is going on.

           
  • bunnybot5555

    bunnybot5555 - 2017-08-25

    When I use the lib files I get:

    Error   LNK2019 unresolved external symbol _cmd_ln_init referenced in function _main
    Error   LNK2019 unresolved external symbol _ps_args referenced in function _main
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.