Hello World Problem

Mani2010
Posts: 7
Joined: Sat Feb 06, 2010 12:10 pm

Hello World Problem

Post by Mani2010 »

Following the instructions on build hello world with 2.75 and visual studio, i get these errors....


Deleting intermediate and output files for project 'Bullet', configuration 'Debug|Win32'
Compiling...
main.cpp
.
.All the files that compile....
.
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SpuMinkowskiPenetrationDepthSolver.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\spunarrowphasecollisiontask\spucontactresult.h(21) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
boxBoxDistance.cpp
SpuCollisionShapes.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SpuContactResult.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\spunarrowphasecollisiontask\spucontactresult.h(21) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SpuGatheringCollisionTask.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SpuSampleTask.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SpuContactManifoldCollisionAlgorithm.cpp
SpuFakeDma.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SpuGatheringCollisionDispatcher.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
Generating Code...
Compiling...
SpuLibspe2Support.cpp
SpuSampleTaskProcess.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
Win32ThreadSupport.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
btGpu3DGridBroadphase.cpp
btThreadSupportInterface.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
MiniCLTaskScheduler.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
PosixThreadSupport.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SequentialThreadSupport.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SpuCollisionObjectWrapper.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
SpuCollisionTaskProcess.cpp
c:\documents and settings\mani\desktop\bullet-2.75\bullet-2.75\src\bulletmultithreaded\platformdefinitions.h(38) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
.
.
.
Generating Code...
Compiling...
btGeometryUtil.cpp
Generating Code...
Build log was saved at "file://c:\Documents and Settings\Mani\Desktop\Bullet\Bullet\Bullet\Debug\BuildLog.htm"
Bullet - 16 error(s), 9 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


I fixed this kind of by removing some of the non bt.. cpp files, but then got a no entry point error.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Hello World Problem

Post by Erwin Coumans »

It seems WIN32 is not defined, what version of Microsoft Visual Studio are you using, and how did you create the project files?

We will replace WIN32 by _WIN32 to resolve this issue. For now, please make sure WIN32 is added to the preprocessor definitions.

Thanks,
Erwin
Mani2010
Posts: 7
Joined: Sat Feb 06, 2010 12:10 pm

Re: Hello World Problem

Post by Mani2010 »

I am using 2008 version and i just created an empty project and added a main.cpp, all other files i dragged and dropped from the bullet folder into visual studio.
I will add the preprocessor command.
Mani2010
Posts: 7
Joined: Sat Feb 06, 2010 12:10 pm

Re: Hello World Problem

Post by Mani2010 »

Please bear in mind there is no "add recursively" in visual studio 2008.