MADEAPPS / newton-dynamics

Newton Dynamics is an integrated solution for real time simulation of physics environments.
http://www.newtondynamics.com
Other
938 stars 182 forks source link

Can't compile on Linux without commenting out code #219

Open TheJackiMonster opened 4 years ago

TheJackiMonster commented 4 years ago

Despite that the current package in AUR won't work because the source code was moved to subdirectories, the code won't compile until I comment out this define: #define DG_LIBRARY_IMPORT __attribute__((visibility("default"))) in "sdk/dgCore/dgTypes.h"

In file included from /home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dContainers/./dContainersStdAfx.h:29,
                 from /home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dContainers/./dContainersAlloc.h:24,
                 from /home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dContainers/./dCRC.h:15,
                 from /home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dCustomJoints/dCustomJointLibraryStdAfx.h:58,
                 from /home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dCustomJoints/dCustomAlloc.cpp:22:
/home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dgCore/./dgTypes.h:239:28: error: expected class-name before ‘__attribute__’
  239 |  #define DG_LIBRARY_IMPORT __attribute__((visibility("default")))
      |                            ^~~~~~~~~~~~~
/home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dContainers/./dContainersStdAfx.h:35:27: note: in expansion of macro ‘DG_LIBRARY_IMPORT’
   35 |   #define DCONTAINERS_API DG_LIBRARY_IMPORT
      |                           ^~~~~~~~~~~~~~~~~
/home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dContainers/./dContainersAlloc.h:57:11: note: in expansion of macro ‘DCONTAINERS_API’
   57 |  virtual ~DCONTAINERS_API dContainerNodeAllocator()
      |           ^~~~~~~~~~~~~~~
/home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dgCore/./dgTypes.h:239:28: error: expected class-name before ‘__attribute__’
  239 |  #define DG_LIBRARY_IMPORT __attribute__((visibility("default")))
      |                            ^~~~~~~~~~~~~
/home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dContainers/./dContainersStdAfx.h:35:27: note: in expansion of macro ‘DG_LIBRARY_IMPORT’
   35 |   #define DCONTAINERS_API DG_LIBRARY_IMPORT
      |                           ^~~~~~~~~~~~~~~~~
/home/thejackimonster/.cache/yay/newton-dynamics-git/src/newton-dynamics/newton-3.14/sdk/dContainers/./dContainersAlloc.h:87:11: note: in expansion of macro ‘DCONTAINERS_API’
   87 |  virtual ~DCONTAINERS_API dContainerFreeListAllocator()
      |           ^~~~~~~~~~~~~~~
