This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Compile Fenics dolfin for Visual Studio 2013

+1 vote

I compiled dolfin 1.3 for Visual Studio 2013 successfully.
But when I created a test project Poisson demo (Poisson.h, Poisson.cpp, main.cpp) I got an errors (see picture):
dolfin_1.3_error_0-1
dolfin_1.3_error_0-2
dolfin_1.3_error_0-3
dolfin_1.3_error_0-4
dolfin_1.3_error_0-5
dolfin_1.3_error_0-6
dolfin_1.3_error_0-7

Link to the project files (zip file with Poisson.h, Poisson.cpp, main.cpp):
project Poisson demo files

Could you tell / hint me how to solve it?

Also I tried to compile dolfin 1.0 for Visual Studio 2013, but I got very strange errors (see picture):
dolfin 1.0 compile error

Maybe it is important. I used ufc-2.3.0 for dolfin 1.3 and ufc-2.0.5 for dolfin 1.0.
I used for the project Poisson demo for Visual Studio source files from dolfin 1.0 under the Windows MinGW. Maybe the problem in that.
How to obtain right header from .ufl file for dolfin 1.3?

If you know or guess how to solve it, please tell me.

I am using this guide for compiling Fenics (dolfin) under Windows/MS Visual Studio:
How to use FEniCS in MS Visual Studio

Any help appreciated!

Thanks in advance!

closed with the note: Please send installation support questions to fenics-support@fenicsproject.org.
asked Feb 19, 2014 by Maks FEniCS User (2,430 points)
closed Feb 28, 2014 by Garth N. Wells

2 Answers

0 votes

How to obtain right header from .ufl file for dolfin 1.3?

Use combination of FFC/UFL 1.3 and then:

ffc -l dolfin poisson.ufl

answered Feb 24, 2014 by johanhake FEniCS Expert (22,480 points)
–1 vote

I compiled the dolfin 1.4 C++ dll under Visual Studio 2013.

It supports:
ZLib, VTK, HDF5, PARMETIS, PETSC, MSMPI and UMFPACK libraries.

You may download these source files and of course binaries by this link:
https://bitbucket.org/vlasovmaksim/fenics_project_vs

answered Feb 26, 2014 by Maks FEniCS User (2,430 points)
edited Jul 15, 2015 by Maks
...