← Back to team overview

dolfin team mailing list archive

Re: MS visual studio C++ 8

 

> Alessio Quaglino wrote:
>> I've first installed uBlas using bjam as explained by:
>>  http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?InstallingBoost
>>
>> so that now I can it link to my program using:
>>
>> #include <boost/filesystem/operations.hpp>
>>
>> is that correct? May I afterwards use the pkg-config building system
>> through cygwin (which adds license issues) or should I move the source
>> and
>> build it directly (which can be time consuming)? Has anyone already
>> tried
>> to use dolfin inside Visual Studio C++? Thanks.
>>
>> Alessio Quaglino
>>
>>
>>
>>
>> _______________________________________________
>> DOLFIN-dev mailing list
>> DOLFIN-dev@xxxxxxxxxx
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
> I've only heard about getting it working under Cygwin.
>
> (If you manage to get it to work, please consider adding a few notes
> about it on the wiki.)
>
> /Anders


I'm compiling under VS and correcting platform-dependent errors step by
step. These are some notes/questions:

- I got more than 1000 warnings for the uBlas interface
- I've found an error in loggermanager.cpp where "log" should be replaced
by "logger" (I don't know why this does not raise an error while compiling
under unix)
- I had to substitute all the "and" with "&&" (just in case you want to do
it directly in the repositories)
- I couldn't find a windows equivalent of isnormal() present in
timeslabsolver.cpp
- I don't know how to set the variable DOLFIN_VERSION present in init.cpp

Alessio





Follow ups

References