vutle / gamekit

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

Vehicle Demo Crash #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
------------------------------------------------
1. Build on OSX (CMake issue with GLRS issue needs to be handled manually)
2. Run the Vehicle Demo

What is the expected output? What do you see instead?
------------------------------------------------
Expect to see scene with car, doesn't even make it that far. 

Crashes in line 50 of gkBuggy.cpp because carGroup is NULL. 

I've not dug any deeper yet, but a hunch tells me that either CMake is not 
copying the correct blend file across or there is some other reason we cannot 
access the right objects in the blend file.

What version of the product are you using? On what operating system?
------------------------------------------------
At code version r690. Using Xcode 3.2.2 and CMake 2.8.2

Please provide any additional information below.
------------------------------------------------
I think we really need to fix the CMake build. Out of the box in CMake 2.8.2 it 
complains about trying to include/exclude the GLES stuff. I'm not building 
(this version) for the iPhone, so I'm not sure why it complained.

Original issue reported on code.google.com by BenT.Sol...@gmail.com on 5 Oct 2010 at 1:43

GoogleCodeExporter commented 9 years ago
Found fix in XCode, needs translation to the CMake project files. 

The file "buggy.blend" is not included int he project resources, therefore is 
not copied to the output application package. This needs to be included, in the 
same way "clubsilo_demo.blend" is. If I manually add the file to the XCode 
project (for inclusion in AppVehicleDemo), it works without problem (no sounds 
but that is an entirely different matter).

Original comment by BenT.Sol...@gmail.com on 5 Oct 2010 at 1:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This issue was closed by revision r691.

Original comment by harkon...@gmail.com on 5 Oct 2010 at 5:39

GoogleCodeExporter commented 9 years ago
Thanks for reporting,  BenT.Solutions.

VehicleDemo problem is fixed on OSX.

iPhone sdk Xcode has both rendersystem gl/gles. So, two option is enabled by 
CMake detect system.
I tried before to force the rendersystem on OSX/iPhone build, but it has some 
problem.
so, I just add the complaint.

r691 don't complain anymore on OSX build, not iPhone.

Original comment by harkon...@gmail.com on 5 Oct 2010 at 5:58