Shawn Walker wrote:
> OK, here we go again.  I disabled UMFPACK, and the compilation goes 
> further, but I get the following error:
> 
> ----------------------------------------------
> $ scons withBoostDir=$BOOST_DIR withUmfpackDir=$UMFPACK_DIR 
> enableDemos=yes enableScotch=no enableTrilinos=no enableMpi=no 
> enablePetsc=no enableSlepc=no enableUmfpack=no enableDebug=no
> 
> scons: Reading SConscript files ...
> Using options from scons/options.cache
> Checking for pkg-config... yes
> Checking for numpy-1... yes
> Checking for ufc-1... yes
> Checking for python-2... yes
> Checking for gts... yes
> Checking for boost... yes
> Checking for libxml-2.0... yes
> Resolving compiler... done
> Found optional package: gts
> Unable to find optional package: petsc
> Unable to find optional package: slepc
> Unable to find optional package: scotch
> Unable to find optional package: umfpack
> Unable to find optional package: trilinos
> Enabling compilation of PyDOLFIN
> 
> scons: warning: The env.Copy() method is deprecated; use the env.Clone() 
> method instead.
> File "/download/src/fenics/dolfin/dolfin/SConscript", line 107, in 
> <module>
> scons: done reading SConscript files.
> scons: Building targets ...
> c++ -o dolfin/common/TimeDependent.os -c -Wall -pipe -DNDEBUG -O2 
> -DPACKAGE_VERSION=\"0.8.0\" -DHAS_GTS=1 -I. -I/download/src/boost_1_35_0 
> -I/usr/include/libxml2 -I/build/include -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include dolfin/common/TimeDependent.cpp
> 
> .....................etc...................
> 
> c++ -o dolfin/ode/MonoAdaptiveJacobian.os -c -Wall -pipe -DNDEBUG -O2 
> -DPACKAGE_VERSION=\"0.8.0\" -DHAS_GTS=1 -I. -I/download/src/boost_1_35_0 
> -I/usr/include/libxml2 -I/build/include -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include dolfin/ode/MonoAdaptiveJacobian.cpp
> c++ -o dolfin/ode/MonoAdaptiveNewtonSolver.os -c -Wall -pipe -DNDEBUG -O2 
> -DPACKAGE_VERSION=\"0.8.0\" -DHAS_GTS=1 -I. -I/download/src/boost_1_35_0 
> -I/usr/include/libxml2 -I/build/include -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include dolfin/ode/MonoAdaptiveNewtonSolver.cpp
> dolfin/ode/MonoAdaptiveNewtonSolver.cpp: In member function `void 
> dolfin::MonoAdaptiveNewtonSolver::debug()':
> dolfin/ode/MonoAdaptiveNewtonSolver.cpp:265: error: expected 
> primary-expression before '&' token
> dolfin/ode/MonoAdaptiveNewtonSolver.cpp:286: error: `128' cannot be used 
> as a function
> scons: *** [dolfin/ode/MonoAdaptiveNewtonSolver.os] Error 1
> scons: building terminated because of errors.
> ---------------------------------------------------------

I tried this, and received the same error. It looks like like a Cygwin 
issue with templates, and is perhaps not surprising since Cywgin uses 
quite old compilers.

I'm not going to spend time on work-arounds for Cygwin peculiarities and 
for gcc 3.x since running a virtual machine is a viable alternative now 
and there has been some work on compiling DOLFIN natively under Windows. 
If someone provides simple patches for Cywgin, we can apply them.

Garth


> If there were no errors, run
> 
>      scons install
> 
> .....................etc...................
> ---------------------------------------------------------------
> 
> Any ideas about this?  Again, I am using Cygwin and the latest codes 
> through Mercurial.
> 
> - Shawn
> _______________________________________________
> DOLFIN-dev mailing list
> [email protected]
> http://www.fenics.org/mailman/listinfo/dolfin-dev


_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to