Results 1 to 2 of 2

Thread: Error compiling Collada_RT_Viewer on Visual Studio 2005

  1. #1
    adriano_crestani
    Guest

    compilation problem

    I am trying to build the Collada_RT_Viewer on Visual Studio 2005, but I am
    having some troubles at the link.
    I am using libiconv-1.9.2, libxml2-2.6.24, zlib-1.2.3, and Cg 1.5 Beta 2.
    Someone can help me?

    Log_Error:

    1>------ Build started: Project: COLLADA_RT_VIEWER, Configuration: Debug 1.4
    Win32 ------
    1>Linking...
    1>libxml2_a.lib(encoding.obj) : error LNK2019: unresolved external symbol
    _libiconv referenced in function _xmlIconvWrapper
    1>libxml2_a.lib(encoding.obj) : error LNK2019: unresolved external symbol
    _libiconv_close referenced in function _xmlCharEncCloseFunc
    1>libxml2_a.lib(encoding.obj) : error LNK2019: unresolved external symbol
    _libiconv_open referenced in function _xmlFindCharEncodingHandler
    1>../../bin-dbg/COLLADA_RT_VIEWER.exe : fatal error LNK1120: 3 unresolved
    externals
    1>Build log was saved at "file://d:\Douglas\Computação
    Grafica\Collada\COLLADA_RT\tmp\Win32\Debug
    1.4\COLLADA_RT_VIEWER\BuildLog.htm"
    1>COLLADA_RT_VIEWER - 4 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

  2. #2
    Senior Member
    Join Date
    Aug 2005
    Location
    California
    Posts
    165
    The project file needs to have iconv_a.lib added to the Linker input.
    This can be found in the project properties page.

    It was a bug found and fixed very shortly after the release. We just haven't had enough changes to make a new package/revision with that change in it. The svn repository has had that fix in it for a while now. [edit: OOPS this was fixed on our internal svn but was never mirrored onto the sourceforge svn. I did put it there now. ]

    -Andy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •