IPB SourceForge.net Logo

Welcome Guest ( Log In | Register )

[ Outline ] · Standard · Linear+

> Compilation error with VS 2005 Express, BasicException(const VCF::String &) ...

tareqsiraj
post Apr 24 2006, 02:04 AM
Post #1


Newbie
*

Group: Members
Posts: 4
Joined: 24-April 06
Member No.: 219



Hi all,
I am trying out VCF for the first time and I am using the free VS 2005 Express edition from Microsoft. Unfortunately, I get errors (posted below) when compiling the FoundationKit library. I found the similar error posted here on the forum, but no specific solution for this problem. But it is said that this code works with the .NET 2003 version. Is this a compatibility issue with the new compiler? Anybody has any solution for this to work with VS 2005 Express Edition compiler? Thanks for your time.

- Tareq

CODE
Compiling...
FoundationKit.cpp
c:\vcf-0.6.8\src\vcf\foundationkit\classnotfound.h(29) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [59]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [59]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\invalidpeer.h(27) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [32]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [32]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\invalidpointerexception.h(29) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [77]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [77]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\nofreememexception.h(28) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [58]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [58]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\nopeerfoundexception.h(25) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [32]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [32]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\nosuchelementexception.h(25) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [64]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [64]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\notimplementedexception.h(22) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [21]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [21]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\outofboundsexception.h(25) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [58]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [58]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\propertychangeexception.h(25) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [58]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [58]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\runtimeexception.h(31) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [80]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [80]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\typecastexception.h(33) : error C2664: 'VCF::BasicException::BasicException(const VCF::String &)' : cannot convert parameter 1 from 'const wchar_t [77]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [77]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\format.h(174) : error C2993: 'VCF::String' : illegal type for non-type template parameter '__formal'
c:\vcf-0.6.8\src\vcf\foundationkit\format.h(234) : error C2440: '<function-style-cast>' : cannot convert from 'const wchar_t [50]' to 'VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\format.h(234) : error C2440: '<function-style-cast>' : cannot convert from 'const wchar_t [21]' to 'VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\format.h(234) : error C2440: '<function-style-cast>' : cannot convert from 'const wchar_t [44]' to 'VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\format.h(234) : error C2440: '<function-style-cast>' : cannot convert from 'const wchar_t [11]' to 'VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\filepath.h(256) : error C2440: 'default argument' : cannot convert from 'const wchar_t [1]' to 'const VCF::String &'
       Reason: cannot convert from 'const wchar_t [1]' to 'const VCF::String'
       No constructor could take the source type, or constructor overload resolution was ambiguous
c:\vcf-0.6.8\src\vcf\foundationkit\filepath.h(415) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Build log was saved at "file://c:\vcf\vcf\build\vc80\FoundationKit\vc6\DebugS\BuildLog.htm"
FoundationKit - 18 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicTopic OptionsStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 

Lo-fi Version : 19th May 2013 - 05:12 AM