Skip to content

Compile fixes for visual studio#32

Merged
bvernoux merged 3 commits intoairspy:devfrom
pothosware:dev
Dec 6, 2015
Merged

Compile fixes for visual studio#32
bvernoux merged 3 commits intoairspy:devfrom
pothosware:dev

Conversation

@guruofquality
Copy link
Copy Markdown
Contributor

The following patches fix the build for visual studio, allowing VC11 to compile, and allowing arbitrary libusb and pthread libraries to be specified.

The win32 build was looking for pthread and libusb in specific locations.
This patch allows these depedencies to be specified as arbitrary parameters.
The strtoull() function is missing from both the library and the tools,
however, VC11 provides a compatible function named _strtoui64().
A simple definition at the top level fixes this compile issue.
The SSE code compiles for VC12, but not VC11.
This patch fixes an existing ifdef version check
so that VC11 uses the non-SSE code to compile.
bvernoux added a commit that referenced this pull request Dec 6, 2015
Compile fixes for visual studio 2012
@bvernoux bvernoux merged commit 58b480d into airspy:dev Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants