Borland: Cannot generate template specialization
Hi,
I'm trying to compile C++ code that uses the boost/numeric/ublas matrix
library with the Kylix C++ Compiler (BC++ 5.7 for LINUX). However, I get
several error messages, among them:
Error E2299 boost_1_29_0/boost/numeric/ublas/matrix.hpp 522: Cannot generate
template specialization from 'container_reference<C>' in function
matrix
::iterator1::iterator1(matrix
&,complex<double> * const &)
Any ideas how to work around this problem? Felix
----- Original Message ----- From: Felix E. Klee To: boost-users@yahoogroups.com Sent: Wednesday, December 11, 2002 11:11 AM Subject: [Boost-Users] Borland: Cannot generate template specialization
Hi,
I'm trying to compile C++ code that uses the boost/numeric/ublas matrix library with the Kylix C++ Compiler (BC++ 5.7 for LINUX).
I remember that I've noticed some problems with Kylix (when Kylix was part of the boost regression tests ;-(. I don't have it installed on my linux box yet.
However, I get several error messages, among them:
[snip]
Any ideas how to work around this problem?
First of all, do the ublas regression tests work for Kylix (probably no)? Then, does your code work for GCC, for example (probably yes)? I'll try to supply Kylix and to make the regression tests working, but this could last some time (if there is no overwhelming demand ;-) Regards Joerg Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
jhr.walter@t-online.de wrote:
First of all, do the ublas regression tests work for Kylix (probably no)?
I wasn't successful to get the regression tests (version 3) working so far. When trying to build filesystem/example I get several error messages. Maybe, I should try the regression tests version 2.
Then, does your code work for GCC, for example (probably yes)?
Yes.
I'll try to supply Kylix and to make the regression tests working, but this could last some time (if there is no overwhelming demand ;-)
It would be very nice if you could have a look at it. From what I've heard Kylix BCB is very similar to BCB 6 for Windows. So, I don't see why it shouldn't be possible to get Boost working with it. Kylix does have a lot of bugs though, but most of the bad ones only appear when building shared libraries. Why do I want to use Kylix? Because it's very very fast as compared to gcc. When compiling the QT library, for example, Kylix is approximately six times faster than gcc (optimizations were turned off in both compilers). Felix
I'll try to supply Kylix and to make the regression tests working, but this could last some time (if there is no overwhelming demand ;-)
It would be very nice if you could have a look at it. From what I've heard Kylix BCB is very similar to BCB 6 for Windows. So, I don't see why it shouldn't be possible to get Boost working with it. Kylix does have a lot of bugs though, but most of the bad ones only appear when building shared libraries. Why do I want to use Kylix? Because it's very very fast as compared to gcc. When compiling the QT library, for example, Kylix is approximately six times faster than gcc (optimizations were turned off in both compilers).
I've got ublas working with both C++ Builder 6.1 and Kylix 3 now. There are a lot of fixes required, but I'll be submitting patches soon. Regards, John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
John Maddock wrote:
It would be very nice if you could have a look at it. From what I've heard Kylix BCB is very similar to BCB 6 for Windows. So, I don't see why it shouldn't be possible to get Boost working with it. Kylix does have a lot of bugs though, but most of the bad ones only appear when building shared libraries. Why do I want to use Kylix? Because it's very very fast as compared to gcc. When compiling the QT library, for example, Kylix is approximately six times faster than gcc (optimizations were turned off in both compilers).
I've got ublas working with both C++ Builder 6.1 and Kylix 3 now. There are a lot of fixes required, but I'll be submitting patches soon.
That's great news, thank you! Will these patches be available separately or will you simply update the code in the CVS? Felix
participants (3)
-
Felix E. Klee
-
jhr.walter@t-online.de
-
John Maddock