[USRP-users] UHD build problem on Win7

Martin Braun martin.braun at ettus.com
Wed Jul 15 15:05:20 EDT 2015


Jason,

which compiler + version are you using? We tried building rfnoc-devel on
Windows, and didn't see these issues, but we are using a lot of C++
features.

Also, you've built rfnoc in the past, haven't you? What changed?

Cheers,
Martin

On 15.07.2015 11:58, Jason Matusiak via USRP-users wrote:
> Trying to get UHD to build on Win7 and am having an issue.
> 
> I am following the steps from here:
> http://files.ettus.com/manual/page_build_guide.html
> 
> And when I get to the Build the project in MSVC stage, and choose
> "build", I get a series of errors that look like this:
> Error	4	error C2664: 'uhd::rfnoc::nocscript::expression_literal
> (uhd::rfnoc::nocscript::expression_container::expr_list_type &)' :
> cannot convert argument 1 from 'const
> uhd::rfnoc::nocscript::expression_container::expr_list_type' to
> 'uhd::rfnoc::nocscript::expression_container::expr_list_type &'
> (C:\uhd\host\lib\usrp\rfnoc\nocscript\function_table.cpp)	C:\boost_1_58_0\boost\bind\bind.hpp	243	1	uhd
> 
> Error	15	error C2664: 'void
> boost::_mfi::mf2<void,sbx_xcvr::cbx,uhd::usrp::dboard_iface::unit_t,std::vector<uint32_t,std::allocator<char32_t>>
> &>::operator ()(T *,A1,A2) const' : cannot convert argument 3 from
> 'const std::vector<uint32_t,std::allocator<char32_t>>' to
> 'std::vector<uint32_t,std::allocator<char32_t>>
> '	C:\boost_1_58_0\boost\bind\bind.hpp	392	1	uhd
> 
> Error	18	error LNK1181: cannot open input file
> '..\lib\Release\uhd.lib'	C:\uhd\host\build\tests\LINK	byteswap_test
> 
> Error	79	error C2664: 'uhd::rfnoc::nocscript::expression_literal
> (uhd::rfnoc::nocscript::expression_container::expr_list_type &)' :
> cannot convert argument 1 from 'const
> uhd::rfnoc::nocscript::expression_container::expr_list_type' to
> 'uhd::rfnoc::nocscript::expression_container::expr_list_type
> &'	C:\boost_1_58_0\boost\bind\bind.hpp	243	1	nocscript_parser_test
> 
> 
> There are 69 errors in total.  Am I missing something here?  I believe
> that I have the Boost stuff installed properly and the CMAKE setup OK
> (see attached for that), but it feels like I don't have something else
> setup properly....
> 
> 
> 
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 





More information about the USRP-users mailing list