I am using SWIG to generate some language bindings to some C++ code. I am getting this warning at the console:
No module name specified using %module or -module
The warning is self explanatory, but is it something I should worry about?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it is something to worry about. It is an error not a warning and the generated wrapper file was not created (at least not with the SWIG 2.0.8 version I tested with). Simply add
%module modulenameto the top of your SWIG.ifile.