HubertD / cangaroo

open source can bus analyzer software
GNU General Public License v2.0
282 stars 173 forks source link

fix windows build by not building canifconfig #8

Closed gpenghe closed 8 years ago

gpenghe commented 8 years ago

The Windows build is failed by indicating "Project ERROR: libnl-3.0 development package not found". It looks to me that canifconfig is not buildable on Windows since there is no SocketCAN interface on Windows. So this two-line change will skip canifconfig on Windows and fix the issue #7.

I am not sure about macOS (Mac OS X), though my brief googling hasn't found out a macOS implementation of SocketCAN as well. If that's true, we may disable canifconfig for Mac as well, though more changes might be needed for a successful Mac build.

This patch has been tested on Windows 10 and Ubuntu 14.04.4 LTS.