Menu

Sphinxbase build problem

Help
2010-12-13
2012-09-22
  • Ayhan KÜÇÜKMANİSA

    Hi! i'm trying to build sphinxbase in visual studio 2010 but i have errors .
    i'm doing this steps for building.
    What i miss ?

    1. i changed the folder name sphinxbase-0.6.1 to sphinxbase.
    2. i go into the sphinxbase folder and click sphinxbase.sln
    3. in the menu i choose build -> batch build(soltion conf. i marked release) -> rebuild

    now i'm taking this errors ;

    sphinx_pitch.obj : error LNK2001: unresolved external symbol imp__yin_init
    sphinx_pitch.obj : error LNK2001: unresolved external symbol __imp__yin_free
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp__cmd_ln_parse
    sphinx_pitch.obj : error LNK2001: unresolved external symbol __imp__ckd_free
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __impEprwarn
    sphinx_pitch.obj : error LNK2001: unresolved external symbol __imp__yin_write
    sphinx_pitch.obj : error LNK2001: unresolved external symbol __imp__fread_line
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __impEprinfo
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp____ckd_salloc

    sphinx_pitch.obj : error LNK2001: unresolved external symbol imp__cmd_ln_get
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __impEsyserror
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp__cmd_ln_str_r
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp__cmd_ln_int_r
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp__cmd_ln_free
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp____ckd_calloc

    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __impE_pr_info_header
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    imp__cmd_ln_set_str_r
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp__cmd_ln_float_r
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp__cmd_ln_set_int_r
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __impE_pr_header
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    imp__yin_end
    sphinx_pitch.obj : error LNK2001: unresolved external symbol
    __imp__string_join
    sphinx_pitch.obj : error LNK2001: unresolved external symbol __imp__yin_read
    sphinx_pitch.obj : error LNK2001: unresolved external symbol __imp__yin_start
    C:\Users\Ayhan\Documents\Visual Studio
    2010\Projects\sphinxbase\bin\Release\sphinx_pitch.exe : fatal error LNK1120:
    24 unresolved externals

    thanks.

     
  • daniel chen

    daniel chen - 2010-12-13

    you may set the file path right.

     
  • ayhan manisa

    ayhan manisa - 2010-12-13

    how can i do this? could you give me more information?

     
  • Nickolay V. Shmyrev

    first of all learn to not create multiple threads on the same subject. You
    created 3 identical under 2 accounts.

     
  • ayhan manisa

    ayhan manisa - 2010-12-13

    ok i understand!
    in my problem i can not load all project in th sphinxbase. only i can load
    sphinx_pitch,others are not loaded. i solve to proble above adding source
    files to sphinx_pitch source files. now when building sphinx_pitch i have
    error below.
    what can i do? could you give me advise?

    ------ Build started: Project: sphinx_pitch, Configuration: Release Win32 ------
    Build started 12/13/2010 11:03:25 AM.
    InitializeBuildStatus:
    Touching "Release\sphinx_pitch.unsuccessfulbuild".
    ClCompile:
    All outputs are up-to-date.
    Link:
    Creating library C:\Users\user\Documents\Visual Studio
    2010\Projects\sphinxbase\bin\Release\sphinx_pitch.lib and object
    C:\Users\user\Documents\Visual Studio
    2010\Projects\sphinxbase\bin\Release\sphinx_pitch.exp
    Generating code
    Finished generating code
    sphinx_pitch.vcxproj -> C:\Users\user\Documents\Visual Studio
    2010\Projects\sphinxbase\bin\Release\sphinx_pitch.exe
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(3058,9)
    error MSB4006: There is a circular dependency in the target dependency graph
    involving target "GetCopyToOutputDirectoryItems".

    Build FAILED.

     
  • daniel chen

    daniel chen - 2010-12-13

    error MSB4006: There is a circular dependency , please check the depency , you
    have made dependency each other.

     
  • ayhan manisa

    ayhan manisa - 2010-12-13

    thanks! i solve this problem by chanching Properties->Framework and references
    -> Copy Local
    chanching its true to false. now its build succesfully but is this true way im
    not sure?
    and still i cant load other projects could you help in that too? they are
    skipping when building and seem unavaliable.

     
  • ayhan manisa

    ayhan manisa - 2010-12-13

    nobody have an idea for this. this is important for me. please give me an
    advise.

     

Log in to post a comment.