getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] project file for visual c++ 2010


From: Julien Pommier
Subject: Re: [Getfem-users] project file for visual c++ 2010
Date: Mon, 13 Dec 2010 13:15:22 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

I have updated the pre-built matlab interface to include a 64-bit version of the mex file, it is here:

http://julienpommier.free.fr/getfem/getfem_matlab_toolbox_2010b.zip

Here is how to build a 64-bit version of the getfem matlab interface with visual c++ express 2010:

install the windows SDK 7.1 (or any other version). This is necessary because vc express does not come with 64-bit compilers and libraries. open the getfem.sln, in the "configuration manager" / "active solution platform", select "New.." and choose the "x64" entry. And then, for each project (libgetfem, libgetfemint, matlab_interface), open its "configurations properties" / "General" and change the value of the "platform toolset" to "Windows 7.1 SDK" , otherwise you will experience link errors.

In the matlab_interface project properties, "linker" / "output" , change the "gf_matlab.mexw32" to "gf_matlab.mexw64". Adapt the matlab paths and you're done.

--
Julien

Le 03/12/2010 17:20, Julien Pommier a écrit :
Hi all,

I've made a microsoft visual c++ 2010 express project for building getfem and the
matlab interface. This is something I made a few monthes ago, so I
don't recall precisely all details and issues..

There are three files:

http://julienpommier.free.fr/getfem/getfem-msvc2010.patch

This is the patch to apply against the latest getfem svn tree, with
cd getfem && patch -p0 < getfem-msvc2010.patch

It fixes a few lines in getfem that visual c++ does not like.

http://julienpommier.free.fr/getfem/getfem-msvc2010.zip

This is the folder 'msvc2010' that should be added inside the getfem
folder, it contains the project files for visual c++. The compiled
file end up in this folder also. You should open the 'getfem.sln' file
in visual c++, it contains projects for a few of the getfem test files
(not all), and also a project for building the mex-file for the matlab
interface.

there is a BUILDING_GETFEM.txt that one should read before attempting
to compile the matlab interface.

and finally,

http://julienpommier.free.fr/getfem/getfem_matlab_toolbox_2010b_32-bit.zip

This is a pre-compiled binary of the matlab toolbox. It seems to work
fine (the demo_tripod runs), although it may be a bit slow. But I did not
perform any extensive testing.

--
Julien


_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]