URL:
<http://savannah.nongnu.org/bugs/?38535>
Summary: 1.0.0 does not build with swig-2.0.x
Project: Simulavr: an AVR simulator
Submitted by: heinervdm
Submitted on: So 17 Mär 2013 12:43:44 GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Component Version: simulavr
_______________________________________________________
Details:
When trying to build simulavr with swig-2.0.9 I'm getting the following
error:
--
[ 318s] /usr/bin/swig -c++ -python -Ipython -o pysimulavr_wrap.cpp
python/pysimulavr.i
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(directorout) std::vector< dword,std::allocator< dword > > = std::vector<
dword,std::allocator< dword > > &DIRECTOROUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(in) std::vector< dword,std::allocator< dword > > *INPUT = std::vector<
dword,std::allocator< dword > > *INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(in) std::vector< dword,std::allocator< dword > > &INPUT = std::vector<
dword,std::allocator< dword > > &INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(typecheck) std::vector< dword,std::allocator< dword > > *INPUT = std::vector<
dword,std::allocator< dword > > *INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(typecheck) std::vector< dword,std::allocator< dword > > &INPUT = std::vector<
dword,std::allocator< dword > > &INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(argout) std::vector< dword,std::allocator< dword > > *OUTPUT = std::vector<
dword,std::allocator< dword > > *INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(argout) std::vector< dword,std::allocator< dword > > &OUTPUT = std::vector<
dword,std::allocator< dword > > &INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(typecheck) std::vector< dword,std::allocator< dword > > *INPUT = std::vector<
dword,std::allocator< dword > > *INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(typecheck) std::vector< dword,std::allocator< dword > > &INPUT = std::vector<
dword,std::allocator< dword > > &INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(freearg) std::vector< dword,std::allocator< dword > > *INPUT = std::vector<
dword,std::allocator< dword > > *INOUT
[ 320s] /usr/share/swig/2.0.9/std/std_vector.i:87: Error: Can't copy typemap
(freearg) std::vector< dword,std::allocator< dword > > &INPUT = std::vector<
dword,std::allocator< dword > > &INOUT
[ 321s] python/pysimulationmember.h:38: Warning 514: Director base class
PySimulationMember has no virtual destructor.
[ 322s] make[3]: *** [pysimulavr_wrap.cpp] Error 11
--
It's possible that this might be a problem of swig...
I worked around this issue with the attached patch, but I don't know if this
is correct, as I haven't tried the python part of simulavr.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: So 17 Mär 2013 12:43:44 GMT Name: swig-fix Size: 1kB By: heinervdm
<http://savannah.nongnu.org/bugs/download.php?file_id=27616>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?38535>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Simulavr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/simulavr-devel