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
Compiler issues
-
gschalk
- Posts: 615
- Joined: 28 Jan 2003, 12:37
Compiler ...
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
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
-
gschalk
- Posts: 615
- Joined: 28 Jan 2003, 12:37
Compilation ...
Adam,
You can check out the progress on source.bci2000.org under Timeline.
Gerv
You can check out the progress on source.bci2000.org under Timeline.
Gerv
-
mellinger
- Posts: 1341
- Joined: 12 Feb 2003, 11:06
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
to the Environment class declaration.
Regards,
Juergen
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;Regards,
Juergen
-
Adam_C
- Posts: 3
- Joined: 29 Aug 2007, 10:39
-
gschalk
- Posts: 615
- Joined: 28 Jan 2003, 12:37
compilation ...
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
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
Who is online
Users browsing this forum: No registered users and 0 guests
