Compiling errors in the latest SVN

Smjert
Posts: 6
Joined: Tue Sep 01, 2009 5:18 pm

Compiling errors in the latest SVN

Post by Smjert »

This is a sort of Bug/Fix report.
There are some errors in the latest svn, first of all there are 3 letters (asb) that aren't code in Glut\GL\glut.h line 61, after removing them these are the compiler errors:

Code: Select all

Error	12	fatal error C1083: Cannot open source file: '..\..\src\BulletMultiThreaded\SpuNarrowPhaseCollisionTask\SpuVoronoiSimplexSolver.cpp': No such file or directory	c1xx	libbulletmultithreaded
Error	16	fatal error C1083: Cannot open source file: '..\..\src\BulletMultiThreaded\SpuNarrowPhaseCollisionTask\SpuGjkPairDetector.cpp': No such file or directory	c1xx	libbulletmultithreaded
Error	17	fatal error C1083: Cannot open source file: '..\..\src\BulletMultiThreaded\SpuNarrowPhaseCollisionTask\SpuGjkEpa2.cpp': No such file or directory	c1xx	libbulletmultithreaded
Error	22	fatal error C1083: Cannot open source file: '..\..\src\BulletMultiThreaded\SpuNarrowPhaseCollisionTask\SpuEpaPenetrationDepthSolver.cpp': No such file or directory	c1xx	libbulletmultithreaded
Error	52	fatal error LNK1181: cannot open input file '..\..\out\release8\libs\libbulletmultithreaded.lib'	appMultiThreadedDemo	appMultiThreadedDemo
Error	60	fatal error LNK1181: cannot open input file '..\..\out\release8\libs\libbulletmultithreaded.lib'	appMiniCL_VectorAdd	appMiniCL_VectorAdd
Error	66	fatal error LNK1181: cannot open input file '..\..\out\release8\libs\libbulletmultithreaded.lib'	appGpu3dDemo	appGpu3dDemo
Error	72	error LNK2005: "public: void __thiscall DemoApplication::setCameraDistance(float)" (?setCameraDistance@DemoApplication@@QAEXM@Z) already defined in BenchmarkDemo.obj	libbulletopenglsupport.lib	appAllBulletDemos
Error	73	error LNK2005: "public: class btRigidBody * __thiscall DemoApplication::localCreateRigidBody(float,class btTransform const &,class btCollisionShape *)" (?localCreateRigidBody@DemoApplication@@QAEPAVbtRigidBody@@MABVbtTransform@@PAVbtCollisionShape@@@Z) already defined in BenchmarkDemo.obj	libbulletopenglsupport.lib	appAllBulletDemos
Error	74	fatal error LNK1169: one or more multiply defined symbols found	d:\Active Project\Lib\bullet\ReleaseAllBulletDemos.exe	1	appAllBulletDemos
I suppose that the first errors (Cannot openfile) could be solved simply removing the references to that files from the project (since the files doesn't exist), but for the opengl lib i don't know.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Compiling errors in the latest SVN

Post by Erwin Coumans »

Thanks for reporting this, the glut.h was accidently committed, it has been reverted.

What build system (and platform/compiler) are you using? Those files (SpuGjkPairDetector.cpp etc) have been removed from the project.

Thanks a lot,
Erwin
Smjert
Posts: 6
Joined: Tue Sep 01, 2009 5:18 pm

Re: Compiling errors in the latest SVN

Post by Smjert »

Erwin Coumans wrote:Thanks for reporting this, the glut.h was accidently committed, it has been reverted.

What build system (and platform/compiler) are you using? Those files (SpuGjkPairDetector.cpp etc) have been removed from the project.

Thanks a lot,
Erwin
Well i compiled it in release mode with Visual Studio 2008.
But i just found that i simply forgot to update my projects files (since the project for 2008 aren't on svn).
Removing not found files and BenchmarkDemo.cpp from allBulletDemos project fixed all the errors.
Glad to to be helpful, so the only error was your "typo" ^^.