Moderators: Sascha Willems, walaber
by lperkins2 » Wed Sep 12, 2018 1:23 am
So, can you post what changes you made to the cmake files to get that far? I still can't get cmake to run properly.
This video show step by step what I do to get it run with cmake.
It currently don't work right with cmake, It is just some first try.
https://www.youtube.com/watch?v=tZPrH278TJg
DG_INLINE dgInt32 GetInt(dgInt32 i) const
{
dgAssert (i >= 0);
dgAssert(i < DG_WORK_GROUP_SIZE);
const dgInt32* const ptr = m_low.m_i;
return ptr[i];
}
DG_INLINE void SetInt(dgInt32 i, dgInt32 value)
{
dgAssert(i >= 0);
dgAssert(i < DG_WORK_GROUP_SIZE);
dgInt32* const ptr = m_low.m_i;
ptr[i] = value;
}
../../dgPhysics/dgWorldDynamicsParallelSolver.h: In member function ‘dgFloat32& dgWorkGroupFloat::operator[](dgInt32)’:
../../dgPhysics/dgWorldDynamicsParallelSolver.h:84:32: error: ‘class dgVector’ has no member named ‘m_f’
dgFloat32* const ptr = m_low.m_f;
^~~
../../dgPhysics/dgWorldDynamicsParallelSolver.h: In member function ‘const dgFloat32& dgWorkGroupFloat::operator[](dgInt32) const’:
../../dgPhysics/dgWorldDynamicsParallelSolver.h:92:38: error: ‘const class dgVector’ has no member named ‘m_f’
const dgFloat32* const ptr = m_low.m_f;
DG_INLINE dgFloat32& operator[] (dgInt32 i)
{
dgAssert(i >= 0);
dgAssert(i < DG_WORK_GROUP_SIZE);
dgFloat32* const ptr = m_low.m_f;
return ptr[i];
}
/usr/lib/gcc/x86_64-linux-gnu/7/include/pmmintrin.h: In member function ‘dgVector dgVector::AddHorizontal() const’:
/usr/lib/gcc/x86_64-linux-gnu/7/include/pmmintrin.h:56:1: error: inlining failed in call to always_inline ‘__m128 _mm_hadd_ps(__m128, __m128)’: target specific option mismatch
_mm_hadd_ps (__m128 __X, __m128 __Y)
^~~~~~~~~~~
Slick wrote:I am not an expert but it looks like a files and folder permission problem. In file browser right click on a few files and check permissions. You may want to use command line chmod to change if needed.
Users browsing this forum: No registered users and 3 guests