Alessio Quaglino wrote:
>> 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
>>> [email protected]
>>> 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)
ok.
> - I had to substitute all the "and" with "&&" (just in case you want to do
> it directly in the repositories)
Where is this used?
> - I couldn't find a windows equivalent of isnormal() present in
> timeslabsolver.cpp
Looks like we could replace it with
inline bool my_isnan(double x)
{
return x != x;
}
See http://www.parashift.com/c++-faq-lite/newbie.html
> - I don't know how to set the variable DOLFIN_VERSION present in init.cpp
DOLFIN_VERSION is a #define (see src/kernel/main/dolfin/constants.h).
It would be helpful if you submitted your fixes as an hg bundle (or a
series of small bundles, one for each set of fixes). I'm on parental
leave until the end of November so I have limited bandwidth, but someone
else should be able to pick it up.
/Anders
> Alessio
>
>
>
> _______________________________________________
> 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