harrison-lucas / bullet

Automatically exported from code.google.com/p/bullet
Other
0 stars 0 forks source link

Compiling problems on CentOS x64 #605

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Checking out the code from SVN
2.configuring to gcc on centos 5.6 x64
3.make

What is the expected output? What do you see instead?
compiling the code was working in backwards version now produces this error and 
do not compile

/home/codegamer/bullet-read-only/src/BulletCollision/NarrowPhaseCollision/btPers
istentManifold.cpp:1: error: stray ‘\357’ in program
/home/codegamer/bullet-read-only/src/BulletCollision/NarrowPhaseCollision/btPers
istentManifold.cpp:1: error: stray ‘\273’ in program
/home/codegamer/bullet-read-only/src/BulletCollision/NarrowPhaseCollision/btPers
istentManifold.cpp:1: error: stray ‘\277’ in program
make[2]: *** 
[src/BulletCollision/CMakeFiles/BulletCollision.dir/NarrowPhaseCollision/btPersi
stentManifold.o] Error 1
make[1]: *** [src/BulletCollision/CMakeFiles/BulletCollision.dir/all] Error 2

What version of the product are you using? On what operating system?
URL: http://bullet.googlecode.com/svn/trunk
Repository Root: http://bullet.googlecode.com/svn
Repository UUID: 08e121b0-ae19-0410-a57b-3be3395fd4fd
Revision: 2528
Node Kind: directory
Schedule: normal
Last Changed Author: erwin.coumans
Last Changed Rev: 2528
Last Changed Date: 2012-03-05 20:38:36 -0300 (Mon, 05 Mar 2012)

On CentOS 5.6 x64 on a intel machine

ded

Please provide any additional information below.

dded

dasdas

Original issue reported on code.google.com by mnunes...@gmail.com on 9 Mar 2012 at 9:41

GoogleCodeExporter commented 9 years ago
I have no idea how this file ever got into the UTF-8 format, but I converted it 
to ascii so it should be fixed.

Can you confirm?

Original comment by erwin.coumans on 12 Mar 2012 at 6:44

GoogleCodeExporter commented 9 years ago
Shure, updated and here the result

