VS2005 Windows 7 build errors

Post Reply
Kuroyume
Posts: 6
Joined: Tue Feb 19, 2013 10:14 pm

VS2005 Windows 7 build errors

Post by Kuroyume »

Hello all,

This is my first foray into using the Bullet Physics Library.

I recently downloaded Bullet 2.81 (rev 2613), unzipped it to a path with no spaces, opened the build/vs2005 sln in VS2005 SP2, set the configuration to Release (both Win32 and x64 were tried) but I get these show-stopping errors for LinearMath (which appears to cause all of the apps and some of the libs to fail to build). This appears to be related to SSE but I can't find any options in VS to work this out.

ToAdd: Have run the vs2005.bat and set "Enable Enhanced Instruction Set" to no avail.

Code: Select all

1>------ Rebuild All started: Project: LinearMath, Configuration: Release x64 ------
1>Deleting intermediate and output files for project 'LinearMath', configuration 'Release|x64'
1>Compiling...
1>btAlignedAllocator.cpp
1>btVector3.cpp
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(238) : error C3861: '_mm_cvtss_f32': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(349) : error C3861: '_mm_castsi128_ps': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(420) : error C3861: '_mm_cvtss_f32': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(637) : error C3861: '_mm_castsi128_ps': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(715) : error C3861: '_mm_castsi128_ps': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(716) : error C3861: '_mm_castpd_ps': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(716) : error C3861: '_mm_castps_pd': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(716) : error C3861: '_mm_castps_pd': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(775) : error C3861: '_mm_castsi128_ps': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(793) : error C3861: '_mm_castsi128_ps': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(847) : error C3861: '_mm_castsi128_ps': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(956) : error C3861: '_mm_castsi128_ps': identifier not found
1>f:\temp\bullet-2.81-rev2613\src\linearmath\btVector3.h(1102) : error C3861: '_mm_castsi128_ps': identifier not found
1>..\..\src\LinearMath\btVector3.cpp(49) : error C3861: '_mm_castsi128_ps': identifier not found
1>..\..\src\LinearMath\btVector3.cpp(49) : error C3861: '_mm_castps_si128': identifier not found
1>..\..\src\LinearMath\btVector3.cpp(171) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data
1>..\..\src\LinearMath\btVector3.cpp(176) : warning C4267: '-=' : conversion from 'size_t' to 'unsigned long', possible loss of data
1>..\..\src\LinearMath\btVector3.cpp(419) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data
1>..\..\src\LinearMath\btVector3.cpp(434) : error C3861: '_mm_castsi128_ps': identifier not found
1>..\..\src\LinearMath\btVector3.cpp(434) : error C3861: '_mm_castps_si128': identifier not found
1>..\..\src\LinearMath\btVector3.cpp(556) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data
1>..\..\src\LinearMath\btVector3.cpp(561) : warning C4267: '-=' : conversion from 'size_t' to 'unsigned long', possible loss of data
1>..\..\src\LinearMath\btVector3.cpp(807) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data
1>btSerializer.cpp
1>btQuickprof.cpp
1>btPolarDecomposition.cpp
1>..\..\src\LinearMath\btPolarDecomposition.cpp(63) : warning C4244: 'initializing' : conversion from 'double' to 'const btScalar', possible loss of data
1>..\..\src\LinearMath\btPolarDecomposition.cpp(66) : warning C4244: 'argument' : conversion from 'double' to 'const btScalar', possible loss of data
1>btGeometryUtil.cpp
1>btConvexHullComputer.cpp
1>btConvexHull.cpp
1>Generating Code...
1>Build log was saved at "file://f:\Temp\bullet-2.81-rev2613\build\vs2005\obj\x64\Release\LinearMath\BuildLog.htm"
1>LinearMath - 17 error(s), 8 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Thanks,
Robert
Kuroyume
Posts: 6
Joined: Tue Feb 19, 2013 10:14 pm

Re: VS2005 Windows 7 build errors

Post by Kuroyume »

Ok, I see that this bug was fixed a couple months ago with the latest trunk.
Post Reply