Menu

PyObject and my CS Compiling woes

Help
solidjdan
2005-06-27
2012-12-05
  • solidjdan

    solidjdan - 2005-06-27

    It would appear every time I attempt to compile CS I get the error:

    C++ ./out/msysx86/optimize/plugins/cscript/cspython/cs_pyth.o
    ./out/msysx86/optimize/plugins/cscript/cspython/cs_pyth.cpp:3448: error: expected `)' before '*' token
    ./out/msysx86/optimize/plugins/cscript/cspython/cs_pyth.cpp:3448: error: expected `,' or `;' before '*' token

    Which directs me to the area of a (PyObject *) in the mentioned .cpp file. Now I've never attempted to compile with Python support though I'd really appreciate doing so as I do code in both c++ and python. Is this an error that I'm making, or is the Python distribution I am using simply lacking something I need for the compilation to succeed?

    If anyone has any experience with the problem at hand, I'd appreciate any aid I could get.

    -

     
    • Eric Sunshine

      Eric Sunshine - 2005-06-27

      I believe that someone else experienced this error recently and discovered that the version of Swig he was using was buggy (it was truncating the generated cs_pyth.cpp). If I recall correctly, he tried a different version of Swig, and that resolved the problem.

       
    • solidjdan

      solidjdan - 2005-06-27

      seems to have fixed it. :) still get the error, but it doesnt crash.. so i'm happy. thanks!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.