AK47s for everyone! - Angry mob
Since NaN /= NaN, I think, we should decipher 'NaN' as 'Not a NaN' - Miguel Mitrofanov
(Varför är människan så benägen att tro på Gud?) Antagligen har det lönat sig och evolutionen har drivit fram sådana hjärnor. - Anon
Python & OSX: Testa mitt fysiklib!
Kört på Leopard med näst senaste versionen av Macbook Pro:
running test
running egg_info
writing pymunk.egg-info/PKG-INFO
writing eager_resources to pymunk.egg-info/eager_resources.txt
writing top-level names to pymunk.egg-info/top_level.txt
writing dependency_links to pymunk.egg-info/dependency_links.txt
reading manifest file 'pymunk.egg-info/SOURCES.txt'
writing manifest file 'pymunk.egg-info/SOURCES.txt'
running build_ext
Loading chipmunk for Darwin (32bit) [/Users/bjorn/Desktop/pymunk-0.8.9/pymunk/libchipmunk.dylib]
testCreation (tests.unittests.UnitTestBB) ... ok
testMethods (tests.unittests.UnitTestBB) ... ok
test (tests.unittests.UnitTestBody) ... ok
testConversion (tests.unittests.UnitTestBody) ... ok
testPositonFunction (tests.unittests.UnitTestBody) ... ok
testVelocityFunction (tests.unittests.UnitTestBody) ... ok
testDampedRotarySpring (tests.unittests.UnitTestConstraint) ... ok
testDampedSpring (tests.unittests.UnitTestConstraint) ... ok
testGearJoint (tests.unittests.UnitTestConstraint) ... ok
testPinJoint (tests.unittests.UnitTestConstraint) ... ok
testPivotjoint (tests.unittests.UnitTestConstraint) ... ok
testRatchetJoint (tests.unittests.UnitTestConstraint) ... ok
testRotaryLimitJoint (tests.unittests.UnitTestConstraint) ... ok
testSimpleMotor (tests.unittests.UnitTestConstraint) ... ok
testSlideJoint (tests.unittests.UnitTestConstraint) ... ok
testGeneral (tests.unittests.UnitTestGeneral) ... ok
testShape (tests.unittests.UnitTestShape) ... ok
testAddRemove (tests.unittests.UnitTestSpace) ... ok
testCollisionHandlers (tests.unittests.UnitTestSpace) ... ok
testPointQueries (tests.unittests.UnitTestSpace) ... ok
testPostStepCallback (tests.unittests.UnitTestSpace) ... ok
testResizeRehash (tests.unittests.UnitTestSpace) ... ok
testSegmentQueries (tests.unittests.UnitTestSpace) ... ok
testAnglesDegrees (tests.vec2d_unittest.UnitTestVec2d) ... ok
testAnglesRadians (tests.vec2d_unittest.UnitTestVec2d) ... ok
testComparison (tests.vec2d_unittest.UnitTestVec2d) ... ok
testCreationAndAccess (tests.vec2d_unittest.UnitTestVec2d) ... ok
testCross (tests.vec2d_unittest.UnitTestVec2d) ... ok
testHighLevel (tests.vec2d_unittest.UnitTestVec2d) ... ok
testInplace (tests.vec2d_unittest.UnitTestVec2d) ... ok
testLength (tests.vec2d_unittest.UnitTestVec2d) ... ok
testMath (tests.vec2d_unittest.UnitTestVec2d) ... ok
testPickle (tests.vec2d_unittest.UnitTestVec2d) ... ok
testReverseMath (tests.vec2d_unittest.UnitTestVec2d) ... ok
testUnary (tests.vec2d_unittest.UnitTestVec2d) ... ok
----------------------------------------------------------------------
Ran 35 tests in 0.015s
OK
Loggan är väl OK, men kanske inte det mest tilltalande jag sett.
Jag tycker definitivt att du ska arbeta med ormen ivf
Snow Leopard 10.6.2
running test
running egg_info
writing pymunk.egg-info/PKG-INFO
writing eager_resources to pymunk.egg-info/eager_resources.txt
writing top-level names to pymunk.egg-info/top_level.txt
writing dependency_links to pymunk.egg-info/dependency_links.txt
reading manifest file 'pymunk.egg-info/SOURCES.txt'
writing manifest file 'pymunk.egg-info/SOURCES.txt'
running build_ext
Loading chipmunk for Darwin (64bit) [/Users/azero/Downloads/pymunk-0.8.9/pymunk/libchipmunk.dylib]
testCreation (tests.unittests.UnitTestBB) ... FAIL
testMethods (tests.unittests.UnitTestBB) ... FAIL
test (tests.unittests.UnitTestBody) ... FAIL
testConversion (tests.unittests.UnitTestBody) ... FAIL
testPositonFunction (tests.unittests.UnitTestBody) ... FAIL
testVelocityFunction (tests.unittests.UnitTestBody) ... FAIL
testDampedRotarySpring (tests.unittests.UnitTestConstraint) ... FAIL
testDampedSpring (tests.unittests.UnitTestConstraint) ... FAIL
testGearJoint (tests.unittests.UnitTestConstraint) ... FAIL
testPinJoint (tests.unittests.UnitTestConstraint) ... FAIL
testPivotjoint (tests.unittests.UnitTestConstraint) ... FAIL
testRatchetJoint (tests.unittests.UnitTestConstraint) ... FAIL
testRotaryLimitJoint (tests.unittests.UnitTestConstraint) ... FAIL
testSimpleMotor (tests.unittests.UnitTestConstraint) ... FAIL
testSlideJoint (tests.unittests.UnitTestConstraint) ... FAIL
testGeneral (tests.unittests.UnitTestGeneral) ... ok
testShape (tests.unittests.UnitTestShape) ... FAIL
testAddRemove (tests.unittests.UnitTestSpace) ... ERROR
testCollisionHandlers (tests.unittests.UnitTestSpace) ... ERROR
testPointQueries (tests.unittests.UnitTestSpace) ... ERROR
testPostStepCallback (tests.unittests.UnitTestSpace) ... ERROR
testResizeRehash (tests.unittests.UnitTestSpace) ... ERROR
testSegmentQueries (tests.unittests.UnitTestSpace) ... ERROR
testAnglesDegrees (tests.vec2d_unittest.UnitTestVec2d) ... ok
testAnglesRadians (tests.vec2d_unittest.UnitTestVec2d) ... ok
testComparison (tests.vec2d_unittest.UnitTestVec2d) ... ok
testCreationAndAccess (tests.vec2d_unittest.UnitTestVec2d) ... ok
testCross (tests.vec2d_unittest.UnitTestVec2d) ... ok
testHighLevel (tests.vec2d_unittest.UnitTestVec2d) ... ok
testInplace (tests.vec2d_unittest.UnitTestVec2d) ... ok
testLength (tests.vec2d_unittest.UnitTestVec2d) ... ok
testMath (tests.vec2d_unittest.UnitTestVec2d) ... ok
testPickle (tests.vec2d_unittest.UnitTestVec2d) ... ok
testReverseMath (tests.vec2d_unittest.UnitTestVec2d) ... ok
testUnary (tests.vec2d_unittest.UnitTestVec2d) ... ok
======================================================================
ERROR: testAddRemove (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testCollisionHandlers (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testPointQueries (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testPostStepCallback (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testResizeRehash (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testSegmentQueries (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/azero/Downloads/pymunk-0.8.9/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
FAIL: testCreation (tests.unittests.UnitTestBB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 302, in testCreation
self.assertEqual(bb_defined.left, -10)
AssertionError: 0.0 != -10
======================================================================
FAIL: testMethods (tests.unittests.UnitTestBB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 313, in testMethods
self.assert_(bb1.intersects(bb2))
AssertionError
======================================================================
FAIL: test (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 22, in test
self.assertEqual(b.mass, 10)
AssertionError: 1.4044477616111843e+306 != 10
======================================================================
FAIL: testConversion (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 30, in testConversion
self.assertEqual(b.local_to_world((1,1)), Vec2d(11,21))
AssertionError: Vec2d(1.0, 0.0) != Vec2d(11.0, 21.0)
======================================================================
FAIL: testPositonFunction (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 42, in testPositonFunction
self.assertEqual(b.position.y, 10)
AssertionError: 0.0 != 10
======================================================================
FAIL: testVelocityFunction (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 61, in testVelocityFunction
self.assertEqual(b.velocity.x, 5)
AssertionError: 0.0078125 != 5
======================================================================
FAIL: testDampedRotarySpring (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 251, in testDampedRotarySpring
self.assertEqual(j.rest_angle, 0.4)
AssertionError: 2.1219957909652723e-314 != 0.40000000000000002
======================================================================
FAIL: testDampedSpring (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 244, in testDampedSpring
self.assertEqual(j.rest_length, 7)
AssertionError: 1.5786290650215846e-308 != 7
======================================================================
FAIL: testGearJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 271, in testGearJoint
self.assertEqual(j.phase, 0.3)
AssertionError: 4.0229503535403069e-314 != 0.29999999999999999
======================================================================
FAIL: testPinJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 221, in testPinJoint
self.assertEqual(j.distance, 10)
AssertionError: 5.2386914196813489e-11 != 10
======================================================================
FAIL: testPivotjoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 238, in testPivotjoint
self.assertEqual(j1.anchr1, j2.anchr2)
AssertionError: Vec2d(0.0, 0.0) != Vec2d(2.12508297003e-314, 2.122889449e-314)
======================================================================
FAIL: testRatchetJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 264, in testRatchetJoint
self.assertEqual(j.angle, 0.0)
AssertionError: 3.395193265742062e-314 != 0.0
======================================================================
FAIL: testRotaryLimitJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 258, in testRotaryLimitJoint
self.assertEqual(j.max, 0.2)
AssertionError: 0.0 != 0.20000000000000001
======================================================================
FAIL: testSimpleMotor (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 277, in testSimpleMotor
self.assertEqual(j.rate, 0.3)
AssertionError: 2.1219957909652723e-314 != 0.29999999999999999
======================================================================
FAIL: testSlideJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 226, in testSlideJoint
self.assertEqual(j.max, 12)
AssertionError: 0.0 != 12
======================================================================
FAIL: testShape (tests.unittests.UnitTestShape)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/azero/Downloads/pymunk-0.8.9/tests/unittests.py", line 81, in testShape
self.assert_( c.point_query((11,1)) )
AssertionError
----------------------------------------------------------------------
Ran 35 tests in 0.007s
FAILED (failures=16, errors=6)
Intressant. Perfekt att ni hade olika python & OSX-versioner!
pymunk kompilerar osx-versionen i en fat binary som innehåller både en 32 och en 64-bits-version. Men det verkar inte som om den fattar vad den ska ladda sedan. Jag har splittat upp koden så att man bara får 32 respektive 64bit beroende på vad man kör, förhoppningsvis ska det funka bättre nu.
Vore kanon om ni kunde testa igen, fast denna gång med den här versionen istället: http://deepwhite.viblo.se:8050/pymunk-0.8.9a1.zip
bjornie: Ok, frågan är bara hur Jag är mer kodare än jag är grafiker, antar att det lyser igenom..
AK47s for everyone! - Angry mob
Since NaN /= NaN, I think, we should decipher 'NaN' as 'Not a NaN' - Miguel Mitrofanov
(Varför är människan så benägen att tro på Gud?) Antagligen har det lönat sig och evolutionen har drivit fram sådana hjärnor. - Anon
running test
running egg_info
writing pymunk.egg-info/PKG-INFO
writing eager_resources to pymunk.egg-info/eager_resources.txt
writing top-level names to pymunk.egg-info/top_level.txt
writing dependency_links to pymunk.egg-info/dependency_links.txt
reading manifest file 'pymunk.egg-info/SOURCES.txt'
writing manifest file 'pymunk.egg-info/SOURCES.txt'
running build_ext
Loading chipmunk for Darwin (32bit) [/Users/bjorn/Desktop/pymunk-0.8.9a1/pymunk/libchipmunk.dylib]
... /* Allt OK igen */
Allt ok fortfarande. Datorn jag har är ju en 64-bitars, dock så har inte Leopard fullt stöd för 64 bitar som jag förstått det. Är på väg att uppdatera till Snow Leopard - tur för dig att jag inte hunnit göra det?!
Ang. grafik - jag förstår precis vad du menar, jag är likadan. Så jag kan nog inte komma med några konstruktiva råd
simon@riemann ~/D/p/pymunk-0.8.9a1> uname -a; and python --version; and python setup.py test
Darwin riemann.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 i386
Python 2.6.1
running test
running egg_info
writing pymunk.egg-info/PKG-INFO
writing eager_resources to pymunk.egg-info/eager_resources.txt
writing top-level names to pymunk.egg-info/top_level.txt
writing dependency_links to pymunk.egg-info/dependency_links.txt
reading manifest file 'pymunk.egg-info/SOURCES.txt'
writing manifest file 'pymunk.egg-info/SOURCES.txt'
running build_ext
Loading chipmunk for Darwin (64bit) [/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/libchipmunk64.dylib]
testCreation (tests.unittests.UnitTestBB) ... FAIL
testMethods (tests.unittests.UnitTestBB) ... FAIL
test (tests.unittests.UnitTestBody) ... FAIL
testConversion (tests.unittests.UnitTestBody) ... FAIL
testPositonFunction (tests.unittests.UnitTestBody) ... FAIL
testVelocityFunction (tests.unittests.UnitTestBody) ... FAIL
testDampedRotarySpring (tests.unittests.UnitTestConstraint) ... FAIL
testDampedSpring (tests.unittests.UnitTestConstraint) ... FAIL
testGearJoint (tests.unittests.UnitTestConstraint) ... FAIL
testPinJoint (tests.unittests.UnitTestConstraint) ... FAIL
testPivotjoint (tests.unittests.UnitTestConstraint) ... FAIL
testRatchetJoint (tests.unittests.UnitTestConstraint) ... FAIL
testRotaryLimitJoint (tests.unittests.UnitTestConstraint) ... FAIL
testSimpleMotor (tests.unittests.UnitTestConstraint) ... FAIL
testSlideJoint (tests.unittests.UnitTestConstraint) ... FAIL
testGeneral (tests.unittests.UnitTestGeneral) ... ok
testShape (tests.unittests.UnitTestShape) ... FAIL
testAddRemove (tests.unittests.UnitTestSpace) ... ERROR
testCollisionHandlers (tests.unittests.UnitTestSpace) ... ERROR
testPointQueries (tests.unittests.UnitTestSpace) ... ERROR
testPostStepCallback (tests.unittests.UnitTestSpace) ... ERROR
testResizeRehash (tests.unittests.UnitTestSpace) ... ERROR
testSegmentQueries (tests.unittests.UnitTestSpace) ... ERROR
testAnglesDegrees (tests.vec2d_unittest.UnitTestVec2d) ... ok
testAnglesRadians (tests.vec2d_unittest.UnitTestVec2d) ... ok
testComparison (tests.vec2d_unittest.UnitTestVec2d) ... ok
testCreationAndAccess (tests.vec2d_unittest.UnitTestVec2d) ... ok
testCross (tests.vec2d_unittest.UnitTestVec2d) ... ok
testHighLevel (tests.vec2d_unittest.UnitTestVec2d) ... ok
testInplace (tests.vec2d_unittest.UnitTestVec2d) ... ok
testLength (tests.vec2d_unittest.UnitTestVec2d) ... ok
testMath (tests.vec2d_unittest.UnitTestVec2d) ... ok
testPickle (tests.vec2d_unittest.UnitTestVec2d) ... ok
testReverseMath (tests.vec2d_unittest.UnitTestVec2d) ... ok
testUnary (tests.vec2d_unittest.UnitTestVec2d) ... ok
======================================================================
ERROR: testAddRemove (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testCollisionHandlers (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testPointQueries (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testPostStepCallback (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testResizeRehash (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testSegmentQueries (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
FAIL: testCreation (tests.unittests.UnitTestBB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 302, in testCreation
self.assertEqual(bb_defined.left, -10)
AssertionError: 0.0 != -10
======================================================================
FAIL: testMethods (tests.unittests.UnitTestBB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 313, in testMethods
self.assert_(bb1.intersects(bb2))
AssertionError
======================================================================
FAIL: test (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 22, in test
self.assertEqual(b.mass, 10)
AssertionError: 1.4044477616111843e+306 != 10
======================================================================
FAIL: testConversion (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 30, in testConversion
self.assertEqual(b.local_to_world((1,1)), Vec2d(11,21))
AssertionError: Vec2d(1.0, 0.0) != Vec2d(11.0, 21.0)
======================================================================
FAIL: testPositonFunction (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 42, in testPositonFunction
self.assertEqual(b.position.y, 10)
AssertionError: 0.0 != 10
======================================================================
FAIL: testVelocityFunction (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 61, in testVelocityFunction
self.assertEqual(b.velocity.x, 5)
AssertionError: 0.0078125 != 5
======================================================================
FAIL: testDampedRotarySpring (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 251, in testDampedRotarySpring
self.assertEqual(j.rest_angle, 0.4)
AssertionError: 2.1219957909652723e-314 != 0.40000000000000002
======================================================================
FAIL: testDampedSpring (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 244, in testDampedSpring
self.assertEqual(j.rest_length, 7)
AssertionError: 2.1319897192291477e-314 != 7
======================================================================
FAIL: testGearJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 271, in testGearJoint
self.assertEqual(j.phase, 0.3)
AssertionError: 4.0229503535403069e-314 != 0.29999999999999999
======================================================================
FAIL: testPinJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 221, in testPinJoint
self.assertEqual(j.distance, 10)
AssertionError: 2.1303582156534508e-314 != 10
======================================================================
FAIL: testPivotjoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 238, in testPivotjoint
self.assertEqual(j1.anchr1, j2.anchr2)
AssertionError: Vec2d(0.0, 0.0) != Vec2d(2.12508524274e-314, 2.122889449e-314)
======================================================================
FAIL: testRatchetJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 264, in testRatchetJoint
self.assertEqual(j.angle, 0.0)
AssertionError: 3.395193265742062e-314 != 0.0
======================================================================
FAIL: testRotaryLimitJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 258, in testRotaryLimitJoint
self.assertEqual(j.max, 0.2)
AssertionError: 0.0 != 0.20000000000000001
======================================================================
FAIL: testSimpleMotor (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 277, in testSimpleMotor
self.assertEqual(j.rate, 0.3)
AssertionError: 5.5652522611750714e-309 != 0.29999999999999999
======================================================================
FAIL: testSlideJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 226, in testSlideJoint
self.assertEqual(j.max, 12)
AssertionError: 8.3861843050869425e-317 != 12
======================================================================
FAIL: testShape (tests.unittests.UnitTestShape)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/simon/Desktop/pymunk/pymunk-0.8.9a1/tests/unittests.py", line 81, in testShape
self.assert_( c.point_query((11,1)) )
AssertionError
----------------------------------------------------------------------
Ran 35 tests in 0.010s
FAILED (failures=16, errors=6)
(Ignorera det faktum att uname säger i386, resten av systemet vet att jag kör 64bitars)
Blogg. Webboken. Pinboard, Last.fm, Facebook, Kongregate. W3fools.
Validera din HTML, men skryt inte om att du gör det.
Använd HTML5 och kom ihåg semantiken!
Oh, jobbigt. Nånting är fel på 64bit, frågan är bara vad? Har testat det på ubuntu 64bit och då funkade det bra såklart. Undrar just om det kan vara structar som packas olika jämfört med linux 64bit eller något sånt? Annars skulle man ju tro att det funkade likadant när båda är *nix-system..
Koden undersöker om python kör i 64bits läge genom att testa hur stor en void-pekare är, både för att välja hur den ska kompilera koden och sedan vilken version den ska ladda in, så man tycker att det borde funka. Och vi kan ju se från din output att den kört på 64bit-varianten.
Eftersom du inte klippte in den antar jag att själva kompileringen (build_chipmunk) gick bra utan några fel?
AK47s for everyone! - Angry mob
Since NaN /= NaN, I think, we should decipher 'NaN' as 'Not a NaN' - Miguel Mitrofanov
(Varför är människan så benägen att tro på Gud?) Antagligen har det lönat sig och evolutionen har drivit fram sådana hjärnor. - Anon
Ursprungligen inskrivet av vb
Eftersom du inte klippte in den antar jag att själva kompileringen (build_chipmunk) gick bra utan några fel?
Den gick utan problem, ja. Kör gcc-4.2.1 om det spelar någon roll.
Blogg. Webboken. Pinboard, Last.fm, Facebook, Kongregate. W3fools.
Validera din HTML, men skryt inte om att du gör det.
Använd HTML5 och kom ihåg semantiken!
uname -a; python --version; python setup.py test
Darwin Trinity.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
Python 2.6.1
running test
running egg_info
writing pymunk.egg-info/PKG-INFO
writing eager_resources to pymunk.egg-info/eager_resources.txt
writing top-level names to pymunk.egg-info/top_level.txt
writing dependency_links to pymunk.egg-info/dependency_links.txt
reading manifest file 'pymunk.egg-info/SOURCES.txt'
writing manifest file 'pymunk.egg-info/SOURCES.txt'
running build_ext
Loading chipmunk for Darwin (64bit) [/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/libchipmunk64.dylib]
testCreation (tests.unittests.UnitTestBB) ... FAIL
testMethods (tests.unittests.UnitTestBB) ... FAIL
test (tests.unittests.UnitTestBody) ... FAIL
testConversion (tests.unittests.UnitTestBody) ... FAIL
testPositonFunction (tests.unittests.UnitTestBody) ... FAIL
testVelocityFunction (tests.unittests.UnitTestBody) ... FAIL
testDampedRotarySpring (tests.unittests.UnitTestConstraint) ... FAIL
testDampedSpring (tests.unittests.UnitTestConstraint) ... FAIL
testGearJoint (tests.unittests.UnitTestConstraint) ... FAIL
testPinJoint (tests.unittests.UnitTestConstraint) ... FAIL
testPivotjoint (tests.unittests.UnitTestConstraint) ... FAIL
testRatchetJoint (tests.unittests.UnitTestConstraint) ... FAIL
testRotaryLimitJoint (tests.unittests.UnitTestConstraint) ... FAIL
testSimpleMotor (tests.unittests.UnitTestConstraint) ... FAIL
testSlideJoint (tests.unittests.UnitTestConstraint) ... FAIL
testGeneral (tests.unittests.UnitTestGeneral) ... ok
testShape (tests.unittests.UnitTestShape) ... FAIL
testAddRemove (tests.unittests.UnitTestSpace) ... ERROR
testCollisionHandlers (tests.unittests.UnitTestSpace) ... ERROR
testPointQueries (tests.unittests.UnitTestSpace) ... ERROR
testPostStepCallback (tests.unittests.UnitTestSpace) ... ERROR
testResizeRehash (tests.unittests.UnitTestSpace) ... ERROR
testSegmentQueries (tests.unittests.UnitTestSpace) ... ERROR
testAnglesDegrees (tests.vec2d_unittest.UnitTestVec2d) ... ok
testAnglesRadians (tests.vec2d_unittest.UnitTestVec2d) ... ok
testComparison (tests.vec2d_unittest.UnitTestVec2d) ... ok
testCreationAndAccess (tests.vec2d_unittest.UnitTestVec2d) ... ok
testCross (tests.vec2d_unittest.UnitTestVec2d) ... ok
testHighLevel (tests.vec2d_unittest.UnitTestVec2d) ... ok
testInplace (tests.vec2d_unittest.UnitTestVec2d) ... ok
testLength (tests.vec2d_unittest.UnitTestVec2d) ... ok
testMath (tests.vec2d_unittest.UnitTestVec2d) ... ok
testPickle (tests.vec2d_unittest.UnitTestVec2d) ... ok
testReverseMath (tests.vec2d_unittest.UnitTestVec2d) ... ok
testUnary (tests.vec2d_unittest.UnitTestVec2d) ... ok
======================================================================
ERROR: testAddRemove (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testCollisionHandlers (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testPointQueries (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testPostStepCallback (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testResizeRehash (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
ERROR: testSegmentQueries (tests.unittests.UnitTestSpace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 104, in setUp
self.s.add(self.s1,self.s2)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 161, in add
self._add_shape(o)
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/pymunk/__init__.py", line 206, in _add_shape
assert shape._hashid not in self._shapes, "shape already added to space"
AssertionError: shape already added to space
======================================================================
FAIL: testCreation (tests.unittests.UnitTestBB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 302, in testCreation
self.assertEqual(bb_defined.left, -10)
AssertionError: 0.0 != -10
======================================================================
FAIL: testMethods (tests.unittests.UnitTestBB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 313, in testMethods
self.assert_(bb1.intersects(bb2))
AssertionError
======================================================================
FAIL: test (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 22, in test
self.assertEqual(b.mass, 10)
AssertionError: 1.4044477616111843e+306 != 10
======================================================================
FAIL: testConversion (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 30, in testConversion
self.assertEqual(b.local_to_world((1,1)), Vec2d(11,21))
AssertionError: Vec2d(1.0, 0.0) != Vec2d(11.0, 21.0)
======================================================================
FAIL: testPositonFunction (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 42, in testPositonFunction
self.assertEqual(b.position.y, 10)
AssertionError: 0.0 != 10
======================================================================
FAIL: testVelocityFunction (tests.unittests.UnitTestBody)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 61, in testVelocityFunction
self.assertEqual(b.velocity.x, 5)
AssertionError: 0.0078125 != 5
======================================================================
FAIL: testDampedRotarySpring (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 251, in testDampedRotarySpring
self.assertEqual(j.rest_angle, 0.4)
AssertionError: 2.1219957909652723e-314 != 0.40000000000000002
======================================================================
FAIL: testDampedSpring (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 244, in testDampedSpring
self.assertEqual(j.rest_length, 7)
AssertionError: 2.1258680482509163e-314 != 7
======================================================================
FAIL: testGearJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 271, in testGearJoint
self.assertEqual(j.phase, 0.3)
AssertionError: 4.0229503535403069e-314 != 0.29999999999999999
======================================================================
FAIL: testPinJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 221, in testPinJoint
self.assertEqual(j.distance, 10)
AssertionError: 8.3440269694020052e-309 != 10
======================================================================
FAIL: testPivotjoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 238, in testPivotjoint
self.assertEqual(j1.anchr1, j2.anchr2)
AssertionError: Vec2d(0.0, 2.12596127251e-314) != Vec2d(2.12525096421e-314, 2.47032822921e-323)
======================================================================
FAIL: testRatchetJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 264, in testRatchetJoint
self.assertEqual(j.angle, 0.0)
AssertionError: 3.395193265742062e-314 != 0.0
======================================================================
FAIL: testRotaryLimitJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 258, in testRotaryLimitJoint
self.assertEqual(j.max, 0.2)
AssertionError: 0.0 != 0.20000000000000001
======================================================================
FAIL: testSimpleMotor (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 277, in testSimpleMotor
self.assertEqual(j.rate, 0.3)
AssertionError: 2.1219957909652723e-314 != 0.29999999999999999
======================================================================
FAIL: testSlideJoint (tests.unittests.UnitTestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 226, in testSlideJoint
self.assertEqual(j.max, 12)
AssertionError: 9.8813129168249309e-324 != 12
======================================================================
FAIL: testShape (tests.unittests.UnitTestShape)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Store/Nerladdat/pymunk-0.8.9a1/tests/unittests.py", line 81, in testShape
self.assert_( c.point_query((11,1)) )
AssertionError
----------------------------------------------------------------------
Ran 35 tests in 0.014s
FAILED (failures=16, errors=6)
Server: Hp Microserver Gen8, Xeon E3-1265V2 , 16gb RAM
Lurigt. Helt klart något med 64bits python på OSX iaf, frågan är bara vad och vad jag kan göra åt det.. jag antar att inte någon av er har någon idé? Lutar nog åt att jag får ge upp osx 64bit support tyvärr
AK47s for everyone! - Angry mob
Since NaN /= NaN, I think, we should decipher 'NaN' as 'Not a NaN' - Miguel Mitrofanov
(Varför är människan så benägen att tro på Gud?) Antagligen har det lönat sig och evolutionen har drivit fram sådana hjärnor. - Anon
Ursprungligen inskrivet av vb
Lurigt. Helt klart något med 64bits python på OSX iaf, frågan är bara vad och vad jag kan göra åt det.. jag antar att inte någon av er har någon idé? Lutar nog åt att jag får ge upp osx 64bit support tyvärr
Om du ser till att den kör 32bit-versionen även på x64 så borde det väl gå bra (eller?)
Blogg. Webboken. Pinboard, Last.fm, Facebook, Kongregate. W3fools.
Validera din HTML, men skryt inte om att du gör det.
Använd HTML5 och kom ihåg semantiken!
Tyvärr tror jag inte det löser problemet, som jag skrev så kollar koden hur stor en void-pekare är (32 eller 64 bitar) och agerar baserat på det och när du körde koden tyckte den att pekaren var 64bitar stor. Då vore det konstigt om det skulle funka med kod kompilerad för 32bit? Men, man vet ju aldrig.. Om du orkar får du gärna testa med en ny version som alltid kompilerar för 32bit:
http://deepwhite.viblo.se:8050/pymunk-0.8.9a2.zip
AK47s for everyone! - Angry mob
Since NaN /= NaN, I think, we should decipher 'NaN' as 'Not a NaN' - Miguel Mitrofanov
(Varför är människan så benägen att tro på Gud?) Antagligen har det lönat sig och evolutionen har drivit fram sådana hjärnor. - Anon
Ursprungligen inskrivet av vb
Tyvärr tror jag inte det löser problemet, som jag skrev så kollar koden hur stor en void-pekare är (32 eller 64 bitar) och agerar baserat på det och när du körde koden tyckte den att pekaren var 64bitar stor. Då vore det konstigt om det skulle funka med kod kompilerad för 32bit? Men, man vet ju aldrig.. Om du orkar får du gärna testa med en ny version som alltid kompilerar för 32bit:
http://deepwhite.viblo.se:8050/pymunk-0.8.9a2.zip
Det funkar ju inte, klart det blir knasigt om man gör så... tänkte lite fel
Blogg. Webboken. Pinboard, Last.fm, Facebook, Kongregate. W3fools.
Validera din HTML, men skryt inte om att du gör det.
Använd HTML5 och kom ihåg semantiken!
- Idag Intel Arc får prestandalyft på 300 procent i Assassin's Creed: Unity 16
- Idag Sony läcker uppgifter i rättegång – så stort är Call of Duty 20
- Igår Nvidia: "Energieffektiva RTX 4060 sparar hundralappar" 39
- Igår MSI Geforce RTX 4060 Ventus 2X OC – bra prestanda vid 1080p men medioker kylare 68
- Igår Noctua släpper monteringsram för "deliddade" Ryzen 7000-processorer 15
- Köpråd: Laptop för spelande - stram budget
- Hej, min fjärrkontroll till Google tv'n har pajat och kan inte synka kontrollen
- Bärbar dator för studier och enklare spel för fattig student - förslag i tråden.
- Köpråd för bärbar dator för 3D-arbete (Maya, Zbrush, Substance Designer, Houdini samt Unreal Engine)
- Speldator 15-18k
- PSVR2 - diskussionstråd445
- Komplett SweC-Bonanza 7 - Jul i Juli -edition - Diskussion104
- Intel core i7 13700KF eller Intel core i7 13700K4
- Föra över mini DV till datorn via Firewire DV - USB7
- Wordle på svenska - ordlig.se5948
- Diablo IV – den stora tråden2710
- Borra i betongvägg64
- Kommer flytta till stan och mitt wifi kommer säkert synas av hundratals människor varje dag. Vilken router ska jag köpa och hur ska den ställas in?11
- Benify-erbjudanden på Samsung-TV [utbruten tråd]1038
- Veckans fråga: Vilket operativsystem föredrar du?123
- Säljes Herman Miller Aeron
- Säljes 2x Noctua NF-A14 Industrial PPC 2000rpm pwm chromax
- Säljes Switchar, RAM och vattenkylning
- Säljes Intel i5 9400f LGA1151-2
- Säljes Meta Quest 2 VR portabelt headset
- Säljes Komplett dator: Ryzen 7 3700x, GTX1080, 32GB DDR4, 1TB M.2 SSD + 1,5TB HDD, 750W PSU mm. Kan säljas med/utan GPU.
- Säljes Intel Core i5 13400F
- Säljes Gamingdator 4080 / 13700KF / 32GB DDR5
- Säljes I5 12500
- Säljes LG 27'' UltraGear 27GP950 4K Nano IPS 160 Hz HDMI 2.1
- Paypal vill ersätta lösenord med passkeys11
- Intel Arc får prestandalyft på 300 procent i Assassin's Creed: Unity16
- Youtube testar aggressiv taktik mot annonsblockerare96
- Sony läcker uppgifter i rättegång – så stort är Call of Duty20
- Nvidia: "Energieffektiva RTX 4060 sparar hundralappar"39
- MSI Geforce RTX 4060 Ventus 2X OC – bra prestanda vid 1080p men medioker kylare68
- Veckans fråga: Vilket operativsystem föredrar du?123
- Bilar med smarta inslag ger fler dumma fel78
- Noctua släpper monteringsram för "deliddade" Ryzen 7000-processorer15
- Nvidias nästa arkitektur för Geforce kommer år 202558
Externa nyheter
Spelnyheter från FZ
- Till slut – Football Manager-saves kommer kunna användas i nyare spel idag
- Quiz – Vad kan du om spöken? idag
- Dying Light 2-uppdatering i dag gör nätterna betydligt farligare idag
- Microsofts vd ser gärna att konsolexklusiviteter försvinner idag
- Bloober Team säger sig vara färdiga med psykologisk skräck idag