[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building PyTave on windows - cygwin
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Building PyTave on windows - cygwin |
Date: |
Fri, 17 Jun 2016 14:21:36 +0900 (JST) |
----- Original Message -----
>From: Abhinav Tripathi
>To: Tatsuro MATSUOKA
>Cc: Mike Miller; "Octave-maintainers
>Date: 2016/6/17, Fri 13:25
>Subject: Re: Building PyTave on windows - cygwin
>
>
>
>Please also add "-L/e/octave_dev/lib" in addition to
>"-L/e/octave_dev/lib/octave/4.1.0+" to LDFLAGS
>>
>
>
> I did that I the build went a little further. It now gives these errors in
>octave headers:
>----------------------------------------------------------
>pycall.o: In function `Gpycall':
>E:\My_Repos\pytave/pycall.cc:40: undefined reference to
>`check_version(std::__cxx11::basic_string<char, std::char_traits<char>,
>std::allocator<char> > const&, std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > const&)'
>E:\My_Repos\pytave/pycall.cc:40: undefined reference to
>`octave_dld_function::create(octave_value_list (*)(octave_value_list const&,
>int), octave::dynamic_library const&, std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > const&,
>std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>> const&)'
>pycall.o: In function `Array<std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > >::Array()':
>E:/octave_dev/include/octave-4.1.0+/octave/Array.h:168: undefined reference to
>`Array<std::__cxx11::basic_string<char, std::char_traits<char>,
>std::allocator<char> > >::nil_rep()'
>pycall.o:pycall.cc:(.rdata$_ZTV5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE[_ZTV5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE]+0x20):
> undefined reference to `Array<std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > >::resize_fill_value() const'
>pycall.o:pycall.cc:(.rdata$_ZTV13string_vector[_ZTV13string_vector]+0x20):
>undefined reference to `Array<std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > >::resize_fill_value() const'
>./.libs/libpytave.a(libpytave_la-octave_to_python.o): In function
>`octmap_to_pyobject':
>E:\My_Repos\pytave/octave_to_python.cc:207: undefined reference to
>`octave_map::contents(std::__cxx11::basic_string<char, std::char_traits<char>,
>std::allocator<char> > const&) const'
>./.libs/libpytave.a(libpytave_la-python_to_octave.o): In function
>`pytave::pyobj_to_octvalue(octave_value&, boost::python::api::object const&)':
>E:\My_Repos\pytave/python_to_octave.cc:502: undefined reference to
>`octave_value::octave_value(std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > const&, char)'
>E:\My_Repos\pytave/python_to_octave.cc:504: undefined reference to
>`octave_value::octave_value(std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > const&, char)'
>./.libs/libpytave.a(libpytave_la-python_to_octave.o): In function
>`pydict_to_octmap':
>E:\My_Repos\pytave/python_to_octave.cc:423: undefined reference to
>`valid_identifier(std::__cxx11::basic_string<char, std::char_traits<char>,
>std::allocator<char> > const&)'
>./.libs/libpytave.a(libpytave_la-python_to_octave.o): In function
>`octave_map::assign(std::__cxx11::basic_string<char, std::char_traits<char>,
>std::allocator<char> > const&, Cell const&)':
>E:/octave_dev/include/octave-4.1.0+/octave/oct-map.h:349: undefined reference
>to `octave_map::setfield(std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > const&, Cell const&)'
>E:/octave_dev/include/octave-4.1.0+/octave/oct-map.h:349: undefined reference
>to `octave_map::setfield(std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > const&, Cell const&)'
>E:/octave_dev/include/octave-4.1.0+/octave/oct-map.h:349: undefined reference
>to `octave_map::setfield(std::__cxx11::basic_string<char,
>std::char_traits<char>, std::allocator<char> > const&, Cell const&)'
>./.libs/libpytave.a(libpytave_la-python_to_octave.o): In function
>`Array<std::__cxx11::basic_string<char, std::char_traits<char>,
>std::allocator<char> > >::Array()':
>E:/octave_dev/include/octave-4.1.0+/octave/Array.h:168: undefined reference to
>`Array<std::__cxx11::basic_string<char, std::char_traits<char>,
>std::allocator<char> > >::nil_rep()'
>E:/octave_dev/include/octave-4.1.0+/octave/Array.h:168: undefined reference to
>`Array<std::__cxx11::basic_string<char, std::char_traits<char>,
>std::allocator<char> > >::nil_rep()'
>collect2.exe: error: ld returned 1 exit status
>make[1]: *** [Makefile:1011: pycall.oct] Error 1
>make[1]: Leaving directory '/e/My_Repos/pytave'
>make: *** [Makefile:476: all] Error 2
>-----------------------------------------------------------
>
>I don't know if it is a c++11 compatiblity error or due to missing lib files...
>
>
>.
>Abhinav
Sorry I cannot advise you for this error.
Much expert for C++, octave and Pytave will help you
Tatsuro
- Re: Building PyTave on windows - cygwin, (continued)
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/15
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/16
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/16
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/16
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/16
- Re: Building PyTave on windows - cygwin, Mike Miller, 2016/06/16
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/16
- Re: Building PyTave on windows - cygwin, Mike Miller, 2016/06/16
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/16
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/17
- Re: Building PyTave on windows - cygwin,
Tatsuro MATSUOKA <=
- Re: Building PyTave on windows - cygwin, Mike Miller, 2016/06/17
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/17
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/17
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/17
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/19
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/19
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/20
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/20
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/20
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/20