{"action":"created","issue":{"url":"https://api.github.com/repos/EttusResearch/uhd/issues/174","repository_url":"https://api.github.com/repos/EttusResearch/uhd","labels_url":"https://api.github.com/repos/EttusResearch/uhd/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/EttusResearch/uhd/issues/174/comments","events_url":"https://api.github.com/repos/EttusResearch/uhd/issues/174/events","html_url":"https://github.com/EttusResearch/uhd/issues/174","id":319257923,"node_id":"MDU6SXNzdWUzMTkyNTc5MjM=","number":174,"title":"Python API will not compile on Windows","user":{"login":"jaykuhn","id":38667179,"node_id":"MDQ6VXNlcjM4NjY3MTc5","avatar_url":"https://avatars0.githubusercontent.com/u/38667179?v=4","gravatar_id":"","url":"https://api.github.com/users/jaykuhn","html_url":"https://github.com/jaykuhn","followers_url":"https://api.github.com/users/jaykuhn/followers","following_url":"https://api.github.com/users/jaykuhn/following{/other_user}","gists_url":"https://api.github.com/users/jaykuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/jaykuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaykuhn/subscriptions","organizations_url":"https://api.github.com/users/jaykuhn/orgs","repos_url":"https://api.github.com/users/jaykuhn/repos","events_url":"https://api.github.com/users/jaykuhn/events{/privacy}","received_events_url":"https://api.github.com/users/jaykuhn/received_events","type":"User","site_admin":false},"labels":[{"id":831295860,"node_id":"MDU6TGFiZWw4MzEyOTU4NjA=","url":"https://api.github.com/repos/EttusResearch/uhd/labels/Python%20API","name":"Python API","color":"23ce4b","default":false},{"id":33633749,"node_id":"MDU6TGFiZWwzMzYzMzc0OQ==","url":"https://api.github.com/repos/EttusResearch/uhd/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-05-01T17:00:56Z","updated_at":"2018-08-06T15:07:38Z","closed_at":"2018-07-18T00:04:12Z","author_association":"NONE","body":"\r\nI have easily built the standard interface on Windows. However on Windows I am having problems. I believe they are related to versioning. I have checked out the latest Git code for the python branch. I am using boost 1.58. Some of the things I noticed. \r\n•\tCMake fails because BOOST_PYTHON_FOUND is not found. I have set the recommended variables. I can make it complete by adding BOOT_PYTHON_FOUND true in the CMake GUI. \r\n•\tTransport/zero_copy uses socket.native(.. However in  later versions of boost is depreciated and the call is to native_handle.  However 1.58 versions of the boost binaries only go up to VS version 12.  \r\n•\tThe maint branch calls native_handle. \r\n•\tI get compiler errors such as:\r\n2> libusb1_base.cpp \r\n2>C:\\Users\\Jay\\Ettus\\git_python_api\\uhd\\host\\lib\\transport\\libusb1_base.cpp(394): \r\nerror C2600: 'uhd::transport::usb_device_handle::~usb_device_handle' : cannot define a compiler-generated special member function (must be declared in the class first)\r\n\r\n•\tI have also seen compiler errors complain about definition of a Virtual method. \r\n•\tI want to try a latter VS executable but boost 1.53 binaries at sourceforge only go up to msvc-12.0\r\n\r\nJay\r\n"},"comment":{"url":"https://api.github.com/repos/EttusResearch/uhd/issues/comments/410740948","html_url":"https://github.com/EttusResearch/uhd/issues/174#issuecomment-410740948","issue_url":"https://api.github.com/repos/EttusResearch/uhd/issues/174","id":410740948,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDc0MDk0OA==","user":{"login":"jaykuhn","id":38667179,"node_id":"MDQ6VXNlcjM4NjY3MTc5","avatar_url":"https://avatars0.githubusercontent.com/u/38667179?v=4","gravatar_id":"","url":"https://api.github.com/users/jaykuhn","html_url":"https://github.com/jaykuhn","followers_url":"https://api.github.com/users/jaykuhn/followers","following_url":"https://api.github.com/users/jaykuhn/following{/other_user}","gists_url":"https://api.github.com/users/jaykuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/jaykuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaykuhn/subscriptions","organizations_url":"https://api.github.com/users/jaykuhn/orgs","repos_url":"https://api.github.com/users/jaykuhn/repos","events_url":"https://api.github.com/users/jaykuhn/events{/privacy}","received_events_url":"https://api.github.com/users/jaykuhn/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T15:07:38Z","updated_at":"2018-08-06T15:07:38Z","author_association":"NONE","body":"Hi Tran,\r\n\r\nThe problem below was I had some extra paths in my PYTHON_PATHS.    I now have problems with FLASH versions. The probe command returned that the FGPA was 35, but got 13.   I followed the procedure to reflash.  That worked but now I have a residual DDC  error from probe command:\r\n\r\n\r\nPS C:\\Program Files\\UHD\\bin> .\\uhd_usrp_probe.exe --args addr=192.168.10.2\r\n[INFO] [UHD] Win32; Microsoft Visual C++ version 14.1; Boost_106600; UHD_3.13.0.0-0-gf114cfa0\r\n[INFO] [X300] X300 initialization sequence...\r\n[INFO] [X300] Maximum frame size: 1472 bytes.\r\n[INFO] [X300] Radio 1x clock: 200 MHz\r\n[INFO] [GPS] No GPSDO found\r\n[WARNING] [UDP] The MTU (1472) is larger than the FastSendDatagramThreshold (1024)!\r\nThis will negatively affect the transmit performance.\r\nSee the transport application notes for more detail.\r\n\r\n[INFO] [0/DmaFIFO_0] Initializing block control (NOC ID: 0xF1F0D00000000000)\r\n[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1307 MB/s)\r\n[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1317 MB/s)\r\n[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001)\r\n[INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001)\r\n[INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)\r\n[ERROR] [DDC] Major compat number mismatch for DDC: Expecting 2, got 1.\r\nError: RuntimeError: FPGA component `DDC' is revision 1 and UHD supports revision 2. Please either upgrade the FPGA image (recommended) or downgrade UHD.\r\n\r\n\r\n\r\n\r\n\r\n\r\nFrom: Trung Tran <notifications@github.com>\r\nSent: August 3, 2018 4:49 PM\r\nTo: EttusResearch/uhd <uhd@noreply.github.com>\r\nCc: Jay Kuhn <jkuhn@impinj.com>; Mention <mention@noreply.github.com>\r\nSubject: Re: [EttusResearch/uhd] Python API will not compile on Windows (#174)\r\n\r\n\r\nI'm not familiar with Anaconda but that error telling me that the path to numpy's pyd files some what not correct.\r\nIn previous procedures, I actually missed the python path which may not be in the system path.\r\nOn my system the numpy's pyd files are at C:\\Program Files\\Python27\\Lib\\Site-packages\\numpy\\ core\\multiarray.pyd\r\n\r\n—\r\nYou are receiving this because you were mentioned.\r\nReply to this email directly, view it on GitHub<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEttusResearch%2Fuhd%2Fissues%2F174%23issuecomment-410403252&data=02%7C01%7Cjkuhn%40impinj.com%7Cfcb0c5e22b5d4661fffd08d5f99ba5e0%7C6de70f0f73574529a415d8cbb7e93e5e%7C0%7C0%7C636689369327893855&sdata=0lYbRABE%2FKA%2B28DwJ7sX8Bt9dd4kKy3EJxaz4lHVNaA%3D&reserved=0>, or mute the thread<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAk4Dq92BnbYQqQBh1he1g9Aaucx6pP8bks5uNOFbgaJpZM4TuMmZ&data=02%7C01%7Cjkuhn%40impinj.com%7Cfcb0c5e22b5d4661fffd08d5f99ba5e0%7C6de70f0f73574529a415d8cbb7e93e5e%7C0%7C0%7C636689369327903864&sdata=sfypMMLByIUXlVj0vjSGviKj%2FpfH%2B%2BTwQy2rsvr5G0E%3D&reserved=0>.\r\n"}}
{"actor":{"display_login":"jaykuhn"}}