Compiler issues

Known Issues and Problems with BCI2000
Locked
Adam_C
Posts: 3
Joined: 29 Aug 2007, 10:39

Compiler issues

Post by Adam_C » 29 Aug 2007, 10:58

Hello, im new to the BCI2000 software, im also new to Borland development software.

After downloading the source files i have tried to compile each of the modules only to throw up errors such as:

RandomNumber-

[BCC32 Error] SourceFilter.h(32): E2247 'IIRFilter::real_type' is not accessible
[BCC32 Error] SourceFilter.h(33): E2247 'IIRFilter::complex_vector' is not accessible
[BCC32 Error] SourceFilter.h(34): E2247 'IIRFilter::complex_vector' is not accessible
[BCC32 Error] SourceFilter.cpp(43): E2247 'IIRFilter::complex_vector' is not accessible
[BCC32 Error] SourceFilter.cpp(58): E2285 Could not find a match for 'EnvironmentBase::Parameter(const char *)'
[BCC32 Error] SourceFilter.cpp(59): E2247 'IIRFilter::real_type' is not accessible
[BCC32 Error] SourceFilter.cpp(83): E2285 Could not find a match for 'EnvironmentBase::Parameter(const char *)'


and similar errors with p3signalprocessing for example-


[BCC32 Error] Normalfilter.cpp(95): E2285 Could not find a match for 'EnvironmentBase::Parameter(const char *)'

The Borland IDE and comiler im using is the new C++ Builder 2007 enterprize edition.

As im new to Borland, i am unsure as to whether the errors are due to errors in the actual code or due to the fact the new IDE is having trouble compiling old code. An issue i came across using Visual Studio.

Many thanks, Adam

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

Compiler ...

Post by gschalk » 29 Aug 2007, 11:50

Adam,

BCI2000 currently supports Borland C++ Builder 6. Coincidently, we are currently fixing the compilation issues with C++ Builder 2007. This should be done shortly (i.e., by the end of the week).

Gerv

Adam_C
Posts: 3
Joined: 29 Aug 2007, 10:39

Post by Adam_C » 29 Aug 2007, 12:07

Excellent, could you please update me when they are completed?
Thanks, Adam

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

Compilation ...

Post by gschalk » 29 Aug 2007, 13:14

Adam,

You can check out the progress on source.bci2000.org under Timeline.

Gerv

mellinger
Posts: 1064
Joined: 12 Feb 2003, 11:06

Post by mellinger » 30 Aug 2007, 14:23

Adam,

unfortunately, BCB2007 support is broken for the BCI2000 version 1 (trunk version).
We are currently busy finishing version 2, and thus do not have the resources to fix these issues.

You might consider switching to version 2 which compiles under BCB2007.
Alternatively, you might have a look at the errors. Basically, they are due to stricter language rules (accessibility/visibility of symbols) in more recent C++ compilers.
E.g., the error messages you report will likely go away when you make the typedefs in IIRFilter's declaration public, and add a line

Code: Select all

using EnvironmentBase::Parameter;
to the Environment class declaration.

Regards,
Juergen

Adam_C
Posts: 3
Joined: 29 Aug 2007, 10:39

Post by Adam_C » 05 Sep 2007, 05:44

Can i just ask, when i, for example, download say the trunk file or the branches file, do those files contain all the updates (found in the Timeline section) up to the date of download or does one need to back track and include all of the updates manually?

Thanks, Adam

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

compilation ...

Post by gschalk » 05 Sep 2007, 22:57

Hi,

Whenever you download a version, either from the trunk or a branch, it always contains the most recent version of the code. In TortoiseSVN you can specify a particular earlier version if you want to, but the current one is default.

Gerv

Locked

Who is online

Users browsing this forum: No registered users and 2 guests