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.
-
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
-
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.
seems to have fixed it. :) still get the error, but it doesnt crash.. so i'm happy. thanks!