- Code: Select all
CMake Error at packages/CMakeLists.txt:11 (add_subdirectory):
The source directory
C:/Documents and Settings/Ztatik Oh Light/Desktop/Hexer/libs/newton/newton-dynamics-read-only/packages/dAILibrary
does not contain a CMakeLists.txt file.
CMake Error at packages/CMakeLists.txt:12 (add_subdirectory):
The source directory
C:/Documents and Settings/Ztatik Oh Light/Desktop/Hexer/libs/newton/newton-dynamics-read-only/packages/dAnimation
does not contain a CMakeLists.txt file.
CMake Error at packages/CMakeLists.txt:13 (add_subdirectory):
The source directory
C:/Documents and Settings/Ztatik Oh Light/Desktop/Hexer/libs/newton/newton-dynamics-read-only/packages/dContainers
does not contain a CMakeLists.txt file.
CMake Error at packages/CMakeLists.txt:14 (add_subdirectory):
The source directory
C:/Documents and Settings/Ztatik Oh Light/Desktop/Hexer/libs/newton/newton-dynamics-read-only/packages/dCustomJoints
does not contain a CMakeLists.txt file.
CMake Error at packages/CMakeLists.txt:16 (add_subdirectory):
The source directory
C:/Documents and Settings/Ztatik Oh Light/Desktop/Hexer/libs/newton/newton-dynamics-read-only/packages/dNewton
does not contain a CMakeLists.txt file.
CMake Error at packages/CMakeLists.txt:17 (add_subdirectory):
The source directory
C:/Documents and Settings/Ztatik Oh Light/Desktop/Hexer/libs/newton/newton-dynamics-read-only/packages/dScene
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
What i'm saying is that you don't have a mingw project in /windows/ ...only VS?
I tried changing _POSIX_VER to _MINGW_32_VER and get this:
- Code: Select all
../../source/core/dgAABBPolygonSoup.cpp:1:0: warning: -fpic ignored for target (all code is position independent) [enabled by default]
In file included from ../../source/core/dgStdafx.h:25:0,
from ../../source/core/dgAABBPolygonSoup.cpp:22:
../../source/core/dgTypes.h: In function 'dgInt32 dgAtomicExchangeAndAdd(dgInt32*, dgInt32)':
../../source/core/dgTypes.h:765:63: error: '_InterlockedExchangeAdd' was not declared in this scope
../../source/core/dgTypes.h: In function 'dgInt32 dgInterlockedExchange(dgInt32*, dgInt32)':
../../source/core/dgTypes.h:777:49: error: '_InterlockedExchange' was not declared in this scope
../../source/core/dgTypes.h: In function 'void PrefetchMem(const void*)':
../../source/core/dgTypes.h:794:35: error: '_MM_HINT_T0' was not declared in this scope
../../source/core/dgTypes.h:794:46: error: '_mm_prefetch' was not declared in this scope
In file included from ../../source/core/dgMatrix.h:28:0,
from ../../source/core/dgAABBPolygonSoup.cpp:26:
../../source/core/dgVector.h: At global scope:
../../source/core/dgVector.h:599:27: error: '__m128' does not name a type
../../source/core/dgVector.h:599:34: error: ISO C++ forbids declaration of 'type' with no type [-fpermissive]
../../source/core/dgVector.h:604:27: error: '__m128i' does not name a type
../../source/core/dgVector.h:604:35: error: ISO C++ forbids declaration of 'type' with no type [-fpermissive]
../../source/core/dgVector.h:604:12: error: 'dgVector::dgVector(int)' cannot be overloaded
../../source/core/dgVector.h:599:12: error: with 'dgVector::dgVector(int)'
../../source/core/dgVector.h:930:3: error: '__m128' does not name a type
../../source/core/dgVector.h:931:3: error: '__m128i' does not name a type
../../source/core/dgVector.h: In constructor 'dgVector::dgVector(int)':
../../source/core/dgVector.h:600:4: error: class 'dgVector' does not have any field named 'm_type'
../../source/core/dgVector.h: In constructor 'dgVector::dgVector(int)':
../../source/core/dgVector.h:605:4: error: class 'dgVector' does not have any field named 'm_typeInt'
../../source/core/dgVector.h: In constructor 'dgVector::dgVector(dgFloat32)':
../../source/core/dgVector.h:610:5: error: class 'dgVector' does not have any field named 'm_type'
../../source/core/dgVector.h:610:25: error: '_mm_set_ps1' was not declared in this scope
../../source/core/dgVector.h: In constructor 'dgVector::dgVector(const dgFloat32*)':
../../source/core/dgVector.h:615:4: error: class 'dgVector' does not have any field named 'm_type'
../../source/core/dgVector.h:615:28: error: '_mm_loadu_ps' was not declared in this scope
../../source/core/dgVector.h:617:3: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:617:46: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:617:52: error: '_mm_and_ps' was not declared in this scope
../../source/core/dgVector.h: In copy constructor 'dgVector::dgVector(const dgVector&)':
../../source/core/dgVector.h:621:4: error: class 'dgVector' does not have any field named 'm_type'
../../source/core/dgVector.h:621:16: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h: In constructor 'dgVector::dgVector(const dgBigVector&)':
../../source/core/dgVector.h:627:4: error: class 'dgVector' does not have any field named 'm_type'
../../source/core/dgVector.h:627:108: error: '_mm_set_ps' was not declared in this scope
../../source/core/dgVector.h: In constructor 'dgVector::dgVector(dgFloat32, dgFloat32, dgFloat32, dgFloat32)':
../../source/core/dgVector.h:632:4: error: class 'dgVector' does not have any field named 'm_type'
../../source/core/dgVector.h:632:32: error: '_mm_set_ps' was not declared in this scope
../../source/core/dgVector.h: In constructor 'dgVector::dgVector(dgInt32, dgInt32, dgInt32, dgInt32)':
../../source/core/dgVector.h:637:4: error: class 'dgVector' does not have any field named 'm_type'
../../source/core/dgVector.h:637:92: error: '_mm_set_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::Scale3(dgFloat32) const':
../../source/core/dgVector.h:645:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:645:34: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:645:40: error: '_mm_mul_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::Scale4(dgFloat32) const':
../../source/core/dgVector.h:650:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:650:43: error: '_mm_set_ps1' was not declared in this scope
../../source/core/dgVector.h:650:44: error: '_mm_mul_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator+(const dgVector&) const':
../../source/core/dgVector.h:670:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:670:32: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:670:38: error: '_mm_add_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator-(const dgVector&) const':
../../source/core/dgVector.h:676:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:676:32: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:676:38: error: '_mm_sub_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector& dgVector::operator+=(const dgVector&)':
../../source/core/dgVector.h:681:31: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:681:41: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:681:47: error: '_mm_add_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector& dgVector::operator-=(const dgVector&)':
../../source/core/dgVector.h:686:31: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:686:41: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:686:47: error: '_mm_sub_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator*(const dgVector&) const':
../../source/core/dgVector.h:713:50: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:713:66: error: '_MM_SHUFFLE' was not declared in this scope
../../source/core/dgVector.h:713:89: error: '_mm_shuffle_ps' was not declared in this scope
../../source/core/dgVector.h:713:110: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:713:120: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:713:152: error: '_mm_mul_ps' was not declared in this scope
../../source/core/dgVector.h:714:98: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:714:108: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:714:141: error: '_mm_sub_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::CompProduct3(const dgVector&) const':
../../source/core/dgVector.h:760:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:760:34: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:760:40: error: '_mm_mul_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::Reciproc() const':
../../source/core/dgVector.h:765:28: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:765:36: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:765:42: error: '_mm_div_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::CompProduct4(const dgVector&) const':
../../source/core/dgVector.h:771:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:771:32: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:771:38: error: '_mm_mul_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::AddHorizontal() const':
../../source/core/dgVector.h:776:30: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:776:44: error: '_mm_hadd_ps' was not declared in this scope
../../source/core/dgVector.h:777:27: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:777:39: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h: In member function 'dgVector dgVector::Abs() const':
../../source/core/dgVector.h:784:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:784:41: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:784:47: error: '_mm_and_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::GetMax(const dgVector&) const':
../../source/core/dgVector.h:789:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:789:35: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:789:41: error: '_mm_max_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::GetMin(const dgVector&) const':
../../source/core/dgVector.h:794:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:794:35: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:794:41: error: '_mm_min_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgInt32 dgVector::GetInt() const':
../../source/core/dgVector.h:799:25: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:799:31: error: '_mm_cvtss_si32' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::TestZero() const':
../../source/core/dgVector.h:804:27: error: 'm_typeInt' was not declared in this scope
../../source/core/dgVector.h:804:66: error: 'class dgVector' has no member named 'm_typeInt'
../../source/core/dgVector.h:804:75: error: '_mm_cmpeq_epi32' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::Floor() const':
../../source/core/dgVector.h:810:39: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:810:52: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:810:58: error: '_mm_add_ps' was not declared in this scope
../../source/core/dgVector.h:810:66: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:810:72: error: '_mm_sub_ps' was not declared in this scope
../../source/core/dgVector.h:811:46: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:811:52: error: '_mm_cmplt_ps' was not declared in this scope
../../source/core/dgVector.h:812:25: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:812:59: error: '_mm_set_ps1' was not declared in this scope
../../source/core/dgVector.h:812:69: error: 'class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:812:75: error: '_mm_and_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::InvSqrt() const':
../../source/core/dgVector.h:823:31: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:823:37: error: '_mm_rsqrt_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator>(const dgVector&) const':
../../source/core/dgVector.h:836:24: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:836:37: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:836:43: error: '_mm_cmpgt_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator==(const dgVector&) const':
../../source/core/dgVector.h:841:24: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:841:37: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:841:43: error: '_mm_cmpeq_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator<(const dgVector&) const':
../../source/core/dgVector.h:846:24: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:846:37: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:846:43: error: '_mm_cmplt_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator>=(const dgVector&) const':
../../source/core/dgVector.h:851:24: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:851:37: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:851:43: error: '_mm_cmpge_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator<=(const dgVector&) const':
../../source/core/dgVector.h:856:24: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:856:37: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:856:43: error: '_mm_cmple_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator&(const dgVector&) const':
../../source/core/dgVector.h:862:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:862:35: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:862:41: error: '_mm_and_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator|(const dgVector&) const':
../../source/core/dgVector.h:867:21: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:867:34: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:867:40: error: '_mm_or_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator^(const dgVector&) const':
../../source/core/dgVector.h:872:22: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:872:35: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:872:41: error: '_mm_xor_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::AndNot(const dgVector&) const':
../../source/core/dgVector.h:877:30: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:877:38: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:877:44: error: '_mm_andnot_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgInt32 dgVector::GetSignMask() const':
../../source/core/dgVector.h:882:26: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:882:32: error: '_mm_movemask_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::ShiftTripleRight() const':
../../source/core/dgVector.h:887:25: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:887:41: error: '_MM_SHUFFLE' was not declared in this scope
../../source/core/dgVector.h:887:64: error: '_mm_shuffle_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::MoveLow(const dgVector&) const':
../../source/core/dgVector.h:893:25: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:893:38: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:893:44: error: '_mm_movelh_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::MoveHigh(const dgVector&) const':
../../source/core/dgVector.h:898:25: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:898:38: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:898:44: error: '_mm_movehl_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::PackLow(const dgVector&) const':
../../source/core/dgVector.h:903:27: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:903:40: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:903:46: error: '_mm_unpacklo_ps' was not declared in this scope
../../source/core/dgVector.h: In member function 'dgVector dgVector::PackHigh(const dgVector&) const':
../../source/core/dgVector.h:908:27: error: 'm_type' was not declared in this scope
../../source/core/dgVector.h:908:40: error: 'const class dgVector' has no member named 'm_type'
../../source/core/dgVector.h:908:46: error: '_mm_unpackhi_ps' was not declared in this scope
In file included from ../../source/core/dgAABBPolygonSoup.cpp:27:0:
../../source/core/dgAABBPolygonSoup.h: In constructor 'dgAABBPolygonSoup::dgNode::dgNode()':
../../source/core/dgAABBPolygonSoup.h:99:17: warning: passing NULL to non-pointer argument 1 of 'dgAABBPolygonSoup::dgNode::dgLeafNodePtr::dgLeafNodePtr(dgUnsigned32)' [-Wconversion-null]
../../source/core/dgAABBPolygonSoup.h:99:17: warning: passing NULL to non-pointer argument 1 of 'dgAABBPolygonSoup::dgNode::dgLeafNodePtr::dgLeafNodePtr(dgUnsigned32)' [-Wconversion-null]
In file included from ../../source/core/dgMatrix.h:28:0,
from ../../source/core/dgAABBPolygonSoup.cpp:26:
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator>=(const dgVector&) const':
../../source/core/dgVector.h:852:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator<=(const dgVector&) const':
../../source/core/dgVector.h:857:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgInt32 dgVector::GetSignMask() const':
../../source/core/dgVector.h:883:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator-(const dgVector&) const':
../../source/core/dgVector.h:677:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::CompProduct4(const dgVector&) const':
../../source/core/dgVector.h:772:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::GetMax(const dgVector&) const':
../../source/core/dgVector.h:790:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::ShiftTripleRight() const':
../../source/core/dgVector.h:888:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::GetMin(const dgVector&) const':
../../source/core/dgVector.h:795:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator<(const dgVector&) const':
../../source/core/dgVector.h:847:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::AndNot(const dgVector&) const':
../../source/core/dgVector.h:878:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator&(const dgVector&) const':
../../source/core/dgVector.h:863:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator|(const dgVector&) const':
../../source/core/dgVector.h:868:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator+(const dgVector&) const':
../../source/core/dgVector.h:671:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::AddHorizontal() const':
../../source/core/dgVector.h:778:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::operator*(const dgVector&) const':
../../source/core/dgVector.h:716:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::Scale4(dgFloat32) const':
../../source/core/dgVector.h:651:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::Abs() const':
../../source/core/dgVector.h:785:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::Reciproc() const':
../../source/core/dgVector.h:766:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector& dgVector::operator-=(const dgVector&)':
../../source/core/dgVector.h:687:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector& dgVector::operator+=(const dgVector&)':
../../source/core/dgVector.h:682:2: warning: control reaches end of non-void function [-Wreturn-type]
../../source/core/dgVector.h: In member function 'dgVector dgVector::Scale3(dgFloat32) const':
../../source/core/dgVector.h:646:2: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [../../source/core/dgAABBPolygonSoup.o] Error 1