Re: Compiling Boost MultiArray
- From: Howard Hinnant <hinnant@xxxxxxxxxxxxxx>
- Date: Tue, 05 Jul 2005 21:48:20 GMT
In article <8Z-dnRB-RN3DblffRVn-vg@xxxxxxxxxxx>,
Doyle Rhynard <drhynard@xxxxxxxxxxx> wrote:
> However, the following is a simple test program:
>
> #include <boost/multi_array.hpp>
> #include <iostream>
>
> using namespace std;
> using namespace boost;
>
> int main() {
> multi_array<float,3> f(extents[5][4][3]);
> for (int N0 = 0; N0 < 5; N0++) {
> for (int N1 = 0; N1 < 4; N1++) {
> for (int N2 = 0; N2 < 3; N2++) {
> f[N0][N1][N2] = 100*N2 + 10*N1 + N0;
> cout << " " << f[N0][N1][N2];
> }
> cout << endl;
> }
> }
> return 0;
> }
>
> results in numerous compile errors, mostly ambiguous overloaded function
> accesses and denied access problems. For comparison, it compiles and
> runs perfectly using Cygwin/g++.
It sounds like either a boost configuration error, or
perhaps an access error in your project's paths. Make sure
your boost path is in your system paths, and uncheck "Source
relative includes".
-Howard
.
- Follow-Ups:
- Re: Compiling Boost MultiArray
- From: Doyle Rhynard
- Re: Compiling Boost MultiArray
- References:
- Compiling Boost MultiArray
- From: Doyle Rhynard
- Compiling Boost MultiArray
- Prev by Date: Compiling Boost MultiArray
- Next by Date: Re: Compiling Boost MultiArray
- Previous by thread: Compiling Boost MultiArray
- Next by thread: Re: Compiling Boost MultiArray
- Index(es):