I'm trying to build two latest releases of core_300 under my Ubuntu laptop. None of my tries succeeded

Latest errors I got were:
- Code: Select all
errorist@errorist-laptop:~/newton-dynamics-3.08/build$ make
Scanning dependencies of target Newton
[ 0%] Building CXX object CMakeFiles/Newton.dir/coreLibrary_300/source/newton/Newton.cpp.o
In file included from /home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgPlane.h:26:0,
from /home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dg.h:38,
from /home/errorist/newton-dynamics-3.08/coreLibrary_300/source/newton/NewtonStdAfx.h:31,
from /home/errorist/newton-dynamics-3.08/coreLibrary_300/source/newton/Newton.cpp:22:
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:494:27: error: ‘__m128’ does not name a type
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:494:34: error: ISO C++ forbids declaration of ‘type’ with no type [-fpermissive]
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:809:3: error: ‘__m128’ does not name a type
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h: In constructor ‘dgVector::dgVector(int)’:
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:495:4: error: class ‘dgVector’ does not have any field named ‘m_type’
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h: In constructor ‘dgVector::dgVector(dgFloat32)’:
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:500:5: error: class ‘dgVector’ does not have any field named ‘m_type’
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:500:25: error: ‘_mm_set_ps1’ was not declared in this scope
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h: In constructor ‘dgVector::dgVector(const dgFloat32*)’:
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:505:4: error: class ‘dgVector’ does not have any field named ‘m_type’
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:505:28: error: ‘_mm_loadu_ps’ was not declared in this scope
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:507:3: error: ‘m_type’ was not declared in this scope
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:507:46: error: ‘class dgVector’ has no member named ‘m_type’
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:507:52: error: ‘_mm_and_ps’ was not declared in this scope
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h: In copy constructor ‘dgVector::dgVector(const dgVector&)’:
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:511:4: error: class ‘dgVector’ does not have any field named ‘m_type’
/home/errorist/newton-dynamics-3.08/coreLibrary_300/source/core/dgVector.h:511:16: error: ‘const class dgVector’ has no member named ‘m_type’
.......
Fixed that with:
- added #define DG_BUILD_SIMD_CODE to coreLibrary_300/source/core/dgTypes.h
- added -msse3 instead of -msse2 to coreLibrary_300/projects/posix_64/makefile
Then the new error appeared:
- Code: Select all
errorist@errorist-laptop:~/newton-dynamics-3.08/coreLibrary_300/projects/posix64$ make
gcc -c -Wall -Wno-strict-aliasing -DDG_SCALAR_VECTOR_CLASS -D_POSIX_VER -D_POSIX_VER_64 -O2 -fpic -g -msse -msse3 -mfpmath=sse -ffloat-store -ffast-math -freciprocal-math -funsafe-math-optimizations -fsingle-precision-constant -I../../source/core -I../../source/physics -I../../source/meshUtil -I../../source/openCL -I../../source/ai/ -o ../../source/physics/dgDynamicBody.o ../../source/physics/dgDynamicBody.cpp
../../source/physics/dgDynamicBody.cpp: In member function ‘virtual bool dgDynamicBody::IsInEquilibrium() const’:
../../source/physics/dgDynamicBody.cpp:145:57: error: no match for ‘operator<’ in ‘dgTemplateVector<T>::DotProduct4(const dgTemplateVector<T>&) const [with T = float; dgTemplateVector<T> = dgTemplateVector<float>]((*(const dgTemplateVector<float>*)(& forceError.dgVector::<anonymous>))) < dgDynamicBody::m_equilibriumError2’
../../source/physics/dgDynamicBody.cpp:145:120: error: no match for ‘operator<’ in ‘dgTemplateVector<T>::DotProduct4(const dgTemplateVector<T>&) const [with T = float; dgTemplateVector<T> = dgTemplateVector<float>]((*(const dgTemplateVector<float>*)(& torqueError.dgVector::<anonymous>))) < dgDynamicBody::m_equilibriumError2’
../../source/physics/dgDynamicBody.cpp:148:85: error: no match for ‘operator<’ in ‘dgTemplateVector<T>::CompProduct4(const dgTemplateVector<T>&) const [with T = float]((*(const dgTemplateVector<float>*)(& dgTemplateVector<T>::DotProduct4(const dgTemplateVector<T>&) const [with T = float; dgTemplateVector<T> = dgTemplateVector<float>]((* &((const dgDynamicBody*)this)->dgDynamicBody::<anonymous>.dgBody::m_netForce.dgVector::<anonymous>))))) < dgDynamicBody::m_equilibriumError2’
../../source/physics/dgDynamicBody.cpp:148:175: error: no match for ‘operator<’ in ‘dgTemplateVector<T>::CompProduct4(const dgTemplateVector<T>&) const [with T = float]((*(const dgTemplateVector<float>*)(& dgTemplateVector<T>::DotProduct4(const dgTemplateVector<T>&) const [with T = float; dgTemplateVector<T> = dgTemplateVector<float>]((* &((const dgDynamicBody*)this)->dgDynamicBody::<anonymous>.dgBody::m_netTorque.dgVector::<anonymous>))))) < dgDynamicBody::m_equilibriumError2’
../../source/physics/dgDynamicBody.cpp:150:53: error: no match for ‘operator<’ in ‘dgTemplateVector<T>::DotProduct4(const dgTemplateVector<T>&) const [with T = float; dgTemplateVector<T> = dgTemplateVector<float>]((* &((const dgDynamicBody*)this)->dgDynamicBody::<anonymous>.dgBody::m_veloc.dgVector::<anonymous>)) < dgDynamicBody::m_equilibriumError2’
../../source/physics/dgDynamicBody.cpp:150:108: error: no match for ‘operator<’ in ‘dgTemplateVector<T>::DotProduct4(const dgTemplateVector<T>&) const [with T = float; dgTemplateVector<T> = dgTemplateVector<float>]((* &((const dgDynamicBody*)this)->dgDynamicBody::<anonymous>.dgBody::m_omega.dgVector::<anonymous>)) < dgDynamicBody::m_equilibriumError2’
make: *** [../../source/physics/dgDynamicBody.o] Помилка 1
And because i do not know the source architecture, i am afraid i could not fix that bug...
Can you help, Julio?