freeMXF.org
http://www.freemxf.org/forum/

Building Problem on XP with Visual C++
http://www.freemxf.org/forum/viewtopic.php?f=2&t=93
Page 1 of 1

Author:  MarcoBiagi [ Mon Aug 27, 2007 5:25 pm ]
Post subject:  Building Problem on XP with Visual C++

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?

Author:  Matt Beard [ Wed Aug 29, 2007 4:12 pm ]
Post subject: 

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).

Author:  MarcoBiagi [ Fri Aug 31, 2007 1:03 pm ]
Post subject: 

thx, i have resolved the problem.

Author:  danversj [ Sun Mar 02, 2008 9:46 am ]
Post subject: 

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

Author:  Matt Beard [ Mon Mar 03, 2008 12:36 pm ]
Post subject: 

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?

Author:  danversj [ Sat Mar 15, 2008 12:28 am ]
Post subject: 

I'm opening build/msvc/mxflib.dsw and building the "all" project. When it asks me to convert I say "yes to all".

Author:  Board Admin [ Thu Mar 27, 2008 12:33 pm ]
Post subject: 

It would be better to start with mxflib.sln

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/