Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could some additional instructions be provided? #7

Closed
zimler opened this issue Jul 20, 2016 · 4 comments
Closed

Could some additional instructions be provided? #7

zimler opened this issue Jul 20, 2016 · 4 comments

Comments

@zimler
Copy link

zimler commented Jul 20, 2016

Hi!
I was able to build the gps-sdr-sim using Visual Studio, but I'm struggling to get this to build. I must be missing a small step. Any additional instructions would be very much appreciated, thanks!

@osqzss
Copy link
Owner

osqzss commented Jul 20, 2016

You can find the instructions to build the bladeRF library from the source with Visual Studio 2013 Express for Windows Desktop in the Nuand wiki page:
https://github.com/Nuand/bladeRF/wiki/Getting-Started%3A-Windows

Assume you already downloaded pthread and libusb files and successfully built the bladeRF library.

In order to build bladeGPS, you need to add the paths to the following folders in Configuration Properties -> C/C++ -> General -> Additional Include Directoris:

  1. “pthreads-w32-2-9-1-release/Pre-built.2/include” for pthread.h
  2. “bladeRF/include” for libbladeRF.h

You also need to add the paths to the following folders in Configuration Properties -> Linker -> General -> Additional Library Directories:

  1. “pthreads-w32-2-9-1-release/Pre-built.2/lib/x64” for pthreadVC2.lib
  2. “bladeRF/x64” for bladeRF.lib

For the link command, specify the name of the additional libraries in Configuration Properties -> Linker -> Input -> Additional Dependencies:

  1. pthreadVC2.lib
  2. bladeRF.lib

Basically that's it! Now you should be able to build the code. In order to execute bladeGPS, you need the following DLLs in the same folder:

  1. bladeRF.dll
  2. libusb-1.0.dll
  3. pthreadVC2.dll

Enjoy ;)

@osqzss
Copy link
Owner

osqzss commented Jul 21, 2016

Or you can try the latest release for Windows.

@zimler
Copy link
Author

zimler commented Jul 21, 2016

Wow! Thank you for taking the time to put those instructions together and then compiling it. I hope to have time tonight to try it out.

@zimler
Copy link
Author

zimler commented Jul 22, 2016

the precompiled release is working well, thank you! I will try the compiling another time.

@zimler zimler closed this as completed Jul 22, 2016
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

No branches or pull requests

2 participants