Skip to content

Instantly share code, notes, and snippets.

@ghorn
Created September 18, 2015 19:26
Show Gist options
  • Save ghorn/04fc265f5dcc1da2f937 to your computer and use it in GitHub Desktop.
Save ghorn/04fc265f5dcc1da2f937 to your computer and use it in GitHub Desktop.
cbits/autogen/casadi_wrap_classes.cpp: In function ‘casadi::CodeGenerator* casadi__CodeGenerator__CONSTRUCTOR__0(std::string**)’:
cbits/autogen/casadi_wrap_classes.cpp:1331:59:
error: use of deleted function ‘casadi::CodeGenerator::CodeGenerator(casadi::CodeGenerator&&)’
casadi::CodeGenerator ret = casadi::CodeGenerator();
^
In file included from /home/greghorn/casadi_install/include/casadi/core/core.hpp:46:0:
0,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
note: ‘casadi::CodeGenerator::CodeGenerator(casadi::CodeGenerator&&)’ is implicitly deleted because the default definition would be ill-formed:
class CASADI_EXPORT CodeGenerator {
^
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
error: use of deleted function ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’
In file included from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:31:0:
0,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/sstream:502:11:
note: ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_stringstream : public basic_iostream<_CharT, _Traits>
^
/usr/include/c++/4.8/sstream:502:11:
error: use of deleted function ‘std::basic_iostream<char>::basic_iostream(const std::basic_iostream<char>&)’
In file included from /usr/include/c++/4.8/iostream:40:0:
0,
from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:29,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/istream:795:11:
note: ‘std::basic_iostream<char>::basic_iostream(const std::basic_iostream<char>&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_iostream
^
/usr/include/c++/4.8/istream:795:11:
error: use of deleted function ‘std::basic_istream<char>::basic_istream(const std::basic_istream<char>&)’
/usr/include/c++/4.8/istream:58:11:
note: ‘std::basic_istream<char>::basic_istream(const std::basic_istream<char>&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_istream : virtual public basic_ios<_CharT, _Traits>
^
/usr/include/c++/4.8/istream:58:11:
error: use of deleted function ‘std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)’
In file included from /usr/include/c++/4.8/ios:44:0:
0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:29,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/bits/basic_ios.h:66:11:
note: ‘std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_ios : public ios_base
^
In file included from /usr/include/c++/4.8/ios:42:0:
0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:29,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/bits/ios_base.h:786:5:
error: ‘std::ios_base::ios_base(const std::ios_base&)’ is private
ios_base(const ios_base&);
^
In file included from /usr/include/c++/4.8/ios:44:0:
0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:29,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/bits/basic_ios.h:66:11:
error: within this context
class basic_ios : public ios_base
^
In file included from /usr/include/c++/4.8/iostream:40:0:
0,
from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:29,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/istream:795:11:
error: use of deleted function ‘std::basic_ostream<char>::basic_ostream(const std::basic_ostream<char>&)’
class basic_iostream
^
In file included from /usr/include/c++/4.8/iostream:39:0:
0,
from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:29,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/ostream:58:11:
note: ‘std::basic_ostream<char>::basic_ostream(const std::basic_ostream<char>&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_ostream : virtual public basic_ios<_CharT, _Traits>
^
/usr/include/c++/4.8/ostream:58:11:
error: use of deleted function ‘std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)’
In file included from /usr/include/c++/4.8/iostream:40:0:
0,
from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:29,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/istream:795:11:
error: use of deleted function ‘std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)’
class basic_iostream
^
In file included from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:31:0:
0,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/sstream:502:11:
error: use of deleted function ‘std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)’
class basic_stringstream : public basic_iostream<_CharT, _Traits>
^
/usr/include/c++/4.8/sstream:502:11:
error: use of deleted function ‘std::basic_stringbuf<char>::basic_stringbuf(const std::basic_stringbuf<char>&)’
/usr/include/c++/4.8/sstream:64:11:
note: ‘std::basic_stringbuf<char>::basic_stringbuf(const std::basic_stringbuf<char>&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_stringbuf : public basic_streambuf<_CharT, _Traits>
^
In file included from /usr/include/c++/4.8/ios:43:0:
0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:29,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/streambuf:802:7:
error: ‘std::basic_streambuf<_CharT, _Traits>::basic_streambuf(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char; _Traits = std::char_traits<char>]’ is private
basic_streambuf(const basic_streambuf& __sb)
^
In file included from /home/greghorn/casadi_install/include/casadi/core/sx/../printable_object.hpp:31:0:
0,
from /home/greghorn/casadi_install/include/casadi/core/sx/sx_element.hpp:30,
from /home/greghorn/casadi_install/include/casadi/core/core.hpp:30,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/usr/include/c++/4.8/sstream:64:11:
error: within this context
class basic_stringbuf : public basic_streambuf<_CharT, _Traits>
^
In file included from /home/greghorn/casadi_install/include/casadi/core/core.hpp:46:0:
0,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
error: use of deleted function ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’
class CASADI_EXPORT CodeGenerator {
^
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
error: use of deleted function ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
error: use of deleted function ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’
cbits/autogen/casadi_wrap_classes.cpp:1332:93:
error: use of deleted function ‘casadi::CodeGenerator::CodeGenerator(const casadi::CodeGenerator&)’
return WrapReturn< casadi::CodeGenerator*, casadi::CodeGenerator >::wrapReturn( ret );
^
In file included from /home/greghorn/casadi_install/include/casadi/core/core.hpp:46:0:
0,
from /home/greghorn/casadi_install/include/casadi/casadi.hpp:29,
from cbits/autogen/casadi_wrap_classes.cpp:1:
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
note: ‘casadi::CodeGenerator::CodeGenerator(const casadi::CodeGenerator&)’ is implicitly deleted because the default definition would be ill-formed:
class CASADI_EXPORT CodeGenerator {
^
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
error: use of deleted function ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
error: use of deleted function ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
error: use of deleted function ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’
/home/greghorn/casadi_install/include/casadi/core/function/code_generator.hpp:36:23:
error: use of deleted function ‘std::basic_stringstream<char>::basic_stringstream(const std::basic_stringstream<char>&)’
In file included from cbits/autogen/casadi_wrap_classes.cpp:5:0:
cbits/autogen/../marshal.hpp:107:14:
error: initializing argument 1 of ‘static T1* WrapReturn<T1*, T2>::wrapReturn(T2) [with T1 = casadi::CodeGenerator; T2 = casadi::CodeGenerator]’
static T1* wrapReturn(T2 x){
^
cbits/autogen/casadi_wrap_classes.cpp: In function ‘casadi::CodeGenerator* casadi__CodeGenerator__CONSTRUCTOR__1(std::string**, std::map<std::basic_string<char>, casadi::GenericType*>*)’:
cbits/autogen/casadi_wrap_classes.cpp:1359:62:
error: use of deleted function ‘casadi::CodeGenerator::CodeGenerator(casadi::CodeGenerator&&)’
casadi::CodeGenerator ret = casadi::CodeGenerator(x0_);
^
cbits/autogen/casadi_wrap_classes.cpp:1360:93:
error: use of deleted function ‘casadi::CodeGenerator::CodeGenerator(const casadi::CodeGenerator&)’
return WrapReturn< casadi::CodeGenerator*, casadi::CodeGenerator >::wrapReturn( ret );
^
In file included from cbits/autogen/casadi_wrap_classes.cpp:5:0:
cbits/autogen/../marshal.hpp:107:14:
error: initializing argument 1 of ‘static T1* WrapReturn<T1*, T2>::wrapReturn(T2) [with T1 = casadi::CodeGenerator; T2 = casadi::CodeGenerator]’
static T1* wrapReturn(T2 x){
^
cbits/autogen/../marshal.hpp: In instantiation of ‘static T1* WrapReturn<T1*, T2>::wrapReturn(T2) [with T1 = casadi::CodeGenerator; T2 = casadi::CodeGenerator]’:
cbits/autogen/casadi_wrap_classes.cpp:1332:77:
required from here
cbits/autogen/../marshal.hpp:108:53:
error: use of deleted function ‘casadi::CodeGenerator::CodeGenerator(const casadi::CodeGenerator&)’
return new T1( WrapReturn<T1,T2>::wrapReturn(x) );
^
cbits/autogen/../marshal.hpp:73:15:
error: initializing argument 1 of ‘static T1 WrapReturn<T1, T2>::wrapReturn(T2) [with T1 = casadi::CodeGenerator; T2 = casadi::CodeGenerator]’
static T1 wrapReturn(T2 x){ return x; }
^
cbits/autogen/../marshal.hpp:108:55:
error: use of deleted function ‘casadi::CodeGenerator::CodeGenerator(casadi::CodeGenerator&&)’
return new T1( WrapReturn<T1,T2>::wrapReturn(x) );
^
cbits/autogen/../marshal.hpp: In instantiation of ‘static T1 WrapReturn<T1, T2>::wrapReturn(T2) [with T1 = casadi::CodeGenerator; T2 = casadi::CodeGenerator]’:
cbits/autogen/../marshal.hpp:108:53:
required from ‘static T1* WrapReturn<T1*, T2>::wrapReturn(T2) [with T1 = casadi::CodeGenerator; T2 = casadi::CodeGenerator]’
cbits/autogen/casadi_wrap_classes.cpp:1332:77:
required from here
cbits/autogen/../marshal.hpp:73:40:
error: use of deleted function ‘casadi::CodeGenerator::CodeGenerator(casadi::CodeGenerator&&)’
static T1 wrapReturn(T2 x){ return x; }
^
cbits/autogen/../marshal.hpp:73:0:
confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccvJjSWq.out file, please attach this to your bugreport.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment