Compilation error with VS 2005 Express, BasicException(const VCF::String &) ...
Compilation error with VS 2005 Express, BasicException(const VCF::String &) ...
| tareqsiraj |
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 ========== |
tareqsiraj Compilation error with VS 2005 Express Apr 24 2006, 02:04 AM
ddiego Couple of quick questions:
How did you get the VC... Apr 24 2006, 02:11 AM
ddiego I think I see the problem!
You have files in ... Apr 24 2006, 02:43 AM
tareqsiraj Thanks a lot man... i think this fixed the problem... Apr 24 2006, 04:43 AM![]() ![]() ![]() |
| Lo-fi Version | : 19th May 2013 - 05:12 AM |