Menu

compile fails in 0.27

Help
2003-06-18
2003-06-23
  • Jim Philips

    Jim Philips - 2003-06-18

    Every earlier version has compiled for me without trouble. But I got 0.27 today and it fails with this error:

    karamba.cpp: In function `QString PyString2QString(PyObject*)':
    karamba.cpp:33: no matching function for call to `QString::setUnicodeCodes(
       Py_UNICODE*&, int&)'
    /usr/local/qt/include/qstring.h:618: candidates are: QString&
       QString::setUnicodeCodes(const ushort*, unsigned int)
    make[3]: *** [karamba.o] Error 1
    make[3]: Leaving directory `/home/rebus/kdefiles/superkaramba-0.27/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/rebus/kdefiles/superkaramba-0.27/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/rebus/kdefiles/superkaramba-0.27'
    make: *** [all] Error 2

    Any ideas on how to resolve this?

     
    • Anonymous

      Anonymous - 2003-06-18

      getting the same message on a RedHat 9.0 box with python 2.2.3

      and i realy got no idea :-)

      regards

       
    • Anonymous

      Anonymous - 2003-06-19

      compile it with

      'make -i'

      it works ... but ignore the warning message?

      not sure what it about .. line 33 on

      karamba.cpp

      something to do with this function call to set the unicode to the text that  your are passing?

      Cheers
      Coomsie :3)

       
    • Anonymous

      Anonymous - 2003-06-19

      sorry , my mistake actually it hasnt compiled the o file for karamba.cpp .....

      bugger

      i will have to solve the error code

      Coomsie :3)

       
    • Jim Philips

      Jim Philips - 2003-06-21

      I think Superkaramba doesn't like the way Python installs on RedHat. Even though I have Python 2.2, most of the Python scripts people write for Superkaramba just bomb out on my box. Does anybody have any insight into this general compatibility issue with RedHat?

       
    • Anonymous

      Anonymous - 2003-06-22

      Yeah, i think you are right ....

      the problem is a call to python for doing something with unicode.

      possibly this routine is not in redhat version of python ...

      i'll keep looking. ...

      Cheers
      Coomsie :3)

       
    • McQuinn

      McQuinn - 2003-06-22

      In line 33 of karamba.cpp, change:
             qtext.setUnicodeCodes(t,length);
      to
            qtext.setUnicodeCodes((ushort*)t,length);

       
    • Anonymous

      Anonymous - 2003-06-23

      sk compiles right with changing this - but the rich text function doesn't work properly (as far as i can see on my rh -box)

       

Log in to post a comment.