Martin Michlmayr wrote:
* Christophe Geuzaine <[EMAIL PROTECTED]> [2006-03-17 23:10]:
Your package fails to build with G++ 4.1. I'm filing this bug as
Thanks for the report. Any other warnings/errors during the build?
Yes, there's another error later one.
By the way, I *think* the patch below is correct, but I'm sure you
understand the code better and know what to do.
--- ./Mesh/BDS.cpp~ 2006-03-18 04:19:35.000000000 +0000
+++ ./Mesh/BDS.cpp 2006-03-18 04:26:02.000000000 +0000
@@ -1149,7 +1149,7 @@
if(e.g) {
int MIN_FAC = 100000;
int MAX_FAC = -100000;
- std::map < std::pair < int, int >, int >::iterator found = 0;
+ std::map < std::pair < int, int >, int >::iterator found =
edgetags.begin();
BDS_GeomEntity *g;
if(e.numfaces() == 1) {
found =
OK.
The next error I get is:
make[1]: Entering directory `/home/tbm/src/gmsh-1.64.0/contrib/Netgen'
g++ -m32 -Wall -O2 -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN -DHAVE_ANN_
-DHAVE_LIBZ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK -I/usr/include/freetype2
-I/usr/X11R6/include -I../../Common -Ilibsrc/include -Ilibsrc/interface
-DNO_PARALLEL_THREADS -UWIN32 -c libsrc/gprim/transform3d.cpp -o
libsrc/gprim/transform3d.o
libsrc/include/../gprim/adtree.hpp:40: warning: 'class netgen::ADTreeCriterion'
has virtual functions but non-virtual destructor
libsrc/gprim/transform3d.cpp: In member function 'void
netgen::Transformation3d::CalcInverse(netgen::Transformation3d&) const':
libsrc/gprim/transform3d.cpp:100: error: no matching function for call to
'CalcInverse(netgen::DenseMatrix&, netgen::DenseMatrix&)'
libsrc/include/../gprim/geomfuncs.hpp:120: note: candidates are: void netgen::CalcInverse(const
netgen::Mat<3, 2>&, netgen::Mat<2, 3>&)
libsrc/include/../gprim/geomfuncs.hpp:110: note: void netgen::CalcInverse(const
netgen::Mat<2, 3>&, netgen::Mat<3, 2>&)
libsrc/include/../gprim/geomfuncs.hpp:108: note: void netgen::CalcInverse(const
netgen::Mat<3, 3>&, netgen::Mat<3, 3>&)
libsrc/include/../gprim/geomfuncs.hpp:92: note: void netgen::CalcInverse(const
netgen::Mat<2, 2>&, netgen::Mat<2, 2>&)
make[1]: *** [libsrc/gprim/transform3d.o] Error 1
make[1]: Leaving directory `/home/tbm/src/gmsh-1.64.0/contrib/Netgen'
OK. I'll release a patched version with the corrections.
Thanks,
Christophe
(Please keep [EMAIL PROTECTED] in the CC line)
--
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]