Menu

problem with compile the sphinxtrain

Help
xw920
2012-09-15
2012-09-22
  • xw920

    xw920 - 2012-09-15

    hello guys, i met some problem when i try to use pocketsphinx and sphinxtrain
    in windows environment.
    i use Microsoft visual studio 2010 to open the .sln and to compile the whole
    thing, i can successfully compile the pocketsphinx and the sphinxbase. but
    when i try to compile the sphinxtrain by open the .sln file, out of 31
    programs, there are always two which cannot be compiled successfully.
    the first project is make_quests
    it said that_ .........\sphinxbase\bin\Debug\sphinxbase.dll : fatal error
    LNK1107_, it said the file is damaged and it can read this file at 0x300. i
    download the sphinxbase and pocketsphinx and sphinxtrain again, and the same
    error happened again.
    the second program is norm
    it said LINK : fatal error LNK1104: it cannot open“sphinxbase.lib”
    and i also try the snapshot version, but that is ok.
    can anyone tell me how to successfully build the sphinxtrain?
    and i also have another question:
    when i follow the steps in building the acoustic model, i don't know how to
    update the system configuration so the system will be able to find the dynamic
    libraries in the windows environment. can anyone tell me how to do that?
    these are my two question. can anyone give me some advice?
    thanks a lot

     
  • Nickolay V. Shmyrev

    and i also try the snapshot version, but that is ok.

    Use snapshot then if it works

    when i follow the steps in building the acoustic model, i don't know how to
    update the system configuration so the system will be able to find the dynamic
    libraries in the windows environment. can anyone tell me how to do that?

    Windows uses PATH variable to search for dlls, you can edit it in the system
    properties.

     
  • xw920

    xw920 - 2012-09-16

    thanks a lot. but i need to use the sphinxtrain-1.0.7 because i don't how to
    build a acoustic model using snapshot.
    you mentioned that Windows uses PATH variable to search for dlls, you can
    edit it in the system properties
    .
    can you tell me more details? i don't know how to do that._
    You will need to install software as an administrator root. After you
    installed the software you may need to update the system configuration so the
    system will be able to find the dynamic libraries. For example

    export PATH=/usr/local/bin:$PATH
    export LD_LIBRARY_PATH=/usr/local/lib
    export PKG_CONFIG_PATH=/usr/local/lib/pkgconf_ig
    in the tutorial, this must be the path in linux system, but for the wondows
    system, the information for these path must be different right?

     
  • Nickolay V. Shmyrev

    can you tell me more details?

    Please use Google to ask such basic questions. You can find the answer in a
    minute

    http://www.java.com/en/download/help/path.xml

    instead of waiting for several days

    in the tutorial, this must be the path in linux system, but for the wondows
    system, the information for these path must be different right?

    Yes

     

Log in to post a comment.