#1 Burning Software

It is currently Thu Dec 19, 2024 10:22 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: C++ VS.NET 2003 AudioBurner static linkage problems
PostPosted: Mon May 28, 2007 10:32 pm 
Offline

Joined: Mon May 28, 2007 10:16 pm
Posts: 8
Hello,

First: thanks for the splendid product. Great value and magnificently featured!

Second: Using VS.NET 2003 SP1 to build the MSVC AudioBurner sample as installed I get the linker errors shown below. The dynamic configuration builds perfectly.

Which version of the C++ is used to compile the static libraries?

Thx++,

Jerry.

Apologies for the verbosity.
Code:
------ Build started: Project: AudioBurner, Configuration: Debug Static Win32 ------

Linking...
StarWave.lib(cstarwave_syncfilewriter.obj) : error LNK2001: unresolved external symbol __except_handler4
StarWave.lib(cstarwave_readonlyfilestream.obj) : error LNK2001: unresolved external symbol __except_handler4
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __except_handler4 referenced in function "unsigned long __stdcall StarBurn_DeviceOpen(char *,void * *)" (?StarBurn_DeviceOpen@@YGKPADPAPAX@Z)
StarWave.lib(starwave.obj) : error LNK2001: unresolved external symbol __except_handler4
StarWave.lib(starwave_header.obj) : error LNK2001: unresolved external symbol __except_handler4
StarWave.lib(cstarwave_syncfilereader.obj) : error LNK2001: unresolved external symbol __except_handler4
StarWave.lib(cstarwave_syncfilewriter.obj) : error LNK2001: unresolved external symbol __SEH_epilog4
StarWave.lib(cstarwave_readonlyfilestream.obj) : error LNK2001: unresolved external symbol __SEH_epilog4
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __SEH_epilog4 referenced in function "unsigned long __stdcall StarBurn_InitDebugSettings(void)" (?StarBurn_InitDebugSettings@@YGKXZ)
StarWave.lib(starwave.obj) : error LNK2001: unresolved external symbol __SEH_epilog4
StarWave.lib(starwave_header.obj) : error LNK2001: unresolved external symbol __SEH_epilog4
StarWave.lib(cstarwave_syncfilereader.obj) : error LNK2001: unresolved external symbol __SEH_epilog4
StarWave.lib(cstarwave_syncfilewriter.obj) : error LNK2001: unresolved external symbol __SEH_prolog4
StarWave.lib(cstarwave_readonlyfilestream.obj) : error LNK2001: unresolved external symbol __SEH_prolog4
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __SEH_prolog4 referenced in function "unsigned long __stdcall StarBurn_InitDebugSettings(void)" (?StarBurn_InitDebugSettings@@YGKXZ)
StarWave.lib(starwave.obj) : error LNK2001: unresolved external symbol __SEH_prolog4
StarWave.lib(starwave_header.obj) : error LNK2001: unresolved external symbol __SEH_prolog4
StarWave.lib(cstarwave_syncfilereader.obj) : error LNK2001: unresolved external symbol __SEH_prolog4
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __ehhandler$??1CStarBurn_MemoryDeAllocator@@UAE@XZ
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_epilog3 referenced in function "public: virtual __thiscall CStarBurn_MemoryDeAllocator::~CStarBurn_MemoryDeAllocator(void)" (??1CStarBurn_MemoryDeAllocator@@UAE@XZ)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_prolog3 referenced in function "public: virtual __thiscall CStarBurn_MemoryDeAllocator::~CStarBurn_MemoryDeAllocator(void)" (??1CStarBurn_MemoryDeAllocator@@UAE@XZ)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_epilog3_catch_GS referenced in function __catch$?Init@CStarBurn_Wrapper@@AAEXXZ$0
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_prolog3_catch_GS referenced in function "private: void __thiscall CStarBurn_Wrapper::Init(void)" (?Init@CStarBurn_Wrapper@@AAEXXZ)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_epilog3_GS referenced in function "public: __thiscall CStarBurn_ISO9660FileTreeNode::CStarBurn_ISO9660FileTreeNode(unsigned char *,char *,char *,union _LARGE_INTEGER,class CStarBurn_FileTreeNode *,long,struct _FILETIME,unsigned char)" (??0CStarBurn_ISO9660FileTreeNode@@QAE@PAEPAD1T_LARGE_INTEGER@@PAVCStarBurn_FileTreeNode@@JU_FILETIME@@E@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_prolog3_GS referenced in function "public: __thiscall CStarBurn_ISO9660FileTreeNode::CStarBurn_ISO9660FileTreeNode(unsigned char *,char *,char *,union _LARGE_INTEGER,class CStarBurn_FileTreeNode *,long,struct _FILETIME,unsigned char)" (??0CStarBurn_ISO9660FileTreeNode@@QAE@PAEPAD1T_LARGE_INTEGER@@PAVCStarBurn_FileTreeNode@@JU_FILETIME@@E@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol _SptdUserOpenDevice@16 referenced in function "public: __thiscall CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD(unsigned short *,unsigned char)" (??0CStarBurn_ScsiTransportSPTD@@QAE@PAGE@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol _SptdUserEnumDevices@24 referenced in function "public: __thiscall CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD(unsigned short *,unsigned char)" (??0CStarBurn_ScsiTransportSPTD@@QAE@PAGE@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol _SptdUserGetPlatformInfo@16 referenced in function "public: __thiscall CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD(unsigned short *,unsigned char)" (??0CStarBurn_ScsiTransportSPTD@@QAE@PAGE@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol _SptdUserCloseDevice@8 referenced in function "public: virtual __thiscall CStarBurn_ScsiTransportSPTD::~CStarBurn_ScsiTransportSPTD(void)" (??1CStarBurn_ScsiTransportSPTD@@UAE@XZ)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol _SptdUserSendCommand@24 referenced in function "protected: virtual void __thiscall CStarBurn_ScsiTransportSPTD::ExecuteCDB(unsigned char *,unsigned long,unsigned char *,unsigned long,unsigned char,union _LARGE_INTEGER *,union _LARGE_INTEGER *)" (?ExecuteCDB@CStarBurn_ScsiTransportSPTD@@MAEXPAEK0KEPAT_LARGE_INTEGER@@1@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_epilog3_GS_align referenced in function "protected: virtual void __thiscall CStarBurn_ScsiTransportSPTD::ExecuteCDB(unsigned char *,unsigned long,unsigned char *,unsigned long,unsigned char,union _LARGE_INTEGER *,union _LARGE_INTEGER *)" (?ExecuteCDB@CStarBurn_ScsiTransportSPTD@@MAEXPAEK0KEPAT_LARGE_INTEGER@@1@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_prolog3_GS_align referenced in function "protected: virtual void __thiscall CStarBurn_ScsiTransportSPTD::ExecuteCDB(unsigned char *,unsigned long,unsigned char *,unsigned long,unsigned char,union _LARGE_INTEGER *,union _LARGE_INTEGER *)" (?ExecuteCDB@CStarBurn_ScsiTransportSPTD@@MAEXPAEK0KEPAT_LARGE_INTEGER@@1@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __EH_prolog3_catch referenced in function "private: virtual unsigned long __thiscall CStarBurn_CdvdBurnerGrabber::WriteCacheThread(void *)" (?WriteCacheThread@CStarBurn_CdvdBurnerGrabber@@EAEKPAX@Z)
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __SEH_epilog4_GS referenced in function _StarBurnI_ParseMDS@20
StarWave.lib(starwave.obj) : error LNK2001: unresolved external symbol __SEH_epilog4_GS
StarWave.lib(cstarwave_syncfilereader.obj) : error LNK2001: unresolved external symbol __SEH_epilog4_GS
StarWave.lib(cstarwave_readonlyfilestream.obj) : error LNK2001: unresolved external symbol __SEH_epilog4_GS
StarBurn.lib(starburn.obj) : error LNK2019: unresolved external symbol __SEH_prolog4_GS referenced in function _StarBurnI_ParseMDS@20
StarWave.lib(starwave.obj) : error LNK2001: unresolved external symbol __SEH_prolog4_GS
StarWave.lib(cstarwave_syncfilereader.obj) : error LNK2001: unresolved external symbol __SEH_prolog4_GS
StarWave.lib(cstarwave_readonlyfilestream.obj) : error LNK2001: unresolved external symbol __SEH_prolog4_GS
Debug Static/AudioBurner.exe : fatal error LNK1120: 20 unresolved externals

Build log was saved at "file://r:\apps\starburn\Samples\GUI\MSVC\AudioBurner\Debug Static\BuildLog.htm"
AudioBurner - 42 error(s), 0 warning(s)


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 29, 2007 3:39 pm 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
Hello Jerry,

Unfortunately this release don't support static build under VS2003, only dynamic. You can build static release assembly under VS2005.

Give me please your email(write letter to me), and i send to you corrected MSVS MFC samples with projects under VS2003 and VS2005 with supported build configuration.


Top
 Profile  
 
 Post subject: Thanks Andrey
PostPosted: Tue May 29, 2007 6:02 pm 
Offline

Joined: Mon May 28, 2007 10:16 pm
Posts: 8
An email is on its way to you.


Top
 Profile  
 
 Post subject: Thanks Andrey
PostPosted: Tue May 29, 2007 7:33 pm 
Offline

Joined: Mon May 28, 2007 10:16 pm
Posts: 8
Can you tell me what the differences are in the projects? A quick check revealed nothing obvious?


Top
 Profile  
 
 Post subject: Re: Thanks Andrey
PostPosted: Wed May 30, 2007 8:15 am 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
NovaDSP wrote:
Can you tell me what the differences are in the projects? A quick check revealed nothing obvious?


Jerry,

If i have got you correctly, you ask about difference between VS2003 and VS2005 solutions.

VS2003 samples solution - it's solution under Visual Studio 2003 (ver. 7.x)
VS2003 solution have build configuration:
1)Dynamic Release
2)Dynamic Debug


VS2005 samples solution - it's solution under Visual Studio 2005 (ver. 8.x)
VS2005 solution have build configuration:
1)Dynamic Release
2)Dynamic Debug
3)Static Release


Top
 Profile  
 
 Post subject: Andrey,
PostPosted: Wed May 30, 2007 10:16 am 
Offline

Joined: Mon May 28, 2007 10:16 pm
Posts: 8
So it is not possible to have static linkage using VS.NET 2003?


Top
 Profile  
 
 Post subject: Re: Andrey,
PostPosted: Wed May 30, 2007 12:37 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
No and never will be. For static linking you have to use the same version o the compiler and same set of static libs we use ourselves.

NovaDSP wrote:
So it is not possible to have static linkage using VS.NET 2003?


Top
 Profile  
 
 Post subject: Anton
PostPosted: Wed May 30, 2007 1:22 pm 
Offline

Joined: Mon May 28, 2007 10:16 pm
Posts: 8
Thanks, it might be an idea to clarify this in the FAQ or something. I've got VS2005 but am still modifying code etc built with VS2003 ...


Top
 Profile  
 
 Post subject: Re: Anton
PostPosted: Wed May 30, 2007 1:56 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) It's mentioned in the F.A.Q. already :)

2) You don't need to do this. Ask Andrew and he'll issue you with the 2005-compatible project files. We'll release StarBurn SDK with them in June. FYI.

Thanks!

NovaDSP wrote:
Thanks, it might be an idea to clarify this in the FAQ or something. I've got VS2005 but am still modifying code etc built with VS2003 ...


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 30, 2007 2:41 pm 
Offline

Joined: Mon May 28, 2007 10:16 pm
Posts: 8
Ah! Must remember to read last page of the FAQ. :oops:


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 30, 2007 3:45 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
:))

NovaDSP wrote:
Ah! Must remember to read last page of the FAQ. :oops:


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 14 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group