freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Fri Nov 01, 2024 12:33 am
Board index » MXF Categories » freeMXF.org Tools



Post new topic Reply to topic  [ 2 posts ] 
Author
Search for:
Message

Offline
Board User

Joined: Thu Feb 25, 2010 2:39 pm
Posts: 6

Post Posted: Wed Mar 10, 2010 1:45 pm 
Top  
Hi All,

It seems there is a difference between the windows and the linux build that does not make sense to me ..

I defined a new data essence descriptor called 'MyNewDescriptor' in the dict.xml.

This is loaded in my essencesubparser like this:

MDObjectPtr DescObj = new MDObject("MyNewDescriptor");

On windows this works fine, but on linux I get:

BaseType=MyNewDescriptor
testrunner: mdobject.cpp:230: mxflib::MDObject::MDObject(std::string,
mxflib::SymbolSpacePtr&): Assertion `Type' failed.

Which is the assert from this piece of code:

ULPtr ThisUL = SymSpace-Find(BaseType);
if(ThisUL) Type = MDOType::Find(ThisUL);
if(Type)
{
ObjectName = Type-Name();
}
else
{
error("Metadata object type \"%s\" doesn't exist\n", BaseType.c_str());

Type = MDOType::Find("Unknown");

ASSERT(Type);

ObjectName = "Unknown " + BaseType;
}


So the type(name) is passed fine, but it cannot be found - nor can the
'Unknown' type
- I did set the MXFLIB_DATA_DIR
- I copied my dict.xml over the one in /usr/local/share/mxflib

But somehow it is not there.

Can anyone help me in finding the cause?

Thanks in advance, Dirk

 Profile  

Offline
Board User

Joined: Thu Feb 25, 2010 2:39 pm
Posts: 6

Post Posted: Fri Mar 12, 2010 9:40 am 
Top  
I did some further checks, and it seems only to affect my unit-tester.

The executable is fine: it acutally encodes/decodes.

SO it might be something to do with my setup - I let the forum know when I find out

 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Jump to:  


Who is online

Users browsing this forum: No registered users and 5 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by phpBBservice.nl :: All times are UTC