make[2]: *** [sdk/dCustomJoints/CMakeFiles/dCustomJoints.dir/build.make:82: sdk/dCustomJoints/CMakeFiles/dCustomJoints.dir/dCustomAlloc.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:814: sdk/dCustomJoints/CMakeFiles/dCustomJoints.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

With mentioned changes it compiles with multiple warnings but I could effectively run the demos.

tombish commented 3 years ago

Perhaps a different issue but I too am having trouble compiling Newton on Linux. This time Newton 4.00 I set the following CMake build flags:

SET(NEWTON_BUILD_TEST OFF CACHE BOOL "generate test project") SET(NEWTON_BUILD_SANDBOX_DEMOS OFF CACHE BOOL "generates demos projects") SET(NEWTON_BUILD_PROFILER OFF CACHE BOOL "build profiler") SET(NEWTON_BUILD_CREATE_SUB_PROJECTS OFF CACHE BOOL "generate independent subproject") SET(NEWTON_BUILD_SHARED_LIBS OFF CACHE BOOL "build shared library") SET(NEWTON_CREATE_C_INTERFACE OFF CACHE BOOL "build a wrapper dll") SET(NEWTON_WITH_REFERENCE_GPU_PLUGIN OFF CACHE BOOL "adding gpu reference solver, gpu solve using avx2") SET(NEWTON_WITH_AVX_PLUGIN OFF CACHE BOOL "adding avx parallel solver (forces shared libs)") SET(NEWTON_STATIC_RUNTIME_LIBRARIES ON CACHE BOOL "use windows static libraries")

Click here for build output: Newton 4.00, Clang 9.0.0

``` [build] Starting build [proc] Executing command: /usr/local/bin/cmake --build /build --config Debug --target ndNewton -- -j 14 [build] Scanning dependencies of target ndNewton [build] [ 0%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndConstraint.cpp.o [build] [ 0%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBody.cpp.o [build] [ 0%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndJointBilateralConstraint.cpp.o [build] [ 0%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContact.cpp.o [build] [ 0%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyKinematic.cpp.o [build] [ 0%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndCollisionStdafx.cpp.o [build] [ 9%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyNotify.cpp.o [build] [ 9%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyTriggerVolume.cpp.o [build] [ 18%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContactSolver.cpp.o [build] [ 18%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContactList.cpp.o [build] [ 18%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyPlayerCapsule.cpp.o [build] [ 18%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndSceneNode.cpp.o [build] [ 18%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndScene.cpp.o [build] [ 18%] Building CXX object newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndSceneMixed.cpp.o [build] In file included from In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndScene.cpp:23: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:25: [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:213:10: warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndContact.cpp:23: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:25: [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:213:10: warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndScene.cpp:24: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h:30: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCore.h:27: [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:247:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndContact.cpp:24: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h:30:: [build] 346In file included from :/newton-dynamics/newton-4.00/sdk/dCore/dCore.h25::27 : [build] error/newton-dynamics/newton-4.00/sdk/dCore/dList.h: :cannot add a default template argument to the definition of a member of a class template [build] 247:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: errortemplate >: [build] cannot add a default template argument to the definition of a member of a class template ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273template >: [build] 25 ^ ~~~~~~~~~~~~~~~~~~~: [build] error/newton-dynamics/newton-4.00/sdk/dCore/dList.h: :406:cannot add a default template argument to the definition of a member of a class template25: [build] error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:346:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:506:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: /newton-dynamics/newton-4.00/sdk/dCore/dList.herror:: 528cannot add a default template argument to the definition of a member of a class template: [build] 25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:/newton-dynamics/newton-4.00/sdk/dCore/dList.h387:25:: 542error:: 25:cannot add a default template argument to the definition of a member of a class template [build] error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:506:25: error: cannot add a default template argument to the definition of a member of a class template [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndSceneNode.cpp:22: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:25: [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:213template >: [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCollision/ndConstraint.cpp:23: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:25: [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:213:10: warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dTypes.h::209528::1125:: note: errorprevious definition is here: [build] cannot add a default template argument to the definition of a member of a class template [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] template > ^ [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] 10: warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndConstraint.cpp:24: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h:30: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCore.h:27: [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:247:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~In file included from In file included from [build] /newton-dynamics/newton-4.00/sdk/dCollision/ndJointBilateralConstraint.cpp:22: [build] /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.cppIn file included from :/newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:2225: [build] : [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h/newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h::21325:: [build] 10/newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:: 213warning:: 10:'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 ^ [build] [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:/newton-dynamics/newton-4.00/sdk/dCore/dTypes.h11:210:: 11note:: previous definition is herenote [build] : previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] #define D_MSV_NEWTON_ALIGN_32 ^ [build] [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning/newton-dynamics/newton-4.00/sdk/dCore/dTypes.h: :'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined]214 [build] :10/newton-dynamics/newton-4.00/sdk/dCore/dList.h: :warning285: :'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined]25 [build] : error: cannot add a default template argument to the definition of a member of a class template [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209 #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 : [build] 11 ^: [build] note/newton-dynamics/newton-4.00/sdk/dCore/dTypes.h: :previous definition is here [build] 209template >: [build] 11 ^ ~~~~~~~~~~~~~~~~~~~: [build] note: previous definition is here [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:346:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:506:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndBodyTriggerVolume.cpp:22: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:25: [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:213:10: warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11In file included from In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndSceneNode.cpp/newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.cpp::2323: [build] : [build] In file included from In file included from :/newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h/newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h::3030: [build] In file included from : [build] /newton-dynamics/newton-4.00/sdk/dCore/dCore.hIn file included from note:/newton-dynamics/newton-4.00/sdk/dCore/dCore.h27: :: [build] 27previous definition is here: [build] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:/newton-dynamics/newton-4.00/sdk/dCore/dList.h247::24725::25 :error : error: cannot add a default template argument to the definition of a member of a class templatecannot add a default template argument to the definition of a member of a class template [build] [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~/newton-dynamics/newton-4.00/sdk/dCore/dTypes.htemplate > [build] : [build] 214 ^ ~~~~~~~~~~~~~~~~~~~: [build] 10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndBodyPlayerCapsule.cpp/newton-dynamics/newton-4.00/sdk/dCore/dList.h::22255: [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:In file included from 25:/newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:255: :25error25: [build] : :/newton-dynamics/newton-4.00/sdk/dCore/dTypes.hcannot add a default template argument to the definition of a member of a class template : [build] error213: :cannot add a default template argument to the definition of a member of a class template10 [build] : warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:/newton-dynamics/newton-4.00/sdk/dCore/dList.h261::25261:: 25/newton-dynamics/newton-4.00/sdk/dCore/dTypes.herror:: : 214errorcannot add a default template argument to the definition of a member of a class template:: [build] 10cannot add a default template argument to the definition of a member of a class template: [build] warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] template > [build] template > ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267/newton-dynamics/newton-4.00/sdk/dCore/dList.h:25:: 267error:: 25:cannot add a default template argument to the definition of a member of a class template [build] error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273/newton-dynamics/newton-4.00/sdk/dCore/dList.h::25273:: 25error: : cannot add a default template argument to the definition of a member of a class templateerror [build] : cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25/newton-dynamics/newton-4.00/sdk/dCore/dList.h: :error279: :cannot add a default template argument to the definition of a member of a class template25 [build] : error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: errortemplate >: [build] cannot add a default template argument to the definition of a member of a class template ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:346:/newton-dynamics/newton-4.00/sdk/dCore/dList.h25:: 326error:: 25cannot add a default template argument to the definition of a member of a class template [build] : error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:346:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:506:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:506:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:/newton-dynamics/newton-4.00/sdk/dCore/dList.h542::55325::25 : errorerror: : cannot add a default template argument to the definition of a member of a class template [build] cannot add a default template argument to the definition of a member of a class template [build] template >template > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndContactList.cpp:23: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:25: [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:213:10: warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndBodyTriggerVolume.cpp:23: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h:30: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCore.h:27: [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:247:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:346:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndBodyPlayerCapsule.cpp:23: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h:30: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCore.h:27: [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:247:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:In file included from /newton-dynamics/newton-4.00/sdk/dCore/dList.hIn file included from In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndBodyKinematic.cpp:/newton-dynamics/newton-4.00/sdk/dCollision/ndJointBilateralConstraint.cpp:484::22/newton-dynamics/newton-4.00/sdk/dCollision/ndBody.cpp2325: [build] :: [build] In file included from : In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.herror:/newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h22: 25:: [build] 30cannot add a default template argument to the definition of a member of a class template: [build] : [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h [build] In file included from :/newton-dynamics/newton-4.00/sdk/dCore/dCore.hIn file included from 213::27/newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h10: [build] ::/newton-dynamics/newton-4.00/sdk/dCore/dList.h :25warning247: :: [build] 25'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined]: [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.herror: :cannot add a default template argument to the definition of a member of a class template213 [build] :10template > [build] : ^ ~~~~~~~~~~~~~~~~~~~ [build] warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndContactList.cpp #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 : [build] ^24 [build] : [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h/newton-dynamics/newton-4.00/sdk/dCore/dTypes.h::30210: [build] :In file included from 11/newton-dynamics/newton-4.00/sdk/dCore/dCore.h:: 27note: [build] : /newton-dynamics/newton-4.00/sdk/dCore/dList.hprevious definition is here: [build] 247:25: error: cannot add a default template argument to the definition of a member of a class template [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h: #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 214: [build] 10: ^ template >warning [build] [build] : ^ ~~~~~~~~~~~~~~~~~~~ [build] 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^note [build] : /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:previous definition is here209: [build] 11/newton-dynamics/newton-4.00/sdk/dCore/dList.h: :note255: :previous definition is here25 [build] : error: cannot add a default template argument to the definition of a member of a class template [build] #define D_MSV_NEWTON_ALIGN_32/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] : #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32)))506 [build] ^: ^25 [build] [build] template >: [build] ^ ~~~~~~~~~~~~~~~~~~~error [build] : cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214template >: [build] ^ ~~~~~~~~~~~~~~~~~~~/newton-dynamics/newton-4.00/sdk/dCore/dList.h10 [build] ::255: 25: warningerror: : cannot add a default template argument to the definition of a member of a class template [build] 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] template >/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] : ^ ~~~~~~~~~~~~~~~~~~~261 [build] :25: error: cannot add a default template argument to the definition of a member of a class template [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^template > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h::528267::2525:template >: [build] error ^ ~~~~~~~~~~~~~~~~~~~error: [build] : cannot add a default template argument to the definition of a member of a class templatecannot add a default template argument to the definition of a member of a class template [build] [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] template >template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] 2225template > warning warningss: and and [build] 2020error error error ^ ~~~~~~~~~~~~~~~~~~~: ss [build] In file included from generated generatedcannot add a default template argument to the definition of a member of a class template [build] . [build] . [build] /newton-dynamics/newton-4.00/sdk/dCollision/ndContactSolver.cpp:22: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h:25: [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:213:10: warning: 'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:346:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:In file included from /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCollision/ndContactSolver.cpp446::23:273: [build] 279:In file included from ::25/newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h25:25:: :30 error : [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContact.cpp.o] Error 1 [build] error: In file included from error: /newton-dynamics/newton-4.00/sdk/dCore/dCore.hcannot add a default template argument to the definition of a member of a class template: cannot add a default template argument to the definition of a member of a class template: [build] cannot add a default template argument to the definition of a member of a class template [build] 27 [build] : [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:247:25: error: cannot add a default template argument to the definition of a member of a class template [build] make[3]: *** Waiting for unfinished jobs.... [build] template >template > [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] In file included from make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndScene.cpp.o] Error 1 [build] /newton-dynamics/newton-4.00/sdk/dCollision/ndBody.cpptemplate > [build] :23 ^ ~~~~~~~~~~~~~~~~~~~: [build] [build] In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h:30: [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCore.h:27: [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:247:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: /newton-dynamics/newton-4.00/sdk/dCore/dList.hcannot add a default template argument to the definition of a member of a class template: [build] 279:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25:template > [build] error: ^ ~~~~~~~~~~~~~~~~~~~ [build] cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h::484267::2525:: errorerror: : cannot add a default template argument to the definition of a member of a class template/newton-dynamics/newton-4.00/sdk/dCore/dList.hcannot add a default template argument to the definition of a member of a class template [build] [build] :307:25: error: cannot add a default template argument to the definition of a member of a class template [build] template >template > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:template >307 [build] : ^ ~~~~~~~~~~~~~~~~~~~25 [build] : error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273template >: [build] 25: ^ ~~~~~~~~~~~~~~~~~~~ [build] error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:template >506: [build] 25 ^ ~~~~~~~~~~~~~~~~~~~: [build] error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25: errortemplate >: /newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] cannot add a default template argument to the definition of a member of a class template ^ ~~~~~~~~~~~~~~~~~~~ [build] : [build] 326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template >In file included from In file included from 2/newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h warning:/newton-dynamics/newton-4.00/sdk/dCollision/ndSceneMixed.cpp/newton-dynamics/newton-4.00/sdk/dCollision/ndBodyKinematic.cpp:s:285: and 346::52820:232523 error25::: [build] s:: [build] 25 generated :In file included from In file included from errorerror. [build] /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h: : /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.herror:cannot add a default template argument to the definition of a member of a class template:cannot add a default template argument to the definition of a member of a class template [build] : 2530 [build] : [build] : [build] cannot add a default template argument to the definition of a member of a class templateIn file included from /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h [build] /newton-dynamics/newton-4.00/sdk/dCore/dCore.h::213:2710: [build] :/newton-dynamics/newton-4.00/sdk/dCore/dList.h :warning247: :25'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined]: [build] error: cannot add a default template argument to the definition of a member of a class template [build] template >template > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:153: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContact.cpp.o' failed [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:205: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndScene.cpp.o' failed [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:127: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndCollisionStdafx.cpp.o' failed [build] template >template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:209:11: note: previous definition is here [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: cannot add a default template argument to the definition of a member of a class template [build] #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] ^ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h::542346::2525:: error : errorcannot add a default template argument to the definition of a member of a class template: [build] cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] :368template >: [build] 25 ^ ~~~~~~~~~~~~~~~~~~~: [build] error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: cannot add a default template argument to the definition of a member of a class template/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] template >: [build] 261 ^ ~~~~~~~~~~~~~~~~~~~: [build] 25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] :387:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326/newton-dynamics/newton-4.00/sdk/dCore/dList.h:25::368template > : [build] error25: ^ ~~~~~~~~~~~~~~~~~~~: [build] cannot add a default template argument to the definition of a member of a class templateerror [build] : template >cannot add a default template argument to the definition of a member of a class template [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:273:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > /newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] :406:25: error: /newton-dynamics/newton-4.00/sdk/dCore/dList.htemplate >: [build] cannot add a default template argument to the definition of a member of a class template387 [build] ^ ~~~~~~~~~~~~~~~~~~~:25 [build] : error: cannot add a default template argument to the definition of a member of a class template [build] template >/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] ^ ~~~~~~~~~~~~~~~~~~~: [build] 346:25template >: [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] error: cannot add a default template argument to the definition of a member of a class template [build] 2In file included from In file included from /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.hmake[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndCollisionStdafx.cpp.o] Error 1 [build] 2 [build] warnings and 20fatal error:: error/newton-dynamics/newton-4.00/sdk/dCollision/ndBodyNotify.cpp/newton-dynamics/newton-4.00/sdk/dCollision/ndSceneMixed.cpp446s warning406 generated::: ^ ~~~~~~~~~~~~~~~~~~~s: . [build] 2525 [build] :24: and too many errors emitted, stopping now [-ferror-limit=] : [build] : [build] error20error: : In file included from error22cannot add a default template argument to the definition of a member of a class templatecannot add a default template argument to the definition of a member of a class template [build] s/newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.h: [build] [build] : generatedIn file included from 30. [build] /newton-dynamics/newton-4.00/sdk/dCore/dCoreStdafx.h: [build] :In file included from 25/newton-dynamics/newton-4.00/sdk/dCore/dCore.h: [build] :27/newton-dynamics/newton-4.00/sdk/dCore/dTypes.h: [build] :213/newton-dynamics/newton-4.00/sdk/dCore/dList.h::10247:: template >25 [build] warning ^ ~~~~~~~~~~~~~~~~~~~template >: [build] [build] : ^ ~~~~~~~~~~~~~~~~~~~'D_MSV_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined]error [build] : [build] cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] #define D_MSV_NEWTON_ALIGN_32 D_MSV_NEWTON_ALIGN_16 [build] ^ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:210:11: note: previous definition is here [build] #define D_MSV_NEWTON_ALIGN_32 [build] ^ [build] /newton-dynamics/newton-4.00/sdk/dCore/dTypes.h:214:10: warning: 'D_GCC_NEWTON_ALIGN_32' macro redefined [-Wmacro-redefined] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: #define D_GCC_NEWTON_ALIGN_32 D_GCC_NEWTON_ALIGN_16 [build] error ^: [build] cannot add a default template argument to the definition of a member of a class template/newton-dynamics/newton-4.00/sdk/dCore/dTypes.h [build] :209:11: note: previous definition is here [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255template >: [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] 25: #define D_GCC_NEWTON_ALIGN_32 __attribute__((aligned (32))) [build] error: ^cannot add a default template argument to the definition of a member of a class template [build] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:261:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.htemplate >: [build] 484template >: ^ ~~~~~~~~~~~~~~~~~~~25 [build] : [build] error: ^ ~~~~~~~~~~~~~~~~~~~cannot add a default template argument to the definition of a member of a class template [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:/newton-dynamics/newton-4.00/sdk/dCore/dList.h:25307:: 25:error : errorcannot add a default template argument to the definition of a member of a class template: [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.hcannot add a default template argument to the definition of a member of a class template [build] :307:25: error: /newton-dynamics/newton-4.00/sdk/dCore/dList.hcannot add a default template argument to the definition of a member of a class template: [build] 506:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] template > ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template >template > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:/newton-dynamics/newton-4.00/sdk/dCore/dList.h273::25528::25: errorerror: : cannot add a default template argument to the definition of a member of a class template [build] cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] :326:25: template >error [build] : ^ ~~~~~~~~~~~~~~~~~~~cannot add a default template argument to the definition of a member of a class template [build] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h::387326:25::25 error:: cannot add a default template argument to the definition of a member of a class template [build] error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~template > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25template > [build] : ^ ~~~~~~~~~~~~~~~~~~~ [build] error: cannot add a default template argument to the definition of a member of a class template/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] :406:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h:/newton-dynamics/newton-4.00/sdk/dCore/dList.h553::::44634644625::::2525:25 :error:error : : cannot add a default template argument to the definition of a member of a class templateerrorcannot add a default template argument to the definition of a member of a class template [build] error: [build] : cannot add a default template argument to the definition of a member of a class template [build] cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~template > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h ^ ~~~~~~~~~~~~~~~~~~~:484:25 [build] : error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~/newton-dynamics/newton-4.00/sdk/dCore/dList.h [build] :506:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25:template > [build] ^ ~~~~~~~~~~~~~~~~~~~error [build] : cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:/newton-dynamics/newton-4.00/sdk/dCore/dList.h25: :error: cannot add a default template argument to the definition of a member of a class template484 [build] :25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: template >error [build] : ^ ~~~~~~~~~~~~~~~~~~~cannot add a default template argument to the definition of a member of a class template [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: /newton-dynamics/newton-4.00/sdk/dCore/dList.hcannot add a default template argument to the definition of a member of a class template: [build] 506:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: errortemplate >template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] : ^ ~~~~~~~~~~~~~~~~~~~cannot add a default template argument to the definition of a member of a class template [build] [build] template >fatal error: [build] too many errors emitted, stopping now [-ferror-limit=] ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:346:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:template > 25 [build] : ^ ~~~~~~~~~~~~~~~~~~~ [build] error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: error/newton-dynamics/newton-4.00/sdk/dCore/dList.h: :cannot add a default template argument to the definition of a member of a class template [build] 506:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: template >error [build] : ^ ~~~~~~~~~~~~~~~~~~~cannot add a default template argument to the definition of a member of a class template [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:506:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:25:make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndSceneNode.cpp.o] Error 1 [build] In file included from make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndConstraint.cpp.o] Error 1 [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCollision/ndBodyNotify.cpp::34623:25: [build] : In file included from /newton-dynamics/newton-4.00/sdk/dCollision/ndCollisionStdafx.herror:: 30cannot add a default template argument to the definition of a member of a class template: [build] [build] In file included from /newton-dynamics/newton-4.00/sdk/dCore/dCore.h:27: [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:247:25: error: cannot add a default template argument to the definition of a member of a class template [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:231: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndSceneNode.cpp.o' failed [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:140: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndConstraint.cpp.o' failed [build] errortemplate >: [build] ^ ~~~~~~~~~~~~~~~~~~~cannot add a default template argument to the definition of a member of a class template [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:255:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.htemplate >: [build] 261 ^ ~~~~~~~~~~~~~~~~~~~: [build] 25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25template >: [build] ^ ~~~~~~~~~~~~~~~~~~~error [build] : cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:267:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:387:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h/newton-dynamics/newton-4.00/sdk/dCore/dList.h::273553::2525:: errortemplate >: error: cannot add a default template argument to the definition of a member of a class template [build] cannot add a default template argument to the definition of a member of a class template [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~template > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:279:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:406:25: error: cannot add a default template argument to the definition of a member of a class templatetemplate > [build] fatal error [build] : too many errors emitted, stopping now [-ferror-limit=] ^ ~~~~~~~~~~~~~~~~~~~ [build] [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:285:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:307:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:326:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:346:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:368:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:5062/newton-dynamics/newton-4.00/sdk/dCore/dList.h: warnings and 25:20: error387s : generatederror25: . [build] :cannot add a default template argument to the definition of a member of a class template [build] error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:25: error: /newton-dynamics/newton-4.00/sdk/dCore/dList.hcannot add a default template argument to the definition of a member of a class template [build] :406:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:446:25: error: cannot add a default template argument to the definition of a member of a class templatetemplate > [build] [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:484:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:506:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:528:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:542:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] /newton-dynamics/newton-4.00/sdk/dCore/dList.h:553:25: error: cannot add a default template argument to the definition of a member of a class template [build] template > [build] ^ ~~~~~~~~~~~~~~~~~~~ [build] fatal error: too many errors emitted, stopping now [-ferror-limit=] [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyTriggerVolume.cpp.o] Error 1 [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:114: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyTriggerVolume.cpp.o' failed [build] 2 warnings and 20 errors generated. [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:62: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBody.cpp.o' failed [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBody.cpp.o] Error 1 [build] 2 warnings and 20 errors generated. [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:192: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndJointBilateralConstraint.cpp.o' failed [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndJointBilateralConstraint.cpp.o] Error 1 [build] 2 warnings and 20 errors generated. [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:166: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContactList.cpp.o' failed [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContactList.cpp.o] Error 1 [build] 2 warnings and 20 errors generated. [build] 2 warnings and 20 errors generated. [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:101: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyPlayerCapsule.cpp.o' failed [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyPlayerCapsule.cpp.o] Error 1 [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:179: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContactSolver.cpp.o' failed [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndContactSolver.cpp.o] Error 1 [build] 2 warnings and 20 errors generated. [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:88: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyNotify.cpp.o' failed [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyNotify.cpp.o] Error 1 [build] 2 warnings and 20 errors generated. [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:218: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndSceneMixed.cpp.o' failed [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndSceneMixed.cpp.o] Error 1 [build] 2 warnings and 20 errors generated. [build] newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/build.make:75: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyKinematic.cpp.o' failed [build] CMakeFiles/Makefile2:2855: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/all' failed [build] CMakeFiles/Makefile2:2862: recipe for target 'newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/rule' failed [build] make[3]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/dCollision/ndBodyKinematic.cpp.o] Error 1 [build] make[2]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/all] Error 2 [build] make[1]: *** [newton-dynamics/newton-4.00/sdk/CMakeFiles/ndNewton.dir/rule] Error 2 [build] make: *** [ndNewton] Error 2 [build] Makefile:879: recipe for target 'ndNewton' failed [build] Build finished with exit code 2 ```

Static Lib Newton 3.14 compiles fine on my system.