Menu

cspace compile and running troubles

Help
Jonathan
2006-01-03
2012-12-05
  • Jonathan

    Jonathan - 2006-01-03

    First, When I compiled the cspace plugins I get
    all of the #error stating that it can't find the
    right 64-bit integer type.

    I'm using linux with swig 1.3.27, cal3d, Cg, and ode on an hardrive installed version of knoppix 4.0 .

    To get around that, I switched some #if statements
    to always true. But then I get the following
    errors when I try to run the sample scripts:

    > python pysimpcd.py
    Traceback (most recent call last):
      File "pysimpcd.py", line 156, in ?
        if not csInitializer.SetupEventHandler(object_reg, EventHandler):
      File "/usr/local/lib/python2.4/site-packages/cspace.py", line 13547, in _csInitializer_SetupEventHandler
        hdlr = _EventHandlerFuncWrapper(obj)
      File "/usr/local/lib/python2.4/site-packages/cspace.py", line 13535, in __init__
        csPyEventHandler.__init__(self)
      File "/usr/local/lib/python2.4/site-packages/cspace.py", line 13531, in __init__
        _csPyEventHandler.__init__(self)
    TypeError: __init__() takes exactly 1 argument (2 given)

    I tried running the pysimp executable and there was no trouble.

    Thanks for any help,
    Jonathan

     
    • Jonathan

      Jonathan - 2006-01-03

      I'm using a cvs copy from Jan 2, 2006.

       
    • Eric Sunshine

      Eric Sunshine - 2006-01-03

      The event subsystem has changed radically, recently. I'm not sure if the scripting support code has yet been updated for these changes.

      (Note, in the future, you should use the more active http://www.crystalspace3d.org/forum/ forum.)

       
    • Eric Sunshine

      Eric Sunshine - 2006-01-03
       

Log in to post a comment.