Git Product home page Git Product logo

madeapps / newton-dynamics Goto Github PK

View Code? Open in Web Editor NEW
908.0 908.0 183.0 991.07 MB

Newton Dynamics is an integrated solution for real time simulation of physics environments.

Home Page: http://www.newtondynamics.com

License: Other

CMake 0.23% Python 0.45% C 1.48% C++ 33.06% Makefile 0.04% Objective-C++ 0.01% PostScript 0.04% Assembly 0.01% LSL 0.03% Objective-C 0.11% Lex 0.06% Lua 0.08% SWIG 1.20% HTML 60.45% JavaScript 2.34% CSS 0.07% GLSL 0.01% Cuda 0.21% Java 0.15%

newton-dynamics's People

Contributors

dliw avatar godlikepanos avatar hhyyrylainen avatar hogsy avatar islc avatar jayfoxrox avatar jernejl avatar joejgit avatar jonesmz avatar juliojerez avatar lperkin1 avatar mannyclicks avatar michaelpbean avatar newbthenewbd avatar olitheolix avatar perkinslr avatar solemnwarning avatar sponji avatar stablecoder avatar stuggy avatar tombish avatar trevorcash avatar wivlaro avatar yuriy-chumak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

newton-dynamics's Issues

is Networn Dynamics 100% deterministic?

Hey there,
I wanted to ask this in the forum as its not really an issue but it seems registration doesnt work right now. And theres no email address to write to, so I'll ask here.

As the title suggests, I want to know if this physics library would be 100% deterministic across different hardware, to synchronize physics in a networked game to be exact.
Right now physics run on PhysX but theres some small differences that end up triggering correction and I'd like to avoid that.

Thanks

Using standard types from stdint.h

I just notice that newton is using architecture dependent types to define it's fixed width scalars. This should be fixed by switching to types from stdint.h.

typedef char dgInt8;
typedef unsigned char dgUnsigned8;

typedef short dgInt16;
typedef unsigned short dgUnsigned16;

typedef int dgInt32;
typedef unsigned dgUnsigned32;
typedef unsigned int dgUnsigned32;

typedef long long dgInt64;
typedef unsigned long long dgUnsigned64;

@JulioJerez ping

Next release?

Hi there, thanks for you amazing job on this physics engine.

I'm just wondering, Newton 3.13 is already two years old and master has received 1900 commits since then, I suppose a lot of things got improved/remade and such.

So what's the current state of the engine? When can we expect the next stable release?

Another papercut/minor fixup

Hi,

I assumed your build system covered it, but in order for casts to work under mine (Gentoo gcc 4.8.3 C++11) it was required to put the dLong cast instruction between parentheses.

In file included from /home/noob/noobgame/desktop/extern/dNewton/dStdAfxNewton.h:65:0,
                 from /home/noob/noobgame/desktop/extern/dNewton/dNewton.cpp:22:
/home/noob/noobgame/desktop/extern/dNewton/dNewton.cpp: In member function ‘virtual void dNewton::Update(float)’:
/home/noob/noobgame/desktop/extern/dNewton/dNewton.cpp:306:31: error: expected primary-expression before ‘long’
  dLong timestepMicrosecunds = dLong (double (timestepInSecunds) * 1000000.0f);
                               ^
/home/noob/noobgame/desktop/extern/dNewton/dNewton.cpp: In member function ‘virtual void dNewton::UpdateAsync(float)’:
/home/noob/noobgame/desktop/extern/dNewton/dNewton.cpp:321:31: error: expected primary-expression before ‘long’
  dLong timestepMicrosecunds = dLong (double (timestepInSecunds) * 1000000.0f);

so basically instead of stating

dLong timestepMicrosecunds = dLong (double (timestepInSecunds) * 1000000.0f);

it becomes

dLong timestepMicrosecunds = (dLong) (double (timestepInSecunds) * 1000000.0f);

If you'd like I could submit those little fixups as pull requests.

Separate collisions cache from world

Need to use the same collision in several worlds.

Now I'm using the hack:

NewtonCreate
    С1 = CreateCollision
    C2 = CreateCollision
    ...

NewtonCreate
    NewtonCreateBody
        SetCollision( C1 )
    NewtonCreateBody
        SetCollision( C2 )
    ...
    NewtonUpdate

NewtonCreate
    NewtonCreateBody
        SetCollision( C1 )
    NewtonCreateBody
        SetCollision( C2 )
    ...
    NewtonUpdate

Crash due to stack exhaustion in worker threads when creating a large number of bodies

When creating a large number of moving objects (i.e. >4000) default thread size is too small and the system will crash.

When having no worker threads, this can be fixed by passing a larger thread size when creating newton world with NewtonCreateEx().

But if we also set NewtonSetThreadsCount(), the system will crash inside worker thread due to stack exhaustion.

Increasing stack size for worker threads can only be done by editing DG_WORKER_TRAD_STACK_SIZE_IN_BYTES in the source and it solves the problem however it's not ideal because newton source code has to be modified.

Proposed solutions:

Option 1:
Allow worker threads to use the same thread size setting as passed for main thread during world creation.

Option 2:
Add an additional parameter for worker thread stack size in either NewtonCreateEx(), or NewtonSetThreadsCount() or a new function such as NewtonSetThreadStackSize()

Thank you.

Compiling with GCC 6.1 fails

I had no issues with GCC 5.3 but after I updated my OS I now have:
gcc-versio 6.1.1 20160621 (Red Hat 6.1.1-3) (GCC)

and I can't compile the latest Newton master branch from this repo (commit b0c71ecf8309a5075d5b071b9e029f5e6125d5b3)

This is the error:

