Hi,

 

I'm a newer for gnuradio, I want to build gnuradio in windows 7 64bit, using
VS2010, swig 2.0.9

 

I'm following the "Compilation walkthrough for windows x64" in the mail
list.

http://lists.gnu.org/archive/html/discuss-gnuradio/2013-08/msg00284.html

 

after run ALL_BUILD, the _runtime_swig and some blocks' _swig project will
build fault. Please see the following output. Could you help me solve this
problem?

 

 

6>------ Build started: Project: _runtime_swig, Configuration:
RelWithDebInfo x64 ------

6>Build started 2013/8/26 23:18:54.

6>InitializeBuildStatus:

6>  Touching
"_runtime_swig.dir\RelWithDebInfo\_runtime_swig.unsuccessfulbuild".

6>CustomBuild:

6>  All outputs are up-to-date.

6>ClCompile:

6>  runtime_swigPYTHON_wrap.cxx

6>c:\python27\include\pyconfig.h(58): warning C4005: 'HAVE_IO_H' : macro
redefinition

6>          command-line arguments :  see previous definition of 'HAVE_IO_H'

6>C:\src\boost_1_54_0\boost/format/alt_sstream_impl.hpp : warning C4819: The
file contains a character that cannot be represented in the current code
page (936). Save the file in Unicode format to prevent data loss

6>ManifestResourceCompile:

6>  All outputs are up-to-date.

6>Link:

6>     Creating library
C:/src/gnuradio-3.7.0/build/gnuradio-runtime/swig/RelWithDebInfo/_runtime_sw
ig.lib and object
C:/src/gnuradio-3.7.0/build/gnuradio-runtime/swig/RelWithDebInfo/_runtime_sw
ig.exp

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __cdecl
gr::py_feval_dd::~py_feval_dd(void)" (__imp_??1py_feval_dd@gr@@UEAA@XZ)
referenced in function "int `public: virtual __cdecl
SwigDirector_feval_dd::~SwigDirector_feval_dd(void)'::`1'::dtor$0"
(?dtor$0@?0???1SwigDirector_feval_dd@@UEAA@XZ@4HA)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) const gr::py_feval_dd::`vftable'"
(__imp_??_7py_feval_dd@gr@@6B@) referenced in function "public: virtual
__cdecl SwigDirector_feval_dd::~SwigDirector_feval_dd(void)"
(??1SwigDirector_feval_dd@@UEAA@XZ)

6>runtime_swigPYTHON_wrap.obj : error LNK2001: unresolved external symbol
"public: virtual double __cdecl gr::py_feval_dd::calleval(double)"
(?calleval@py_feval_dd@gr@@UEAANN@Z)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __cdecl
gr::py_feval_cc::~py_feval_cc(void)" (__imp_??1py_feval_cc@gr@@UEAA@XZ)
referenced in function "int `public: virtual __cdecl
SwigDirector_feval_cc::~SwigDirector_feval_cc(void)'::`1'::dtor$0"
(?dtor$0@?0???1SwigDirector_feval_cc@@UEAA@XZ@4HA)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) const gr::py_feval_cc::`vftable'"
(__imp_??_7py_feval_cc@gr@@6B@) referenced in function "public: virtual
__cdecl SwigDirector_feval_cc::~SwigDirector_feval_cc(void)"
(??1SwigDirector_feval_cc@@UEAA@XZ)

6>runtime_swigPYTHON_wrap.obj : error LNK2001: unresolved external symbol
"public: virtual class std::complex<float> __cdecl
gr::py_feval_cc::calleval(class std::complex<float>)"
(?calleval@py_feval_cc@gr@@UEAA?AV?$complex@M@std@@V34@@Z)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __cdecl
gr::py_feval_ll::~py_feval_ll(void)" (__imp_??1py_feval_ll@gr@@UEAA@XZ)
referenced in function "int `public: virtual __cdecl
SwigDirector_feval_ll::~SwigDirector_feval_ll(void)'::`1'::dtor$0"
(?dtor$0@?0???1SwigDirector_feval_ll@@UEAA@XZ@4HA)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) const gr::py_feval_ll::`vftable'"
(__imp_??_7py_feval_ll@gr@@6B@) referenced in function "public: virtual
__cdecl SwigDirector_feval_ll::~SwigDirector_feval_ll(void)"
(??1SwigDirector_feval_ll@@UEAA@XZ)

6>runtime_swigPYTHON_wrap.obj : error LNK2001: unresolved external symbol
"public: virtual long __cdecl gr::py_feval_ll::calleval(long)"
(?calleval@py_feval_ll@gr@@UEAAJJ@Z)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __cdecl
gr::py_feval::~py_feval(void)" (__imp_??1py_feval@gr@@UEAA@XZ) referenced in
function "int `public: virtual __cdecl
SwigDirector_feval::~SwigDirector_feval(void)'::`1'::dtor$0"
(?dtor$0@?0???1SwigDirector_feval@@UEAA@XZ@4HA)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) const gr::py_feval::`vftable'"
(__imp_??_7py_feval@gr@@6B@) referenced in function "public: virtual __cdecl
SwigDirector_feval::~SwigDirector_feval(void)"
(??1SwigDirector_feval@@UEAA@XZ)

6>runtime_swigPYTHON_wrap.obj : error LNK2001: unresolved external symbol
"public: virtual void __cdecl gr::py_feval::calleval(void)"
(?calleval@py_feval@gr@@UEAAXXZ)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __cdecl
gr::py_feval_p::~py_feval_p(void)" (__imp_??1py_feval_p@gr@@UEAA@XZ)
referenced in function "int `public: virtual __cdecl
SwigDirector_feval_p::~SwigDirector_feval_p(void)'::`1'::dtor$0"
(?dtor$0@?0???1SwigDirector_feval_p@@UEAA@XZ@4HA)

