![]() |
|
Link error collada framework mac port - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Tools & Technology (/forum-10.html) +--- Thread: Link error collada framework mac port (/thread-9656.html) |
Link error collada framework mac port - BBBert - Dec 28, 2011 01:59 AM Hya. I have tried to manually build the collada dom from the svn repository but failed. I gave up on it an installed the collada dom frameworks using mac ports. This at least solved a number of issues concerning incompatible architectures. However, now I have a link error concerning a missing destructor implementation: "daeSidRefCache::~daeSidRefCache()" Code: #include <iostream>I hope someone can help me.... Cheerio... RE: Link error collada framework mac port - OneSadCookie - Dec 28, 2011 12:04 PM You need to add the library/framework to your project. RE: Link error collada framework mac port - BBBert - Dec 28, 2011 02:10 PM I have added the Collada14Dom.framework using the Build Phases tab: Link Binary with libraries. Looking at the include file for the collada framework where the daeSidRefCache is defined, there is indeed NO definition for a destructor. But, correct me if I'm wrong, but the compiler should add a default destructor to a class if none is defined, right? If that's the case, something has gone wrong installing the macports version of collada? I can't find any leads on that though. Thanks. RE: Link error collada framework mac port - OneSadCookie - Dec 28, 2011 04:59 PM if you run Code: nm Collada14Dom.framework/Collada14Dom | c++filt | open -fdoes it list that symbol? If it does, your framework is not being linked correctly and I'm interested to see the detailed build log; if not, I'm interested to see the header and the detailed build log. |