[ 20%] Building CXX object coreLibrary_300/CMakeFiles/NewtonObj.dir/source/core/dgAsyncThread.cpp.o
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:18:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7266447313870364031LL,  4946485549665804864LL, 16945909448695747420LL, 16394063075524226720LL,  
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:18:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7266447313870364031LL,  4946485549665804864LL, 16945909448695747420LL, 16394063075524226720LL,  
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:19:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  4873882236456199058LL, 14877448043947020171LL,  6740343660852211943LL, 13857871200353263164LL,
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:19:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  4873882236456199058LL, 14877448043947020171LL,  6740343660852211943LL, 13857871200353263164LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:20:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  5249110015610582907LL, 10205081126064480383LL,  1235879089597390050LL, 17320312680810499042LL,
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:20:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  5249110015610582907LL, 10205081126064480383LL,  1235879089597390050LL, 17320312680810499042LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:21:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16489141110565194782LL,  8942268601720066061LL, 13520575722002588570LL, 14226945236717732373LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:21:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16489141110565194782LL,  8942268601720066061LL, 13520575722002588570LL, 14226945236717732373LL, 
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:21:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16489141110565194782LL,  8942268601720066061LL, 13520575722002588570LL, 14226945236717732373LL, 
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:23:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9383926873555417063LL, 15690281668532552105LL, 11510704754157191257LL, 15864264574919463609LL, 
  ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:23:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9383926873555417063LL, 15690281668532552105LL, 11510704754157191257LL, 15864264574919463609LL, 
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:23:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9383926873555417063LL, 15690281668532552105LL, 11510704754157191257LL, 15864264574919463609LL, 
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:23:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9383926873555417063LL, 15690281668532552105LL, 11510704754157191257LL, 15864264574919463609LL, 
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:24:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  6489677788245343319LL,  5112602299894754389LL, 10828930062652518694LL, 15942305434158995996LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:24:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  6489677788245343319LL,  5112602299894754389LL, 10828930062652518694LL, 15942305434158995996LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:25:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  15445717675088218264LL, 4764500002345775851LL, 14673753115101942098LL,  236502320419669032LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:25:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  15445717675088218264LL, 4764500002345775851LL, 14673753115101942098LL,  236502320419669032LL, 
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:26:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13670483975188204088LL, 14931360615268175698LL, 8904234204977263924LL, 12836915408046564963LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:26:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13670483975188204088LL, 14931360615268175698LL, 8904234204977263924LL, 12836915408046564963LL, 
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:26:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13670483975188204088LL, 14931360615268175698LL, 8904234204977263924LL, 12836915408046564963LL, 
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:28:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12120302420213647524LL, 15755110976537356441LL,  5405758943702519480LL, 10951858968426898805LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:28:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12120302420213647524LL, 15755110976537356441LL,  5405758943702519480LL, 10951858968426898805LL, 
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:28:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12120302420213647524LL, 15755110976537356441LL,  5405758943702519480LL, 10951858968426898805LL, 
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:29:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  17251681303478610375LL,  4144140664012008120LL, 18286145806977825275LL, 13075804672185204371LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:29:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  17251681303478610375LL,  4144140664012008120LL, 18286145806977825275LL, 13075804672185204371LL, 
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:29:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  17251681303478610375LL,  4144140664012008120LL, 18286145806977825275LL, 13075804672185204371LL, 
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:30:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10831805955733617705LL,  6172975950399619139LL, 12837097014497293886LL, 12903857913610213846LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:30:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10831805955733617705LL,  6172975950399619139LL, 12837097014497293886LL, 12903857913610213846LL,
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:30:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10831805955733617705LL,  6172975950399619139LL, 12837097014497293886LL, 12903857913610213846LL,
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:31:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  560691676108914154LL,    1074659097419704618LL, 14266121283820281686LL, 11696403736022963346LL, 
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:31:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  560691676108914154LL,    1074659097419704618LL, 14266121283820281686LL, 11696403736022963346LL, 
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:33:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13383246710985227247LL,  7132746073714321322LL, 10608108217231874211LL, 9027884570906061560LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:33:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13383246710985227247LL,  7132746073714321322LL, 10608108217231874211LL, 9027884570906061560LL, 
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:34:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12893913769120703138LL, 15675160838921962454LL,  2511068401785704737LL, 14483183001716371453LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:34:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12893913769120703138LL, 15675160838921962454LL,  2511068401785704737LL, 14483183001716371453LL, 
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:34:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12893913769120703138LL, 15675160838921962454LL,  2511068401785704737LL, 14483183001716371453LL, 
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:35:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3774730664208216065LL,  5083371700846102796LL,  9583498264570933637LL, 17119870085051257224LL, 
                                                  ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:35:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3774730664208216065LL,  5083371700846102796LL,  9583498264570933637LL, 17119870085051257224LL, 
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:36:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  5217910858257235075LL, 10612176809475689857LL,  1924700483125896976LL,  7171619684536160599LL,
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:39:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10949279256701751503LL, 15596196964072664893LL, 14097948002655599357LL, 615821766635933047LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:39:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10949279256701751503LL, 15596196964072664893LL, 14097948002655599357LL, 615821766635933047LL, 
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:39:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10949279256701751503LL, 15596196964072664893LL, 14097948002655599357LL, 615821766635933047LL, 
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:40:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  5636498760852923045LL, 17618792803942051220LL, 580805356741162327LL,   425267967796817241LL, 
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:41:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  8381470634608387938LL, 13212228678420887626LL, 16993060308636741960LL, 957923366004347591LL, 
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:41:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  8381470634608387938LL, 13212228678420887626LL, 16993060308636741960LL, 957923366004347591LL, 
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:42:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  6210242862396777185LL,  1012818702180800310LL, 15299383925974515757LL, 17501832009465945633LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:42:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  6210242862396777185LL,  1012818702180800310LL, 15299383925974515757LL, 17501832009465945633LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:44:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  17453794942891241229LL, 15807805462076484491LL,  8407189590930420827LL,   974125122787311712LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:44:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  17453794942891241229LL, 15807805462076484491LL,  8407189590930420827LL,   974125122787311712LL,
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:45:47: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  1861591264068118966LL, 997568339582634050LL, 18046771844467391493LL, 17981867688435687790LL, 
                                               ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:45:71: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  1861591264068118966LL, 997568339582634050LL, 18046771844467391493LL, 17981867688435687790LL, 
                                                                       ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:46:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3809841506498447207LL,  9460108917638135678LL, 16172980638639374310LL,   958022432077424298LL, 
                          ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:46:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3809841506498447207LL,  9460108917638135678LL, 16172980638639374310LL,   958022432077424298LL, 
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:47:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  4393365126459778813LL, 13408683141069553686LL, 13900005529547645957LL, 15773550354402817866LL,
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:47:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  4393365126459778813LL, 13408683141069553686LL, 13900005529547645957LL, 15773550354402817866LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:47:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  4393365126459778813LL, 13408683141069553686LL, 13900005529547645957LL, 15773550354402817866LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:49:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16475327524349230602LL,  6260298154874769264LL, 12224576659776460914LL,  6405294864092763507LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:49:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16475327524349230602LL,  6260298154874769264LL, 12224576659776460914LL,  6405294864092763507LL, 
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:50:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7585484664713203306LL,  5187641382818981381LL, 12435998400285353380LL, 13554353441017344755LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:50:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7585484664713203306LL,  5187641382818981381LL, 12435998400285353380LL, 13554353441017344755LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:51:24: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  646091557254529188LL, 11393747116974949255LL, 16797249248413342857LL, 15713519023537495495LL,
                        ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:51:48: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  646091557254529188LL, 11393747116974949255LL, 16797249248413342857LL, 15713519023537495495LL,
                                                ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:51:72: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  646091557254529188LL, 11393747116974949255LL, 16797249248413342857LL, 15713519023537495495LL,
                                                                        ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:52:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12823504709579858843LL,  4738086532119935073LL, 4429068783387643752LL,  585582692562183870LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:54:48: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  1048280754023674130LL, 6788940719869959076LL, 11670856244972073775LL, 2488756775360218862LL,
                                                ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:55:72: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  2061695363573180185LL,  6884655301895085032LL, 3566345954323888697LL, 12784319933059041817LL,
                                                                        ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:57:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13424792606032445807LL, 10827695224855383989LL, 11016608897122070904LL, 14683280565151378358LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:57:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13424792606032445807LL, 10827695224855383989LL, 11016608897122070904LL, 14683280565151378358LL,
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:57:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13424792606032445807LL, 10827695224855383989LL, 11016608897122070904LL, 14683280565151378358LL,
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:57:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  13424792606032445807LL, 10827695224855383989LL, 11016608897122070904LL, 14683280565151378358LL,
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:59:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7077866519618824360LL, 17487079941198422333LL, 3956319990205097495LL,  5804870313319323478LL,
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:60:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  8017203611194497730LL,  3310931575584983808LL,  5009341981771541845LL, 11772020174577005930LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:61:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3537640779967351792LL,  6801855569284252424LL, 17687268231192623388LL, 12968358613633237218LL, 
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:61:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3537640779967351792LL,  6801855569284252424LL, 17687268231192623388LL, 12968358613633237218LL, 
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:62:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  1429775571144180123LL, 10427377732172208413LL, 12155566091986788996LL, 16465954421598296115LL, 
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:62:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  1429775571144180123LL, 10427377732172208413LL, 12155566091986788996LL, 16465954421598296115LL, 
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:62:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  1429775571144180123LL, 10427377732172208413LL, 12155566091986788996LL, 16465954421598296115LL, 
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:64:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12710429690464359999LL, 9547226351541565595LL, 12156624891403410342LL,  2985938688676214686LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:64:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12710429690464359999LL, 9547226351541565595LL, 12156624891403410342LL,  2985938688676214686LL,
                          ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:64:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12710429690464359999LL, 9547226351541565595LL, 12156624891403410342LL,  2985938688676214686LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:65:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  18066917785985010959LL,  5975570403614438776LL, 11541343163022500560LL, 11115388652389704592LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:65:50: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  18066917785985010959LL,  5975570403614438776LL, 11541343163022500560LL, 11115388652389704592LL,
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:65:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  18066917785985010959LL,  5975570403614438776LL, 11541343163022500560LL, 11115388652389704592LL,
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:66:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9499328389494710074LL,  9247163036769651820LL,  3688303938005101774LL, 2210483654336887556LL,
  ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:66:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9499328389494710074LL,  9247163036769651820LL,  3688303938005101774LL, 2210483654336887556LL,
                          ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:67:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  15458161910089693228LL,  6558785204455557683LL,  1288373156735958118LL, 18433986059948829624LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:67:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  15458161910089693228LL,  6558785204455557683LL,  1288373156735958118LL, 18433986059948829624LL,
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:69:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3435082195390932486LL, 16822351800343061990LL,  3120532877336962310LL, 16681785111062885568LL,  
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:69:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3435082195390932486LL, 16822351800343061990LL,  3120532877336962310LL, 16681785111062885568LL,  
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:70:48: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7835551710041302304LL, 2612798015018627203LL, 15083279177152657491LL, 6591467229462292195LL,
                                                ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:71:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10592706450534565444LL,  7438147750787157163LL, 323186165595851698LL, 7444710627467609883LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:74:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12897601280285604448LL, 3612068790453735040LL, 8324209243736219497LL, 15789570356497723463LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:74:72: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12897601280285604448LL, 3612068790453735040LL, 8324209243736219497LL, 15789570356497723463LL,
                                                                        ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:75:72: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  1083312926512215996LL,  4797349136059339390LL, 5556729349871544986LL, 18266943104929747076LL,
                                                                        ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:77:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3906668377244742888LL,  6961783143042492788LL, 17159706887321247572LL,  4676208075243319061LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:79:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10315634697142985816LL, 13435140047933251189LL, 716076639492622016LL, 13847954035438697558LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:79:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10315634697142985816LL, 13435140047933251189LL, 716076639492622016LL, 13847954035438697558LL,
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:79:72: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10315634697142985816LL, 13435140047933251189LL, 716076639492622016LL, 13847954035438697558LL,
                                                                        ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:80:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7195811275139178570LL, 10815312636510328870LL,  6214164734784158515LL, 16412194511839921544LL, 
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:80:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7195811275139178570LL, 10815312636510328870LL,  6214164734784158515LL, 16412194511839921544LL, 
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:81:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3862249798930641332LL,  1005482699535576005LL,  4644542796609371301LL, 17600091057367987283LL, 
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:82:48: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  4209958422564632034LL, 5419285945389823940LL, 11453701547564354601LL,  9951588026679380114LL,
                                                ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:82:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  4209958422564632034LL, 5419285945389823940LL, 11453701547564354601LL,  9951588026679380114LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:84:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  7425168333159839689LL,  8436306210125134906LL, 11216615872596820107LL,  3681345096403933680LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:85:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  5770016989916553752LL, 11102855936150871733LL, 11187980892339693935LL, 396336430216428875LL, 
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:85:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  5770016989916553752LL, 11102855936150871733LL, 11187980892339693935LL, 396336430216428875LL, 
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:86:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  6384853777489155236LL,  7551613839184151117LL, 16527062023276943109LL, 13429850429024956898LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:86:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  6384853777489155236LL,  7551613839184151117LL, 16527062023276943109LL, 13429850429024956898LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:87:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9901753960477271766LL,  9731501992702612259LL,  5217575797614661659LL, 10311708346636548706LL,
  ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:87:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9901753960477271766LL,  9731501992702612259LL,  5217575797614661659LL, 10311708346636548706LL,
                          ^~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:87:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  9901753960477271766LL,  9731501992702612259LL,  5217575797614661659LL, 10311708346636548706LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:89:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  15111747519735330483LL, 4353415295139137513LL,  1845293119018433391LL, 11952006873430493561LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:89:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  15111747519735330483LL, 4353415295139137513LL,  1845293119018433391LL, 11952006873430493561LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:90:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3531972641585683893LL, 16852246477648409827LL, 15956854822143321380LL, 12314609993579474774LL,
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:90:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3531972641585683893LL, 16852246477648409827LL, 15956854822143321380LL, 12314609993579474774LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:90:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3531972641585683893LL, 16852246477648409827LL, 15956854822143321380LL, 12314609993579474774LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:91:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16763911684844598963LL, 16392145690385382634LL,  1545507136970403756LL, 17771199061862790062LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:91:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16763911684844598963LL, 16392145690385382634LL,  1545507136970403756LL, 17771199061862790062LL,
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:91:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16763911684844598963LL, 16392145690385382634LL,  1545507136970403756LL, 17771199061862790062LL,
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:92:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12121348462972638971LL, 12613068545148305776LL,   954203144844315208LL,  1257976447679270605LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:92:26: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  12121348462972638971LL, 12613068545148305776LL,   954203144844315208LL,  1257976447679270605LL, 
                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:94:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3664184785462160180LL,  2747964788443845091LL, 15895917007470512307LL, 15552935765724302120LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:94:73: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  3664184785462160180LL,  2747964788443845091LL, 15895917007470512307LL, 15552935765724302120LL,
                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:95:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16366915862261682626LL, 8385468783684865323LL, 10745343827145102946LL, 2485742734157099909LL, 
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:95:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  16366915862261682626LL, 8385468783684865323LL, 10745343827145102946LL, 2485742734157099909LL, 
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:96:25: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  916246281077683950LL,  15214206653637466707LL, 12895483149474345798LL,  1079510114301747843LL,
                         ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:96:49: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  916246281077683950LL,  15214206653637466707LL, 12895483149474345798LL,  1079510114301747843LL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:97:2: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10718876134480663664LL,  1259990987526807294LL,  8326303777037206221LL, 14104661172014248293LL,
  ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:97:74: varoitus: kokonaislukuvakio on niin suuri, että se on etumerkitön
  10718876134480663664LL,  1259990987526807294LL,  8326303777037206221LL, 14104661172014248293LL,
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16945909448695747420I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
 };
 ^
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16394063075524226720I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14877448043947020171I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13857871200353263164I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10205081126064480383I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17320312680810499042I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16489141110565194782I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13520575722002588570I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14226945236717732373I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9383926873555417063I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15690281668532552105I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11510704754157191257I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15864264574919463609I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10828930062652518694I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15942305434158995996I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15445717675088218264I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14673753115101942098I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13670483975188204088I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14931360615268175698I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12836915408046564963I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12120302420213647524I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15755110976537356441I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10951858968426898805I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17251681303478610375I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”18286145806977825275I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13075804672185204371I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10831805955733617705I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12837097014497293886I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12903857913610213846I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14266121283820281686I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11696403736022963346I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13383246710985227247I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10608108217231874211I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12893913769120703138I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15675160838921962454I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14483183001716371453I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9583498264570933637I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17119870085051257224I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10612176809475689857I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10949279256701751503I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15596196964072664893I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14097948002655599357I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17618792803942051220I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13212228678420887626I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16993060308636741960I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15299383925974515757I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17501832009465945633I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17453794942891241229I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15807805462076484491I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”18046771844467391493I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17981867688435687790I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9460108917638135678I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16172980638639374310I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13408683141069553686I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13900005529547645957I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15773550354402817866I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16475327524349230602I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12224576659776460914I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12435998400285353380I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13554353441017344755I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11393747116974949255I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16797249248413342857I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15713519023537495495I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
[ 20%] Building CXX object coreLibrary_300/CMakeFiles/NewtonObj.dir/source/core/dg.cpp.o
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12823504709579858843I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11670856244972073775I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12784319933059041817I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13424792606032445807I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10827695224855383989I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11016608897122070904I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14683280565151378358I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17487079941198422333I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11772020174577005930I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17687268231192623388I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12968358613633237218I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10427377732172208413I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12155566091986788996I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16465954421598296115I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12710429690464359999I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9547226351541565595I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12156624891403410342I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”18066917785985010959I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11541343163022500560I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11115388652389704592I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9499328389494710074I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9247163036769651820I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15458161910089693228I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”18433986059948829624I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16822351800343061990I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16681785111062885568I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15083279177152657491I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10592706450534565444I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12897601280285604448I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15789570356497723463I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”18266943104929747076I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17159706887321247572I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10315634697142985816I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13435140047933251189I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13847954035438697558I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10815312636510328870I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16412194511839921544I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17600091057367987283I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11453701547564354601I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9951588026679380114I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11216615872596820107I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11102855936150871733I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11187980892339693935I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16527062023276943109I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”13429850429024956898I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9901753960477271766I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”9731501992702612259I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10311708346636548706I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15111747519735330483I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”11952006873430493561I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16852246477648409827I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15956854822143321380I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12314609993579474774I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16763911684844598963I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16392145690385382634I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”17771199061862790062I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12121348462972638971I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12613068545148305776I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15895917007470512307I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15552935765724302120I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”16366915862261682626I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10745343827145102946I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”15214206653637466707I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”12895483149474345798I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”10718876134480663664I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
/home/hhyyrylainen/Projects/newton-dynamics/packages/dContainers/dCRC.cpp:98:1: virhe: ”14104661172014248293I128”:n kaventava muunnos tyypistä ”__int128” tyyppiin ”long long int” { }:n sisällä [-Wnarrowing]
packages/CMakeFiles/dContainers.dir/build.make:134: recipe for target 'packages/CMakeFiles/dContainers.dir/dContainers/dCRC.cpp.o' failed
make[2]: *** [packages/CMakeFiles/dContainers.dir/dContainers/dCRC.cpp.o] Error 1
CMakeFiles/Makefile2:130: recipe for target 'packages/CMakeFiles/dContainers.dir/all' failed
make[1]: *** [packages/CMakeFiles/dContainers.dir/all] Error 2

Basically the error is that __int128 is being truncated into long long int

Looks like the new version of GCC is more strict about truncating variables.

dNewtonCollision error compiling (very quick, easy fix)

Hi,

When including <dNewtonCollision.h> into my program, I receive this error:

In file included from /home/noob/noobgame/desktop/SandboxApp.cpp:37:0:
/home/noob/noobgame/desktop/extern/dNewton/dNewtonCollision.h:62:107: error: invalid pure specifier (only ‘= 0’ is allowed) before ‘;’ token
   CNEWTON_API virtual void OnDrawFace (int vertexCount, const dFloat* const faceVertex, int faceId) = NULL;

Simply had to change it to 0 instead of NULL. :)

UPDATE: Here is the compiler recipe for this file, according to my system. (after I had it working.) It contains extraneous info but may still yet be useful.

[ 65%] Building CXX object CMakeFiles/Engine.dir/extern/dNewton/dNewtonCollision.cpp.o
/usr/bin/c++    -std=c++11 -fpermissive -DASIO_STANDALONE -DASIO_DISABLE_THREADS  -I/home/noob/noobgame/desktop/extern/xxsqlite/src -I/home/noob/noobgame/desktop/extern/cereal/include -I/home/noob/noobgame/desktop/extern/sqlite -I/home/noob/noobgame/desktop/extern/asio -I/home/noob/noobgame/desktop/extern/polyvox/library/PolyVoxCore/include -I/home/noob/noobgame/desktop/extern/freetype/include -I/home/noob/noobgame/desktop/extern/dMath -I/home/noob/noobgame/desktop/extern/dNewton -I/home/noob/noobgame/desktop/extern/dContainers -I/home/noob/noobgame/desktop/extern/dCustomJoints -I/home/noob/noobgame/desktop/soil2    -o CMakeFiles/Engine.dir/extern/dNewton/dNewtonCollision.cpp.o -c /home/noob/noobgame/desktop/extern/dNewton/dNewtonCollision.cpp
/usr/bin/cmake -E cmake_progress_report /home/noob/noobgame/desktop/build/CMakeFiles 

VS2015 builds Preprocessor Definition

When building newton on VS2015 with all static and dynamic libraries set to
Visual Studio 2015 - Windows XP (v140_xp) Platform Toolset rather than just Visual Studio 2015 (v140), the compiler outs an error saying something like:
C++ warning C4005: '__useHeader': macro redefinition

To fix it the answers here, http://stackoverflow.com/questions/14363929/vs2012-c-warning-c4005-useheader-macro-redefinition, suggest appending %(PreprocessorDefinitions) to the Preprocessor Definition property. I appended that marco to all the projects and it fixed the building error. So, I think that to make all VS2013 and VS2015 projects compatible with Visual Studio 2015 - Windows XP (v140_xp) platform toolset, all of them must have %(PreprocessorDefinitions) appended to Preprocessor Definitions property.

Update website to reflect move to github

The website contains lots of old and outdated information. This should be updated to point to github.
Also the download page should be removed completly.
Wrappers page should probably also be removed and only contain the acamedic / papers things as there are more or less time-less.

So I will do the following changes:

  • Remove google code, replace with GitHub
  • Remove downloads page
  • Add Issue Tracker link
  • Changes wrappers/game engines to acamedic and papers (@JulioJerez what do you think about this)
  • Rename showcase to "Games using Newton" as this is a stronger wording

Not Receiving Forum Activation Code

Hello!

I've registered for the forum (using two different Email addresses at different domains), and have yet to receive the required code.

I was hoping to post regarding difficulty compiling the NewtonUnityPlugin--I've been quite keen at looking into it, both due to personal interest in using this fantastic physics project, but also to see if any of my Editor/Inspector coding experience might be able to assist with the porting.

If you are willing to approve my request, that would be fantastic. If you decide to do so, please approve my Email @darkwellstudios, as that is my code-related one.

Thank you so much in advance!

  • S.

MinGW Makefile obsolete

Compile the library on Windows with gcc is quite difficult. Because, there is a project file in the MinGW to compile, but it was updated last time 3 years ago.

dgAssert(0)

There is a dgAssert(0) in the dgWorldDynamicSimpleSolver.cpp, line 318. Is it necessary there?

Does not build using cmake on Gentoo Linux

Hi,

I am building Newton on Gentoo. However, I am stumped at:

/home/noob/CoolCode/newton-dynamics/applications/demosSandbox/sdkDemos/toolBox/toolbox_stdafx.h:106:19: fatal error: wx/wx.h: No such file or directory
 #include <wx/wx.h>
                   ^
compilation terminated.
applications/demosSandbox/CMakeFiles/demosSandbox.dir/build.make:57: recipe for target 'applications/demosSandbox/CMakeFiles/demosSandbox.dir/sdkDemos/DemoListenerBase.cpp.o' failed
make[2]: *** [applications/demosSandbox/CMakeFiles/demosSandbox.dir/sdkDemos/DemoListenerBase.cpp.o] Error 1
CMakeFiles/Makefile2:451: recipe for target 'applications/demosSandbox/CMakeFiles/demosSandbox.dir/all' failed
make[1]: *** [applications/demosSandbox/CMakeFiles/demosSandbox.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2

It seems that wxWidgets is not being linked in correctly.

Compilling issue: StandardJoints.cpp:1096:17: error: ‘min’,'max' was not declared in this scope

Building newton with

4.14.21-1-MANJARO
gcc version 7.3.0 (GCC)
cmake version 3.10.2

Installed libraries:

	libglfw.so.3 (libc6,x86-64) => /usr/lib/libglfw.so.3
	libglfw.so (libc6,x86-64) => /usr/lib/libglfw.so
	libopenal.so.1 (libc6,x86-64) => /usr/lib/libopenal.so.1
	libopenal.so (libc6,x86-64) => /usr/lib/libopenal.so
	libopenal.so.1 (libc6,x86-64) => /usr/lib/libopenal.so.1
	libopenal.so (libc6,x86-64) => /usr/lib/libopenal.so

The make process display the ERROR:

/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp: In member function ‘void JoesNewRagdollJoint::SetTwistSwingLimits(float, float, float, float)’:
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp:1096:17: error: ‘min’ was not declared in this scope
   m_coneAngle = min(maxAng, coneAngle);
                 ^~~
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp:1096:17: note: suggested alternative: ‘sin’
   m_coneAngle = min(maxAng, coneAngle);
                 ^~~
                 sin
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp:1097:18: error: ‘max’ was not declared in this scope
   dFloat angle = max(0.0f, min(maxAng, arcAngle + m_coneAngle) - m_coneAngle);
                  ^~~
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp:1097:18: note: suggested alternative: ‘fmax’
   dFloat angle = max(0.0f, min(maxAng, arcAngle + m_coneAngle) - m_coneAngle);
                  ^~~
                  fmax
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp: In member function ‘virtual void JoesNewRagdollJoint::SubmitConstraints(float, int)’:
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp:1218:43: error: ‘min’ was not declared in this scope
     dFloat angle = dFloat(acos(max(-1.0f, min(1.0f, d.DotProduct3(cone))))) - m_coneAngle;
                                           ^~~
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp:1218:43: note: suggested alternative: ‘sin’
     dFloat angle = dFloat(acos(max(-1.0f, min(1.0f, d.DotProduct3(cone))))) - m_coneAngle;
                                           ^~~
                                           sin
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp:1218:32: error: ‘max’ was not declared in this scope
     dFloat angle = dFloat(acos(max(-1.0f, min(1.0f, d.DotProduct3(cone))))) - m_coneAngle;
                                ^~~
/home/valery/newton-dynamics/applications/demosSandbox/sdkDemos/demos/StandardJoints.cpp:1218:32: note: suggested alternative: ‘fmax’
     dFloat angle = dFloat(acos(max(-1.0f, min(1.0f, d.DotProduct3(cone))))) - m_coneAngle;
                                ^~~
                                fmax

NewtonBindxxx

I think(not sure) that passing the world argument (for example) each time when calling a function can be costly, we can therefore do like OpenGL: bind the world (in this example, we only have one world generally(correct me if I am wrong)).
We can also go further by binding the bodies we want to make changes to but I do not know if there would be some performance penalties.

No tag for v2.0

Hi, I've been search around and I can't find a reference to where I can download v2.0 of the newton-dynamics library. A tag in the source code to at least know where to checkout would be helpful. If not something added to the wiki about how to get older versions required but some applications.

Thank you!

segfault on NewtonCreate()

I built the latest version of libNewton.so using cmake, the core libraries build fine, but when I call NewtonCreate I get the following segfault.

#0  0x00007ffff7792e36 in dgMemoryAllocator::Malloc(int) () from /usr/local/lib64/libNewton.so
#1  0x00007ffff77931c9 in dgMalloc(unsigned long, dgMemoryAllocator*) () from     /usr/local/lib64/libNewton.so
#2  0x00007ffff7793817 in dgList<dgMemoryAllocator*>::dgListNode::operator new(unsigned long, dgMemoryAllocator*) () from /usr/local/lib64/libNewton.so
#3  0x00007ffff7793638 in dgList<dgMemoryAllocator*>::Append(dgMemoryAllocator* const&) () from /usr/local/lib64/libNewton.so
#4  0x00007ffff779295e in dgMemoryAllocator::dgMemoryAllocator() () from /usr/local/lib64/libNewton.so
#5  0x00007ffff78774fa in NewtonCreate () from /usr/local/lib64/libNewton.so
#6  0x0000000000400cdd in main ()

I also tried the older build system, using coreLibrary_300/projects/posix64/makefile, which builds libNewton, but cannot load it due to undefined symbols. This happens with both the version from google's repo and github.

I still have my old version (built a year ago), and it runs fine, no segfault.

Building error's on windows

Hello, i am trying to build into VS2015, but i found the following error's on CMake.
CMake Error at C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.8/Modules/FindwxWidgets.cmake:931 (find_package_handle_standard_args) applications/demosSandbox/CMakeLists.txt:33 (find_package)

If i ignore the NEWTON_DEMOS_SANDBOX i can continue but i found a hundred erro's indo building process:
Log.txt
Any solution?

Assertion `info->m_allocator == this' failed.

I haven't had a chance to debug this issue yet, but was wondering if anyone else ran into it. I'm running on 64bit Arch Linux and compiling with clang in debug. Compiling with gcc results in the same issue, also running in debug.

../../libs/newton-dynamics/sdk/dgCore/dgMemory.cpp:293: virtual void *dgMemoryAllocator::Malloc(dgInt32): Assertion `info->m_allocator == this' failed.

Whether or not I set the memory system, the same assert happens when calling NewtonCreate().

Issues with demo project on Linux

1-In my laptop I do no get Keyboard input. This seem to be new because I remember it used to work
2-The vehicle demos are not rendering, it is not crashing it is just not rendering for some reason.
this was working as of three days ago, so I do no know what is wrong

those problems do no happens on the Mac or on the PC
for Me the problem debugging it is that I update to Linux 14.1 LTD and all the tool are different,
the debuggers in particulate sucks.
I do not know who the Linux work keeps accepting those mediocre tools.
Linux development is my opinion is about 30 years behind Windows and maybe 25 years behind OSX.

Error Compiling dMath/dVector.h

I get an erro compiling dMath/dVector.h, on line 49:
TemplateVector operator* (const TemplateVector &B) const {return (*this).CrossProduct(A);}
Should it be:
TemplateVector operator* (const TemplateVector &B) const {return (*this).CrossProduct(B);}

Bulding from the latest sources

From some time I have a problem in building sandbox demo from sources. I'm using VS 2010
Problem starts from the projects paths in a solution, for example
D:\temp3\newton-dynamics-master\packages\projects\visualStudio_2010\dMath.vcxproj
which is wrong and I have to manually switch to
D:\temp3\newton-dynamics-master\packages\projects\visualStudio_2010_dll\dMath.vcxproj

Then many errors during compilation appear, like that
5>....\sdkDemos___\toolBox\PhysicsUtils.cpp(915): error C3861: 'NewtonCollisionGetSkinThickness': identifier not found
5>....\sdkDemos___\toolBox\PhysicsUtils.cpp(1235): error C2660: 'NewtonBodyAddImpulse' : function does not take 3 arguments

and etc.

What am I doing wrong ? I remember times (around half a year ago) when everything was fine during the build process.

Compiling issues.

Hi. I have several compiling issues. I am trying to build newton in my project with cmake.
I am using Qtcreator as an IDE on Windows. CMake is version 3.9
-mingw - cannot compile at all. Getting compiler errors in dgVector.h about not finding __m128 type. Maybe some defines weren't properly set when using mingw.
-msvc - inconsistent dll linkage on mostly everything. I am Maybe the _NEWTON_STATIC_LIB isn't set properly.

Dividing Newton.cpp to several files

Could we divide Newton.cpp (which is quite huge) to several smaller files? I have seen that it is already divided into some sort of sections (with the comments) within the file. IMHO it would greatly improve the readability and allow us to better know the dependencies of each set of functions.

PS: I do not know how to put the issue in the folder "Suggestions".

Define min mass constant

From observations, I find min mass 0.001 (1.0e-3f)
But, it's not a constant in the code.
It would be nice if it was defined in dgBody.h, DG_MIN_MASS, just near DG_INIFINITE_MASS.

As well, since min volume was reduced, then min mass should be reduced too, to 1.0e-4f I think.

Improper link

The link at the top, right below "Newton Dynamics is an integrated solution for real time simulation of physics environments." leads to netwondynamics.com while it should be newtondynamics.com

another typo bug?

\coreLibrary_300\source\newton\Newton.cpp

line 4099

return (instance->IsType(dgCollision::dgCollisionMesh_RTTI) || instance->IsType(dgCollision::dgCollisionMesh_RTTI)) ? 1 : 0;

Do newton-dynamic provide constraints on rigidbody

I wonder whether newton-dynamic provide the constraints setting on rigidbody. So that we can set freeze the rotation round x-axis and z-axis. It is very useful when we apply the rigidbody on a character. How can I achieve this goal?

copy paste bug

So

newton-dynamics\coreLibrary_300\source\physics\dgCollisionBox.cpp

Line 320

if (!((normalAlgin.m_x > dgFloat32 (0.9999f)) || (normalAlgin.m_y > dgFloat32 (0.9999f)) || (normalAlgin.m_x > dgFloat32 (0.9999f))))

Forum registration issue / questions regarding suitability of newton dynamics

Hi,

as I could not find an alternative way to communicate I am trying here, even though it might not be the most appropriate location. The site/forum says to contact admins when having trouble with registration but as far as I could find it does not provide a way to actually reach said admins..

As I have a couple of questions about newton before I start integrating it into our environment I tried to register on the forum. I have tried to register using two different addresses, and I have clicked the "resend activation email" link for both, but in neither case I am seeing any emails turn up. (spam folder double checked as well). This concerns user registrations 'eabbink' and '421safari'. If an admin could activate (one of) them that would be great.

Now for the questions I have regarding Newton Dynamics. We have our own vehicle model for which several new requirements (mainly joints and increased stability) make it preferable to incorporate an existing physics engine. Accuracy and stability valued above performance. To be able to (easily) integrate Newton (or any other engine) we need the following:

  1. double precision support (related to large worlds): This should be present in Newton, however according to some old posts it may not complete/functional or even buildable. Enabling the option in cmake builds fine however, and the demos application runs fine as well. so OK?

  2. step the simulation a certain amount of time: Call NewtonUpdate ()

  3. for a rigid body query position: Call NewtonBodyGetPosition or NewtonBodyGetMatrix

  4. for a rigid body query orientation: Call NewtonBodyGetRotation or NewtonBodyGetMatrix

  5. for a rigid body query linear velocity: Call NewtonBodyGetVelocity

  6. for a rigid body query linear acceleration: No function present?

  7. for a rigid body query angular velocity: Call NewtonBodyGetOmega

  8. for a rigid body query anguler acceleration: No function present?

  9. multiple times between simulations steps, add a force at a position (force may generate resulting torque): Callback mechanism is inconvenient here, but could be worked around by storing a list of forces to sum in the callback. For NewtonBodyAddForce() the manual lists: "This function is only effective when called from NewtonApplyForceAndTorque callback". Why is this the case? Why couldn't one simply call this function a number of times adding forces before calling NewtonUpdate?

  10. reset the simulation to a certain old or new state (ie. repositioning of vehicle).

  11. dynamic joint deletion and creation between existing rigidbodies.

  12. live changing of parameters (mass, stiffness, etc).

So at first glance most of the basics seem ok except for 6 and 8. Is it really not possible to query accellerations for a rigidbody? Note that for our application simply deriving them from velocities is a nogo.

Thanks!

Esger

CMake configure on fails

After updating to the latest commit cmake fails to run with this error:

CMake Error at CMakeLists.txt:108 (add_subdirectory):
  add_subdirectory given source
  "/home/hhyyrylainen/Projects/leviathan/ThirdParty/newton-dynamics/packages"
  which is not an existing directory.


CMake Error at CMakeLists.txt:109 (add_subdirectory):
  add_subdirectory given source
  "/home/hhyyrylainen/Projects/leviathan/ThirdParty/newton-dynamics/packages/thirdParty"
  which is not an existing directory.


CMake Error at CMakeLists.txt:110 (add_subdirectory):
  add_subdirectory given source
  "/home/hhyyrylainen/Projects/leviathan/ThirdParty/newton-dynamics/coreLibrary_300"
  which is not an existing directory.


-- Configuring incomplete, errors occurred!
See also "/home/hhyyrylainen/Projects/leviathan/ThirdParty/newton-dynamics/build/CMakeFiles/CMakeOutput.log".

Which looks like to have been caused by those missing directories to have been deleted at some point.
Was this intentional, and the cmake script didn't get updated, or should those directories still exist.

I'm now using commit 7c5970ccda537dea134e0443d702ef9f5ce81a38 which has those directories and compiling works with that version.

I also tried running git bisect but that didn't work well as there are bunch of commits in master that don't compile.

Can't compile demos sandbox

I downloaded revision 1743, cant compile Demos Sandbox on vs2010, release, or releaseDll. I could compile the dubug mode, though.

Here is the log:

1> dgGoogol.cpp
1>......\source\core\dgGoogol.cpp(251): error C2220: warning treated as error - no 'object' file generated
1>......\source\core\dgGoogol.cpp(251): warning C4245: 'initializing' : conversion from '__int64' to 'dgUnsigned64', signed/unsigned mismatch
1>
1>Build FAILED.

_mm_cmpeq_epi64 used in TestZero even when __SSE4_1__ isn't defined

SSE4_1 isn't commonly defined by compilers, and your function TestZero relies on _mm_cmpeq_epi64 and thus fails to compile on Linux using latest of clang.

Also it doesn't check against proper macros for Unix/Linux systems, _POSIX_VER is defined in unistd, which is included after your check. I noticed on Mac Darwin you define _POSIX_VER in the cmake file, instead of properly checking for it in code.

Registration to the forum does not work

Hi, I am using a ruby wrapper of newton dynamics in Sketchup (it's called MSPhysics). I wanted to ask some questions regarding your engine in the forum, but I don't seem to be able to register (I don't get an confirmation link).
Is there something you can do?

Deserve a better wikipedia page

Newton has a minimal wikipedia page, it deserves a better page ( I just changed the link to point the repository on github instead of googlecode), especially needs link and images from games using newton.

ConvexCast broken with triangle meshes / Plz activate forum account.

hi,
NewtonWorldConvexCast is not returning any contacts when tracing against certain triangle meshes.
i included a simple test cast.


#include <stdio.h>
#include "Newton.h"
#include "dVector.h"
#include "dMatrix.h"

using namespace std;

void test() {
NewtonWorld *world = NewtonCreate();

// create static body
NewtonCollision* cs = 0;
NewtonBody* dyn = 0;
{
	// Dummy transform matrix.
	dMatrix tm(dGetIdentityMatrix());
	#if 0
	// WORKING simple BOX
	cs = NewtonCreateBox(world, 40., 40., 0.2, 0,0);
	#else
	// TRIANGLE MESH
	dVector verts[6] = {
		#if 1
		// FAILING,TRIANGLE MESH
		dVector(-55.12000656,-38.16000366,0.00000000),
		dVector(55.12000656,-38.16000366,0.00000000),
		dVector(-55.12000656,38.16000366,0.00000000),
		dVector(55.12000656,-38.16000366,0.00000000),
		dVector(55.12000656,38.16000366,0.00000000),
		dVector(-55.12000656,38.16000366,0.00000000)
		#else
		// WORKING,TRIANGLE MESH
		dVector(+40,+30,0),
		dVector(-40,+30,0),
		dVector(-40,-30,0),
		dVector(-40,-30,0),
		dVector(+40,-30,0),
		dVector(+40,+30,0),
		#endif
	};
	
	cs = NewtonCreateTreeCollision(world,0);
	NewtonTreeCollisionBeginBuild(cs);
	NewtonTreeCollisionAddFace(cs,3,&verts[0][0],sizeof(dVector),0);
	NewtonTreeCollisionAddFace(cs,3,&verts[3][0],sizeof(dVector),0);
	NewtonTreeCollisionEndBuild(cs,0);
	#endif
	dyn = NewtonCreateDynamicBody(world, cs, &tm[0][0]);
	NewtonDestroyCollision(cs);
}

// cast shape
NewtonCollision* cast_shape = 0;
{
	cast_shape = NewtonCreateBox(world,4,4,16,0,0);
}

// convex cast
dVector start(-10,20.5,9.5);
dVector target(-10,20.5,5);
dMatrix start_xform(dQuaternion(),start);
float hitParam = 0;
NewtonWorldConvexCastReturnInfo info[16];
int contactCount = NewtonWorldConvexCast(world,&start_xform[0][0],&target.m_x,cast_shape,
										 &hitParam,0,0,
										 info,sizeof(info)/sizeof(info[0]),0);

// assert(contactCount > 0);
// int a = sizeof(dVector);
// dVector v;
// int b = sizeof(v.m_x);
// printf("%d %d ",a,b);

printf("%f %d\n",hitParam,contactCount);

// Tear down.
NewtonMaterialDestroyAllGroupID(world);
NewtonDestroyCollision(cast_shape);
NewtonDestroyCollision(cs);
NewtonDestroyAllBodies(world);
NewtonDestroy(world);

}


also please activate my forum account , account name is 'marco'
looks like if the email id has any numbers it gets flagged as spam.

thanks

Random crashing with pure virtual method called

Very rarely when running my program using newton it just crashes. I've managed to get this to happen a few times in valgrind but not in gdb it crashes like this:

==8862== 
terminate called without an active exception
pure virtual method called
terminate called recursively

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==8862== 
==8862== Process terminating with default action of signal 6 (SIGABRT): dumping core
==8862==    at 0xA1F066B: raise (in /usr/lib64/libc-2.26.so)
==8862==    by 0xA1F2380: abort (in /usr/lib64/libc-2.26.so)
==8862==    by 0x9958024: __gnu_cxx::__verbose_terminate_handler() (in /usr/lib64/libstdc++.so.6.0.24)
==8862==    by 0x9955C15: ??? (in /usr/lib64/libstdc++.so.6.0.24)
==8862==    by 0x9955C60: std::terminate() (in /usr/lib64/libstdc++.so.6.0.24)
==8862==    by 0x54AA80F: ~thread (thread:135)
==8862==    by 0x54AA80F: dgThread::~dgThread() (dgThread.cpp:130)
==8862==    by 0x55A0427: dgWorld::~dgWorld() (dgWorld.cpp:308)
==8862==    by 0x54E5688: Newton::~Newton() (NewtonClass.cpp:49)
==8862==    by 0x54DBDFD: NewtonDestroy (Newton.cpp:184)
==8862==    by 0x50347E7: Leviathan::PhysicalWorld::~PhysicalWorld() (PhysicalWorld.cpp:40)
==8862==    by 0x56E627: ____C_A_T_C_H____T_E_S_T____3() (Physics.cpp:27)
==8862==    by 0x4338E1: invoke (catch.hpp:8926)
==8862==    by 0x4338E1: Catch::RunContext::invokeActiveTestCase() (catch.hpp:7954)

I also earlier got this callstack, which may be the thread part:

terminate called without an active exception

pure virtual method called
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terminate called recursively

==18021== 
==18021== Process terminating with default action of signal 6 (SIGABRT): dumping core
==18021==    at 0xA1E666B: raise (in /usr/lib64/libc-2.26.so)
==18021==    by 0xA1E8380: abort (in /usr/lib64/libc-2.26.so)
==18021==    by 0x994DFEC: __gnu_cxx::__verbose_terminate_handler() (in /usr/lib64/libstdc++.so.6.0.24)
==18021==    by 0x994BC15: ??? (in /usr/lib64/libstdc++.so.6.0.24)
==18021==    by 0x994BC60: std::terminate() (in /usr/lib64/libstdc++.so.6.0.24)
==18021==    by 0x994CA4E: __cxa_pure_virtual (in /usr/lib64/libstdc++.so.6.0.24)
==18021==    by 0x54A8830: dgThread::dgThreadSystemCallback(void*) (dgThread.cpp:168)
==18021==    by 0x997814E: ??? (in /usr/lib64/libstdc++.so.6.0.24)
==18021==    by 0x63AE61A: start_thread (in /usr/lib64/libpthread-2.26.so)
==18021==    by 0xA2C698E: clone (in /usr/lib64/libc-2.26.so)

I think this may be a race condition of some kind as there is dgThread in the callstack and this happens randomly. I'm just creating a newton world and a few collision shapes, I'm not even running the update method so maybe this is an issue in destroying a newton world, like the thread isn't shutdown at the correct time and it accesses some object that has already been destructed down to its base class causing the pure virtual call.

I'm on linux using newton version e60733c5a6eafd952b7b981f3c6aa06ccc5b326e (which is in my pull request). I've also had this happen with a version from last july so this bug has probably existed for a while, or it was already fixed and now there's another bug in the threading.

Scaled-down collisions bounce forever?

Sorry for not posting this on the newtondynamics.com forums, but I registered weeks ago and my account was never activated.

When I try to scale an existing convex hull collision down to 0.02 of its normal size, it seems to just keep bouncing forever, but when I create the convex hull at the correct size, it works as expected.

This works:

    for(unsigned i = 0; i < vertexBuffer->GetLength(); ++i)
    {
        vertexBuffer->Get(i).position *= 0.02f;
    }

    collision = NewtonCreateConvexHull(
        physicsWorld->newtonWorld,
        vertexBuffer->GetLength(),
        (float*)vertexBuffer->GetData(),
        vertexBuffer->GetElementSize(),
        0.0f, 0, (float*)&offsetMatrix);

This doesn't:

    collision = NewtonCreateConvexHull(
        physicsWorld->newtonWorld,
        vertexBuffer->GetLength(),
        (float*)vertexBuffer->GetData(),
        vertexBuffer->GetElementSize(),
        0.0f, 0, (float*)&offsetMatrix);

    NewtonCollisionSetScale(collision, 0.02f, 0.02f, 0.02f);

I need this to be able to scale collisions dynamically, so that 'growing' an object pushes other objects out of the way in real-time.

For the moment, I've introduced a hack workaround that multiplies the softness of a contact by the scale factors of both bodies in the contact callback. This helps fix the bouncing, but the affected bodies still vibrate for several seconds before they come to rest.

I'm using the latest version from the Google Code repository, r1679 (Jul 28th)

master build failing on OS X

There are two errors.

  1. CLOCK_REALTIME being undefined
  2. undeclared variable in dgSPDMatrix.h

Thanks.

[ 13%] Building CXX object coreLibrary_300/CMakeFiles/NewtonObj.dir/source/core/dgSPDMatrix.cpp.o
In file included from /Users/bill/Projects/newton-dynamics/coreLibrary_300/source/core/dgSPDMatrix.cpp:25:
/Users/bill/Projects/newton-dynamics/coreLibrary_300/source/core/dgSPDMatrix.h:117:19: error: use of undeclared identifier 'n'
        for (dgInt32 i = n - 1; i >= 0; i--) {
                         ^
/Users/bill/Projects/newton-dynamics/coreLibrary_300/source/core/dgSPDMatrix.h:119:31: error: use of undeclared identifier 'n'
                for (dgInt32 j = i + 1; j < n; j++) {
                                            ^
2 errors generated.
make[2]: *** [coreLibrary_300/CMakeFiles/NewtonObj.dir/source/core/dgSPDMatrix.cpp.o] Error 1
[ 14%] Building CXX object coreLibrary_300/CMakeFiles/NewtonObj.dir/source/core/dgThreadHive.cpp.o
[ 14%] Building CXX object coreLibrary_300/CMakeFiles/NewtonObj.dir/source/core/dgTree.cpp.o
[ 15%] Building CXX object coreLibrary_300/CMakeFiles/NewtonObj.dir/source/core/dgTypes.cpp.o
/Users/bill/Projects/newton-dynamics/coreLibrary_300/source/core/dgTypes.cpp:55:17: error: use of undeclared identifier 'CLOCK_REALTIME'
                clock_gettime(CLOCK_REALTIME, &ts);
                              ^
/Users/bill/Projects/newton-dynamics/coreLibrary_300/source/core/dgTypes.cpp:58:16: error: use of undeclared identifier 'CLOCK_REALTIME'
        clock_gettime(CLOCK_REALTIME, &ts); // Works on Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.