Hi!
I've removed the macros of redefinition of isnan for the WIN32 conditional
code and it seems to compile and install fine.
Macros has been removed from the following sources:
color.h
matrix.h
matrix.cpp
time.h
vector.h
I would like that someone else verifies the changes in the following branch:
https://github.com/genete/synfig/tree/dynamics
Additional notes:
1) Notice that a clean cygwin is needed after upgrade from fedora 18 to
fedora 19.
2) I've explicitly added gcc and gcc-core as packages to install for
cygwin. For some reason they are not installed by default.
3) ImageMagic module gives compiling error so I disabled it from the build
script by commenting the line 480: mkimagemagick
Thanks!
2014/1/16 Carlos López González <[email protected]>
> Hi!
> It works perfect!, now I have boost Odeint libraries available!
>
> The problem now is that boost uses std:isnan(double) and we redefine isnan
> as _isnan what is not a member of std... Let's see what can I do with that
> :)
>
> Cheers!
>
>
> 2014/1/15 Konstantin Dmitriev <[email protected]>
>
>> Hi, Carlos!
>> We use Fedora's crosscompile packages on Windows, so the boost comes
>> from the Fedora repositories.
>>
>> See this line:
>> fedora-mingw-install mingw${ARCH}-boost
>>
>> Other line that you referenced is not executed, because it belongs to
>> outdated/disabled block of code (which in fact could be safely
>> removed).
>>
>> Back to your question: currently we use packages from Fedora 18. If
>> you want to get boost 0.53.0, then you need to switch to Fedora 19. In
>> fact, I believe it is safe to do that as permanent change to the
>> script. ^__^
>>
>> Just find this line:
>> URLS=`yumdownloader --urls --resolve -c $WORKSPACE/mingw-rpms/yum.conf
>> --releasever=18 --installroot="$WORKSPACE/mingw-rpms" $1`
>>
>> and replace "--releasever=18" to "--releasever=19"
>>
>>
>> Regards,
>> K.
>>
>>
>> 2014/1/15 Carlos López González <[email protected]>:
>> > Hi!
>> > Since long time ago I want to add a dynamic convert type to Synfig
>> > libraries. It would allow to track one guided vector position from other
>> > tracker vector position using a dynamic (mass-damper-spring) link.
>> >
>> > The inclusion of bones in the latest development would make this new
>> convert
>> > type more interesting even.
>> >
>> > To handle a mass-damper-spring system it is needed to solve a second
>> order
>> > differential equation (ODE), particularly a pair of first order ODE.
>> >
>> > To do that the classic maths points to use the Runge-Kutta integration
>> > methods. I can write from ground up those integration methods because
>> it is
>> > not so complex but I would like to use the Boost/Odeint libraries
>> because
>> > they allow to use adaptive steps to reduce errors in large integrations
>> > steps.
>> >
>> > Currently I'm doing development only on Windows platform, since it is
>> the
>> > computer that I have when I have a little free time.
>> >
>> > I've seen that the linux build script uses the boost version 1.53.0
>> which is
>> > exactly the one I need to include the Odeint boost libraries. But in the
>> > windows script there is no way to specify the boost libraries to be
>> used (or
>> > at last I don't understand how to define it). I've only seen one code
>> line
>> > where it unpacks the retrieved library and it is the 1.50.0 version.
>> >
>> > The thing is that I need help to make possible to use the 1.53.0 library
>> > version in Windows.
>> >
>> > Thanks!
>> >
>> >
>> > -- Carlos
>> > http://synfig.org
>> >
>> >
>> ------------------------------------------------------------------------------
>> > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> > Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> > Critical Workloads, Development Environments & Everything In Between.
>> > Get a Quote or Start a Free Trial Today.
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Synfig-devl mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/synfig-devl
>> >
>>
>>
>>
>> --
>> http://morevnaproject.org/
>>
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Synfig-devl mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>>
>
>
>
> --
> Carlos
> http://synfig.org
>
--
Carlos
http://synfig.org
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl