Hi,
I have downloaded the latest version of BCI code. The version that I downloaded is 3654. But, when I compiled the program in the environment of Borland C++ Builder 6.0, it could not pass the compilation. It came out many errors as follows:
Build
[C++ Error] Runnable.h(84): E2108 Improper use of typedef 'T1'
[C++ Error] Runnable.h(84): E2299 Cannot generate template specialization from 'FunctionCall<T>'
[C++ Error] Runnable.h(92): E2428 Templates must be classes or functions
[C++ Error] Runnable.h(93): E2108 Improper use of typedef 'T1'
[C++ Error] Runnable.h(93): E2293 ) expected
[C++ Error] Runnable.h(102): E2299 Cannot generate template specialization from 'FunctionCall<T>'
[C++ Error] Runnable.h(113): E2428 Templates must be classes or functions
[C++ Error] Runnable.h(115): E2238 Multiple declaration for 'FunctionCall<R>'
[C++ Error] Runnable.h(67): E2344 Earlier declaration of 'FunctionCall<R>'
[C++ Error] Runnable.h(123): E2108 Improper use of typedef 'T1'
[C++ Error] Runnable.h(123): E2299 Cannot generate template specialization from 'FunctionCall<R>'
[C++ Error] Runnable.h(131): E2428 Templates must be classes or functions
[C++ Error] Runnable.h(132): E2108 Improper use of typedef 'T1'
[C++ Error] Runnable.h(132): E2293 ) expected
[C++ Error] Runnable.h(141): E2299 Cannot generate template specialization from 'FunctionCall<R>'
[C++ Error] Runnable.h(152): E2428 Templates must be classes or functions
[C++ Error] Runnable.h(163): E2108 Improper use of typedef 'C'
[C++ Error] Runnable.h(163): E2188 Expression syntax
[C++ Error] Runnable.h(171): E2299 Cannot generate template specialization from 'MemberCall<T>'
[C++ Error] Runnable.h(181): E2428 Templates must be classes or functions
[C++ Error] Runnable.h(182): E2108 Improper use of typedef 'C'
[C++ Error] Runnable.h(182): E2188 Expression syntax
[C++ Error] Runnable.h(192): E2299 Cannot generate template specialization from 'MemberCall<T>'
[C++ Error] Runnable.h(204): E2428 Templates must be classes or functions
[C++ Error] Runnable.h(206): E2108 Improper use of typedef 'C'
[C++ Error] Runnable.h(206): E2228 Too many error or warning messages
These errors are come from the compilation of the BCBProject file: P3Speller. The file's path is: src\core\Application\P3Speller.
What I want to ask is why the file can not pass the compilation by using Borland C++ Builder 6.0? Is the compiler version is too low? If so, What version of the software should I use? And what's the problem if that's not the problem of version?
Thanks very much!
Yang Chengjie
2011-11-9
How to compile the BCI code?
-
mellinger
- Posts: 1341
- Joined: 12 Feb 2003, 11:06
Re: How to compile the BCI code?
Unfortunately, Borland C++ Builder 6 is not able to compile that code. However, it compiles fine under C++ Builder 2010.
You might consider switching to Microsoft VisualStudio Express, which is available for free from Microsoft's web site.
Regards,
Juergen
You might consider switching to Microsoft VisualStudio Express, which is available for free from Microsoft's web site.
Regards,
Juergen
Who is online
Users browsing this forum: No registered users and 0 guests
