|
From: | Vincent Caron |
Subject: | Re: [ngl-devel] Compilation error 0.7.10 |
Date: | Wed, 26 Nov 2003 00:38:21 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 |
Loic Dachary wrote:
Hi, I untared the distribution, ./configure ; make and got the following. I'm running Debian GNU/Linux unstable (2 or 3 month old) with gcc-3.3.2. Cheers,
[snip]
../include/nglMatrix.h:629: multiple definition of `nglMatrix<float>::GetMatrix(unsigned)' font/nglFont_shr.lo(.text+0x4c):../include/nglMatrix.h:629: first defined here font/nglFontTexCache_shr.lo(.text+0x7a): In function `nglMatrix<double>::GetMatrix(unsigned)':
Hello,I think it was fixed a long time ago, template specializations need the to be explicitely inlined to prevent linker nightmares (http://savannah.nongnu.org/cgi-bin/viewcvs/ngl/ngl/include/nglMatrix.h.diff?r1=1.11&r2=1.12).
The 0.7.10 distribution is old, the CVS is way ahead. We did not (yet) found a good set of compelling reasons to push another release, but there definitively will be one before xmas :).
[Prev in Thread] | Current Thread | [Next in Thread] |