6>runtime_swigPYTHON_wrap.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) const gr::py_feval_p::`vftable'"
(__imp_??_7py_feval_p@gr@@6B@) referenced in function "public: virtual
__cdecl SwigDirector_feval_p::~SwigDirector_feval_p(void)"
(??1SwigDirector_feval_p@@UEAA@XZ)

6>runtime_swigPYTHON_wrap.obj : error LNK2001: unresolved external symbol
"public: virtual void __cdecl gr::py_feval_p::calleval(class
boost::intrusive_ptr<class pmt::pmt_base>)"
(?calleval@py_feval_p@gr@@UEAAXV?$intrusive_ptr@Vpmt_base@pmt@@@boost@@@Z)

6>C:\src\gnuradio-3.7.0\build\gnuradio-runtime\swig\RelWithDebInfo\_runtime_
swig.pyd : fatal error LNK1120: 15 unresolved externals

6>

6>Build FAILED.

 

 

97>------ Build started: Project: _analog_swig, Configuration:
RelWithDebInfo x64 ------

97>Build started 2013/8/26 23:16:15.

97>InitializeBuildStatus:

97>  Creating
"_analog_swig.dir\RelWithDebInfo\_analog_swig.unsuccessfulbuild" because
"AlwaysCreate" was specified.

97>CustomBuild:

97>  Building Custom Rule
C:/src/gnuradio-3.7.0/gr-analog/swig/CMakeLists.txt

97>  CMake does not need to re-run because
C:\src\gnuradio-3.7.0\build\gr-analog\swig\CMakeFiles\generate.stamp is
up-to-date.

97>  Generating analog_swig.tag

97>  Swig source

95>C:\src\boost_1_54_0\boost/format/alt_sstream_impl.hpp : warning C4819:
The file contains a character that cannot be represented in the current code
page (936). Save the file in Unicode format to prevent data loss

95>blocks_swig1PYTHON_wrap.cxx(6213): error C2679: binary '=' : no operator
found which takes a right-hand operand of type 'std::vector<_Ty,_Ax>' (or
there is no acceptable conversion)

95>          with

95>          [

95>              _Ty=unsigned long,

95>              _Ax=std::allocator<unsigned long>

95>          ]

95>          C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\vector(599): could be 'std::vector<_Ty>
&std::vector<_Ty>::operator =(std::vector<_Ty> &&)'

95>          with

95>          [

95>              _Ty=uint64_t

95>          ]

95>          C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\vector(708): or       'std::vector<_Ty>
&std::vector<_Ty>::operator =(const std::vector<_Ty> &)'

95>          with

95>          [

95>              _Ty=uint64_t

95>          ]

95>          while trying to match the argument list '(std::vector<_Ty>,
std::vector<_Ty,_Ax>)'

95>          with

95>          [

95>              _Ty=uint64_t

95>          ]

95>          and

95>          [

95>              _Ty=unsigned long,

95>              _Ax=std::allocator<unsigned long>

95>          ]

95>blocks_swig1PYTHON_wrap.cxx(31500): error C2679: binary '=' : no operator
found which takes a right-hand operand of type 'std::vector<_Ty,_Ax>' (or
there is no acceptable conversion)

95>          with

95>          [

95>              _Ty=unsigned long,

95>              _Ax=std::allocator<unsigned long>

95>          ]

95>          C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\vector(599): could be 'std::vector<_Ty>
&std::vector<_Ty>::operator =(std::vector<_Ty> &&)'

95>          with

95>          [

95>              _Ty=uint64_t

95>          ]

95>          C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\vector(708): or       'std::vector<_Ty>
&std::vector<_Ty>::operator =(const std::vector<_Ty> &)'

95>          with

95>          [

95>              _Ty=uint64_t

95>          ]

95>          while trying to match the argument list '(std::vector<_Ty>,
std::vector<_Ty,_Ax>)'

95>          with

95>          [

95>              _Ty=uint64_t

95>          ]

95>          and

95>          [

95>              _Ty=unsigned long,

95>              _Ax=std::allocator<unsigned long>

95>          ]

95>

95>Build FAILED.

 

 

 

 

Regards to all,

 

Sean

 

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to