lianlab / gamekit

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

Cannot be compiled after cmake . -G Xcode in Snow Leopard #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. get latest trunk
2. cmake . -G Xcode
3. open GAMEKIT.xcodeproj
4. build

What is the expected output? What do you see instead?
Expected:
Build succeeded without errors or warnings.
I get 2 errors and 272 warnings:

/Users/filipkunc/Documents/Programming/trunk/gamekit/BulletBlendReader.cpp:2520:
0 
/Users/filipkunc/Documents/Programming/trunk/gamekit/BulletBlendReader.cpp:2520:
 error: 
cast from ‘BlendBlock*’ to ‘uint32_t’ loses precision

/Users/filipkunc/Documents/Programming/trunk/gamekit/BulletBlendReader.cpp:2911:
0 
/Users/filipkunc/Documents/Programming/trunk/gamekit/BulletBlendReader.cpp:2911:
 error: 
cast from ‘BlendBlock*’ to ‘uint32_t’ loses precision

What version of the product are you using? On what operating system?
Mac OS X 10.6.2, Xcode 3.2.1, GCC 4.2. Latest revision in trunk.

Please provide any additional information below.
I think that problem lies in $(ARCHS_STANDARD_32_64_BIT)  setting in 
Architectures of project. 
It builds without errors in 32 bit Universal setting, but there are still 272 
warnings.
Hope it helps.

Original issue reported on code.google.com by kunc.fi...@gmail.com on 5 Jan 2010 at 10:44

GoogleCodeExporter commented 9 years ago

Thanks for the report, the errors should be fixed (we are not aiming for 
warning free 
yet)

Here it doesn't build a universal or 32bit build by default I think.

How does this $(ARCHS_STANDARD_32_64_BIT) gets set? Is it a default?

Original comment by erwin.coumans on 5 Jan 2010 at 10:53

GoogleCodeExporter commented 9 years ago
I don't know how $(ARCHS_STANDARD_32_64_BIT) get set but this is after cmake . 
-G Xcode, and build, I didn't 
changed anything between that.

Original comment by kunc.fi...@gmail.com on 6 Jan 2010 at 12:18

GoogleCodeExporter commented 9 years ago
Should be fixed by now:
http://code.google.com/p/gamekit/source/detail?r=174

Thanks for the report!
Erwin

Original comment by erwin.coumans on 6 Jan 2010 at 11:59