Results 1 to 3 of 3

Thread: How to use FCollada?

  1. #1
    Junior Member
    Join Date
    Jun 2006
    Posts
    3

    How to use FCollada?

    Hi,

    I'm quite new to collada, but thought I'd give the FCollada library a try. I have downloaded the latest version with static libs (1.11) and made a very simpel program to check if my build works:
    Code :
    int main(int argc, char* argv[])
    {
    	int version = FCollada::GetVersion();
     
    	return 0;
    }

    I link with FColladaSD.lib but still get 3 unresolved symbols :

    FColladaSD.lib(DLLEntry.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl FUDebug:ebugOut(unsigned char,char const *,unsigned long,char const *,...)" (?DebugOut@FUDebug@@SAXEPBDK0ZZ) referenced in function "void __cdecl TrickLinker(void)" (?TrickLinker@@YAXXZ)
    FColladaSD.lib(DLLEntry.obj) : error LNK2019: unresolved external symbol "public: void __cdecl FULogFile::WriteLine(char const *,...)" (?WriteLine@FULogFile@@QAAXPBDZZ) referenced in function "void __cdecl TrickLinker(void)" (?TrickLinker@@YAXXZ)
    FColladaSD.lib(DLLEntry.obj) : error LNK2019: unresolved external symbol "public: void __thiscall FMColor::ToFloats(float *,unsigned long)" (?ToFloats@FMColor@@QAEXPAMK@Z) referenced in function "void __cdecl TrickLinker(void)" (?TrickLinker@@YAXXZ)
    Are there any other libs I need to link to?

    Btw. I'm using VC++ 2003.

    Thanks for any help,
    -Pelle

  2. #2
    Junior Member
    Join Date
    Jun 2006
    Posts
    3
    Tried using an older version (1.10) which builds without errors, but with some linker warnings about missing debug info in a number of modules (DLLEntry, FMColor, FUDebug, FULogFile, FUFile) ... guess that isn't too important.

    -Pelle

  3. #3
    Senior Member
    Join Date
    Apr 2005
    Location
    Feeling Software, Montreal, Quebec
    Posts
    111
    Thanks for reporting this error to us.

    I'm glad 1.10 is working for you. I'll take some time and verify why 1.11 is causing the above-mentioned issues. You'll notice that the unresolved externals are all in the "TrickLinker" function: so much for forcing the linker to add the functions to the library correctly .

    Sincerely,
    Guillaume Laforte
    Feeling Software Inc
    http://www.feelingsoftware.com

Posting Permissions

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