Link error collada framework mac port
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()"
I hope someone can help me....
Cheerio...
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>
#include <dae.h>
int main (int argc, const char * argv[])
{
DAE dae;
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}I hope someone can help me....
Cheerio...
You need to add the library/framework to your project.
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.
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.
if you run
does 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.
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.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Cannot link LiveSDK framework | SparkyNZ | 2 | 969 |
Dec 19, 2012 06:28 PM Last Post: SparkyNZ |
|
| Collada dom | BBBert | 11 | 4,926 |
Dec 28, 2011 01:17 AM Last Post: BBBert |
|
| a link error,please help | sakiel | 2 | 3,095 |
Aug 2, 2007 12:11 AM Last Post: sakiel |
|
| 'Unidentified error' error in Xcode | scgames | 2 | 3,167 |
Jun 10, 2006 01:38 AM Last Post: scgames |
|

