Menu

Errors in building flite2.0 on Visual studio 2005

Help
2015-07-02
2015-07-02
  • raspberry_dev

    raspberry_dev - 2015-07-02

    I have downloaded the flite 2.0 on windows m/c.
    Trying to build the flite solution for Visual studio that comes with the downloads.
    Getting errors:
    1>Linking...
    1> Creating library lib\fliteDll.lib and object lib\fliteDll.exp
    1>cmu_lex.obj : error LNK2019: unresolved external symbol _cmu_postlex referenced in function _cmu_lex_init
    1>cst_cg.obj : error LNK2019: unresolved external symbol _cst_spamf0 referenced in function _cg_synth
    1>cst_file_stdio.obj : error LNK2019: unresolved external symbol _cst_url_open referenced in function _cst_fopen
    1>cst_file_stdio.obj : error LNK2019: unresolved external symbol _cst_urlp referenced in function _cst_fopen
    1>flite.obj : error LNK2001: unresolved external symbol _cst_urlp
    1>cst_val.obj : error LNK2019: unresolved external symbol _snprintf referenced in function _cst_utf8_explode
    1>flite.obj : error LNK2019: unresolved external symbol _cst_cg_dump_voice referenced in function _flite_voice_dump
    1>flite.obj : error LNK2019: unresolved external symbol _cst_cg_load_voice referenced in function _flite_voice_load
    1>lib\fliteDll.dll : fatal error LNK1120: 7 unresolved externals
    1>Build log was saved at "file://f:\NEETA_TTS\flite-2.0.0-release\flite-2.0.0-release\windows\build\Debug\BuildLog.htm"
    1>fliteDll - 9 error(s), 0 warning(s)
    2>------ Build started: Project: cmu_us_rms, Configuration: Debug Win32 ------
    2>Linking...
    2> Creating library ....\lib\cmu_us_rms.lib and object ....\lib\cmu_us_rms.exp
    2>cmu_us_rms_cg.obj : error LNK2001: unresolved external symbol _cmu_us_rms_spamf0_accent_vectors
    2>cmu_us_rms_cg.obj : error LNK2001: unresolved external symbol _cmu_us_rms_spamf0_phrase_cart
    2>cmu_us_rms_cg.obj : error LNK2001: unresolved external symbol _cmu_us_rms_spamf0_accent_cart
    2>....\lib\cmu_us_rms.dll : fatal error LNK1120: 3 unresolved externals
    2>Build log was saved at "file://f:\NEETA_TTS\flite-2.0.0-release\flite-2.0.0-release\windows\build\Debug\BuildLog.htm"
    2>cmu_us_rms - 4 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

    Can somebody please help me with this?

     
    • Nickolay V. Shmyrev

      You can learn a lot about linking from the following post:

      http://www.lurklurk.org/linkers/linkers.html

       

Log in to post a comment.