[  4%] Built target LinearMath
[ 15%] Built target BulletDynamics
[ 16%] Building CXX object 
src/BulletCollision/CMakeFiles/BulletCollision.dir/NarrowPhaseCollision/btPersis
tentManifold.o
[ 17%] Building CXX object 
src/BulletCollision/CMakeFiles/BulletCollision.dir/NarrowPhaseCollision/btRaycas
tCallback.o
[ 17%] Building CXX object 
src/BulletCollision/CMakeFiles/BulletCollision.dir/NarrowPhaseCollision/btSubSim
plexConvexCast.o
[ 18%] Building CXX object 
src/BulletCollision/CMakeFiles/BulletCollision.dir/NarrowPhaseCollision/btVorono
iSimplexSolver.o
[ 18%] Building CXX object 
src/BulletCollision/CMakeFiles/BulletCollision.dir/NarrowPhaseCollision/btPolyhe
dralContactClipping.o
Linking CXX static library libBulletCollision.a
[ 68%] Built target BulletCollision
[ 68%] Building CXX object 
Demos/HelloWorld/CMakeFiles/AppHelloWorld.dir/HelloWorld.o
Linking CXX executable AppHelloWorld
[ 68%] Built target AppHelloWorld
[ 69%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/bestfitobb.o
[ 69%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/ConvexBuilder.o
[ 70%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/cd_wavefront.o
[ 70%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/fitsphere.o
[ 71%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/meshvolume.o
[ 72%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/raytri.o
[ 72%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/vlookup.o
[ 73%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/bestfit.o
[ 73%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/cd_hull.o
[ 74%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/ConvexDecompositio
n.o
[ 74%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/concavity.o
[ 75%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/float_math.o
[ 76%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/planetri.o
[ 76%] Building CXX object 
Extras/ConvexDecomposition/CMakeFiles/ConvexDecomposition.dir/splitplane.o
Linking CXX static library libConvexDecomposition.a
[ 76%] Built target ConvexDecomposition
[ 77%] Building CXX object Extras/HACD/CMakeFiles/HACD.dir/hacdGraph.o
In file included from 
/home/codegamer/bullet-read-only/Extras/HACD/hacdGraph.h:18,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdGraph.cpp:15:
/home/codegamer/bullet-read-only/Extras/HACD/hacdVersion.h:20:7: warning: no 
newline at end of file
In file included from 
/home/codegamer/bullet-read-only/Extras/HACD/hacdVector.h:66,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdGraph.h:19,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdGraph.cpp:15:
/home/codegamer/bullet-read-only/Extras/HACD/hacdVector.inl:178:25: warning: no 
newline at end of file
[ 77%] Building CXX object Extras/HACD/CMakeFiles/HACD.dir/hacdHACD.o
In file included from 
/home/codegamer/bullet-read-only/Extras/HACD/hacdGraph.h:18,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdHACD.cpp:20:
/home/codegamer/bullet-read-only/Extras/HACD/hacdVersion.h:20:7: warning: no 
newline at end of file
In file included from 
/home/codegamer/bullet-read-only/Extras/HACD/hacdVector.h:66,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdGraph.h:19,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdHACD.cpp:20:
/home/codegamer/bullet-read-only/Extras/HACD/hacdVector.inl:178:25: warning: no 
newline at end of file
[ 78%] Building CXX object Extras/HACD/CMakeFiles/HACD.dir/hacdICHull.o
In file included from 
/home/codegamer/bullet-read-only/Extras/HACD/hacdICHull.h:18,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdICHull.cpp:15:
/home/codegamer/bullet-read-only/Extras/HACD/hacdVersion.h:20:7: warning: no 
newline at end of file
In file included from 
/home/codegamer/bullet-read-only/Extras/HACD/hacdVector.h:66,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdManifoldMesh.h:37,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdICHull.h:19,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdICHull.cpp:15:
/home/codegamer/bullet-read-only/Extras/HACD/hacdVector.inl:178:25: warning: no 
newline at end of file
[ 79%] Building CXX object Extras/HACD/CMakeFiles/HACD.dir/hacdManifoldMesh.o
In file included from 
/home/codegamer/bullet-read-only/Extras/HACD/hacdManifoldMesh.h:35,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdManifoldMesh.cpp:15:
/home/codegamer/bullet-read-only/Extras/HACD/hacdVersion.h:20:7: warning: no 
newline at end of file
In file included from 
/home/codegamer/bullet-read-only/Extras/HACD/hacdVector.h:66,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdManifoldMesh.h:37,
                 from /home/codegamer/bullet-read-only/Extras/HACD/hacdManifoldMesh.cpp:15:
/home/codegamer/bullet-read-only/Extras/HACD/hacdVector.inl:178:25: warning: no 
newline at end of file
Linking CXX static library libHACD.a
[ 79%] Built target HACD
[ 79%] Building CXX object 
Extras/GIMPACTUtils/CMakeFiles/GIMPACTUtils.dir/btGImpactConvexDecompositionShap
e.o
Linking CXX static library libGIMPACTUtils.a
[ 79%] Built target GIMPACTUtils
[ 80%] Building CXX object 
Extras/Serialize/BulletFileLoader/CMakeFiles/BulletFileLoader.dir/bChunk.o
[ 80%] Building CXX object 
Extras/Serialize/BulletFileLoader/CMakeFiles/BulletFileLoader.dir/bDNA.o
[ 81%] Building CXX object 
Extras/Serialize/BulletFileLoader/CMakeFiles/BulletFileLoader.dir/bFile.o
[ 81%] Building CXX object 
Extras/Serialize/BulletFileLoader/CMakeFiles/BulletFileLoader.dir/btBulletFile.o
/home/codegamer/bullet-read-only/Extras/Serialize/BulletFileLoader/btBulletFile.
cpp:401:2: warning: no newline at end of file
Linking CXX static library libBulletFileLoader.a
[ 81%] Built target BulletFileLoader
[ 82%] Building CXX object 
Extras/Serialize/BulletWorldImporter/CMakeFiles/BulletWorldImporter.dir/btBullet
WorldImporter.o
Linking CXX static library libBulletWorldImporter.a
[ 82%] Built target BulletWorldImporter
[ 83%] Building CXX object src/MiniCL/CMakeFiles/MiniCL.dir/MiniCL.o
[ 83%] Building CXX object 
src/MiniCL/CMakeFiles/MiniCL.dir/MiniCLTaskScheduler.o
[ 84%] Building CXX object 
src/MiniCL/CMakeFiles/MiniCL.dir/MiniCLTask/MiniCLTask.o
Linking CXX static library libMiniCL.a
[ 84%] Built target MiniCL
[ 84%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuFakeDma.o
[ 85%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuLibspe2Support.o
[ 86%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/btThreadSupportInterf
ace.o
[ 86%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/Win32ThreadSupport.o
[ 87%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/PosixThreadSupport.o
[ 87%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SequentialThreadSuppo
rt.o
[ 88%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuSampleTaskProcess.
o
[ 88%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuCollisionObjectWra
pper.o
[ 89%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuCollisionTaskProce
ss.o
[ 90%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuGatheringCollision
Dispatcher.o
[ 90%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuContactManifoldCol
lisionAlgorithm.o
[ 91%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/btParallelConstraintS
olver.o
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/btParallelConstraintSol
ver.cpp:18:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/btParallelConstraintSol
ver.h:285:43: warning: no newline at end of file
[ 91%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuNarrowPhaseCollisi
onTask/boxBoxDistance.o
[ 92%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuNarrowPhaseCollisi
onTask/SpuContactResult.o
[ 93%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuNarrowPhaseCollisi
onTask/SpuMinkowskiPenetrationDepthSolver.o
[ 93%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuNarrowPhaseCollisi
onTask/SpuGatheringCollisionTask.o
[ 94%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/SpuNarrowPhaseCollisi
onTask/SpuCollisionShapes.o
[ 94%] Building CXX object 
src/BulletMultiThreaded/CMakeFiles/BulletMultiThreaded.dir/btGpu3DGridBroadphase
.o
Linking CXX static library libBulletMultiThreaded.a
[ 94%] Built target BulletMultiThreaded
[ 95%] Building CXX object 
src/BulletSoftBody/CMakeFiles/BulletSoftBody.dir/btSoftBody.o
[ 95%] Building CXX object 
src/BulletSoftBody/CMakeFiles/BulletSoftBody.dir/btSoftBodyConcaveCollisionAlgor
ithm.o
[ 96%] Building CXX object 
src/BulletSoftBody/CMakeFiles/BulletSoftBody.dir/btSoftBodyHelpers.o
[ 97%] Building CXX object 
src/BulletSoftBody/CMakeFiles/BulletSoftBody.dir/btSoftBodyRigidBodyCollisionCon
figuration.o
[ 97%] Building CXX object 
src/BulletSoftBody/CMakeFiles/BulletSoftBody.dir/btSoftRigidCollisionAlgorithm.o
[ 98%] Building CXX object 
src/BulletSoftBody/CMakeFiles/BulletSoftBody.dir/btSoftRigidDynamicsWorld.o
[ 98%] Building CXX object 
src/BulletSoftBody/CMakeFiles/BulletSoftBody.dir/btSoftSoftCollisionAlgorithm.o
[ 99%] Building CXX object 
src/BulletSoftBody/CMakeFiles/BulletSoftBody.dir/btDefaultSoftBodySolver.o
Linking CXX static library libBulletSoftBody.a
[ 99%] Built target BulletSoftBody
[100%] Building CXX object 
src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/MiniCL/CMakeFiles/BulletSoftBo
dySolvers_OpenCL_Mini.dir/__/btSoftBodySolver_OpenCL.o
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.h:24,
                 from /home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolver_OpenCL.cpp:20:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolverBuffer_OpenCL.h:209:54: warning: no newline at end of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:53:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/PrepareLinks.cl:38:3: warning: no newline at end of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:55:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/UpdatePositionsFromVelocities.cl:28:3: warning: no newline at end 
of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:57:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/SolvePositions.cl:57:3: warning: no newline at end of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:59:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/UpdateNodes.cl:39:3: warning: no newline at end of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:61:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/UpdatePositions.cl:34:3: warning: no newline at end of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:63:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/UpdateConstants.cl:44:3: warning: no newline at end of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:65:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/Integrate.cl:35:3: warning: no newline at end of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:67:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/ApplyForces.cl:102:3: warning: no newline at end of file
In file included from 
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:73:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/OpenCLC10/VSolveLinks.cl:45:3: warning: no newline at end of file
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp: In member function ‘virtual void 
btOpenCLSoftBodySolver::optimize(btAlignedObjectArray<btSoftBody*>&, bool)’:
/home/codegamer/bullet-read-only/src/BulletMultiThreaded/GpuSoftBodySolvers/Open
CL/btSoftBodySolver_OpenCL.cpp:773: warning: passing ‘double’ for argument 
1 to ‘void btAlignedObjectArray<T>::push_back(const T&) [with T = int]’

but compiled and working, thanks a lot

Original comment by mnunes...@gmail.com on 12 Mar 2012 at 10:02