freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Wed Dec 02, 2020 3:11 pm
Board index » MXF Categories » freeMXF.org Tools



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

Offline
Regular

Joined: Tue Aug 14, 2007 2:57 pm
Posts: 23
Location: Firenze

Post Posted: Mon Aug 27, 2007 5:25 pm 
Top  
I have Windows XP and my compiler is Microsoft Visual C++ 7.1.3088.
When i try to compile the library I receive this output:
Linking in progress...
stdafx.obj : error LNK2019: reference to the external symbol "void __cdecl mxflib::error(char const *,...)" (?error@mxflib@@YAXPBDZZ) not resolved in the function "protected: virtual void __thiscall mxflib::RefCount<class mxflib::UL>::DeleteRef(class mxflib::ParentPtr<class mxflib::UL> &)" (?DeleteRef@?$RefCount@VUL@mxflib@@@mxflib@@MAEXAAV?$ParentPtr@VUL@mxflib@@@2@@Z)
Debug/ciao3.exe : fatal error LNK1120: 1 external not resolved

where is the problem?

 Profile  

Offline
Insider

Joined: Thu Apr 15, 2004 10:39 am
Posts: 198
Location: Scotland

Post Posted: Wed Aug 29, 2007 4:12 pm 
Top  
There are a few functions that have to be supplied by the main application in order to handle error and warning messages. If you look at the supplied applications you should see these being defined for simple console I/O - simplewrap is probably the easiest application to examine.

Compiling the library itself should not give these error messages as it should be compiled as a static library (so it is fine to have external symbols unresolved).

 Profile WWW  

Offline
Regular

Joined: Tue Aug 14, 2007 2:57 pm
Posts: 23
Location: Firenze

Post Posted: Fri Aug 31, 2007 1:03 pm 
Top  
thx, i have resolved the problem.

 Profile  

Offline
Rookie

Joined: Sun Mar 02, 2008 9:34 am
Posts: 3
Location: Australia

Post Posted: Sun Mar 02, 2008 9:46 am 
Top  
Hi, I'm trying to compile mxflib-beta-1.0.1 on Windows XP with Microsoft Visual C++ Express Edition version 9.0.21022.8. All of the apps fail to compile - the failure happens at the linking stage with the error:
Code:
LINK : fatal error LNK1104: cannot open file '.\debug\mxflib.lib'

I'm a complete novice to compiling under Windows and I don't have much of a clue under Linux either. Can anyone give me a clue?

Cheers,

Dan

 Profile  

Offline
Insider

Joined: Thu Apr 15, 2004 10:39 am
Posts: 198
Location: Scotland

Post Posted: Mon Mar 03, 2008 12:36 pm 
Top  
Did you convert the mxflib.sln file when you tried to compile with Visual C++ Express, or are you trying to compile from the individual project files?

 Profile WWW  

Offline
Rookie

Joined: Sun Mar 02, 2008 9:34 am
Posts: 3
Location: Australia

Post Posted: Sat Mar 15, 2008 12:28 am 
Top  
I'm opening build/msvc/mxflib.dsw and building the "all" project. When it asks me to convert I say "yes to all".

 Profile  

Offline
Site Admin

Joined: Thu Apr 15, 2004 10:28 am
Posts: 17

Post Posted: Thu Mar 27, 2008 12:33 pm 
Top  
It would be better to start with mxflib.sln

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

Jump to:  


Who is online

Users browsing this forum: No registered users and 1 guest

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
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by phpBBservice.nl :: All times are UTC