[USRP-users] UHD build problem on Win7

Jason Matusiak jason at gardettoengineering.com
Wed Jul 15 14:58:30 EDT 2015


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....
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeCache.txt
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150715/48579903/attachment-0002.txt>


More information about the USRP-users mailing list