Compile issue

Naisses Zoia <[email protected]> Thu, 10 Dec 2009 22:57:11 -0300
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
--===============1245333029==
Content-Type: multipart/alternative; boundary=000e0cd6aa06f4cca0047a6a3da6

--000e0cd6aa06f4cca0047a6a3da6
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi,

im trying to compile a program using MTL 2 and im getting the following
compile error:

g++ -I/home/naisses/include -O0 -g3 -Wall -c -fmessage-length=3D0 -MMD -MP
-MF"src/main.d" -MT"src/main.d" -o"src/main.o" "../src/main.cpp"
In file included from /home/naisses/include/mtl/matrix.h:41,
                 from /home/naisses/include/mtl/mtl.h:40,
                 from ../src/Matrix_test.h:2,
                 from ../src/main.cpp:9:
/home/naisses/include/mtl/envelope2D.h:72: error: declaration of =91typedef
struct mtl::twod_tag mtl::envelope2D<T>::dimension=92
/home/naisses/include/mtl/dimension.h:19: error: changes meaning of
=91dimension=92 from =91class mtl::dimension<typename mtl::dense1D<T,
0>::size_type, 0, 0>=92
make: *** [src/main.o] Error 1

Im using g++ 4.4.1 on ubuntu 9.10 under Eclipse. MTL version is 2.1.2-22. I
cant figure out how to solve this problem. I would appreciate some help on
this.

Thanks,
Naisses

--000e0cd6aa06f4cca0047a6a3da6
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>im trying to compile a program using MTL 2 and im getting the fo=
llowing compile error:<br><br>g++ -I/home/naisses/include -O0 -g3 -Wall -c =
-fmessage-length=3D0 -MMD -MP -MF&quot;src/main.d&quot; -MT&quot;src/main.d=
&quot; -o&quot;src/main.o&quot; &quot;../src/main.cpp&quot;<br>
In file included from /home/naisses/include/mtl/matrix.h:41,<br>=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from /home/naisses/include/mtl/mtl.=
h:40,<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from ../src/Matri=
x_test.h:2,<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from ../src=
/main.cpp:9:<br>/home/naisses/include/mtl/envelope2D.h:72: error: declarati=
on of =91typedef struct mtl::twod_tag mtl::envelope2D&lt;T&gt;::dimension=
=92<br>
/home/naisses/include/mtl/dimension.h:19: error: changes meaning of =91dime=
nsion=92 from =91class mtl::dimension&lt;typename mtl::dense1D&lt;T, 0&gt;:=
:size_type, 0, 0&gt;=92<br>make: *** [src/main.o] Error 1<br><br>Im using g=
++ 4.4.1 on ubuntu 9.10 under Eclipse. MTL version is 2.1.2-22. I cant figu=
re out how to solve this problem. I would appreciate some help on this.<br>
<br>Thanks,<br clear=3D"all">Naisses<br>

--000e0cd6aa06f4cca0047a6a3da6--

--===============1245333029==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/
--===============1245333029==--