discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] gnuradio-3.7.0 _runtime_swig Build Fault


From: Sean
Subject: [Discuss-gnuradio] gnuradio-3.7.0 _runtime_swig Build Fault
Date: Mon, 26 Aug 2013 23:23:07 +0800

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_swig.lib and object C:/src/gnuradio-3.7.0/build/gnuradio-runtime/swig/RelWithDebInfo/_runtime_swig.exp

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

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

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

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

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

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>)" (address@hidden@gr@@address@hidden@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)" (address@hidden@@address@hidden) referenced in function "int `public: virtual __cdecl SwigDirector_feval_ll::~SwigDirector_feval_ll(void)'::`1'::dtor$0" (address@hidden@@address@hidden@4HA)

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

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

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

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

6>runtime_swigPYTHON_wrap.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl gr::py_feval::calleval(void)" (address@hidden@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)" (address@hidden@@address@hidden) referenced in function "int `public: virtual __cdecl SwigDirector_feval_p::~SwigDirector_feval_p(void)'::`1'::dtor$0" (address@hidden@@address@hidden@4HA)

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

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>)" (address@hidden@gr@@address@hidden@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

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]