Menu

#1141 "Working with Modules / Basic" example does not work

None
closed-fixed
nobody
python (260)
5
2022-03-18
2011-03-10
No

An error at compilation step tells that "interface from the imported module is not available in the target one".

http://www.swig.org/Doc1.3/Modules.html#Modules_nn1

Discussion

  • Alexey Petrov

    Alexey Petrov - 2011-03-10

    Thanks for your bug report. I can reproduce this and I'm
    investigating.

     
  • Alexey Petrov

    Alexey Petrov - 2011-03-10

    Appears on SWIG 1.3.40 and 2.0.2 (Ubuntu Linux, Maverick, amd64)

     
  • Olly Betts

    Olly Betts - 2022-03-18
    • status: open --> closed-fixed
    • Group: -->
     
  • Olly Betts

    Olly Betts - 2022-03-18

    I've pushed a fix:

    commit a6eae77dd58161360dda730fa7848279d48e9431 (HEAD -> master, origin/master, origin/HEAD)
    Author: Olly Betts <olly@survex.com>
    Date:   Fri Mar 18 19:26:16 2022 +1300
    
        Fix module example so generated code compiles
    
        Fixes https://sourceforge.net/p/swig/bugs/1141/
    

    Thanks, and sorry it took a while to fix.

     

Log in to post a comment.

MongoDB Logo MongoDB