ScubaJungle
Active Member
I need some help with compiling programs on Windows. I have no experience coding, but I have come across a bunch of programs and tools that I would like to use for my SDR that only are available via source code.
I have downloaded visual studio, but after that I really dont know where to start. All the tutorials assume you know how to get to the point where they begin, which I dont.
One example is this program, called Kalibrate, which automatically calibrates your dongle ppm measurement.
1. I have the source code, and I have visual studio, as well as the commands - but where do I enter the commands, how do I know if I should use C++, python, etc.
2. Do I just paste the code into the compiler and press run? Here is the code provided on the github:
"kal uses the GNU Autoconf system and should be easily built on most *nix platforms. "
-what is the GNU autoconf system, and how do I use it?
3. Other ones tell you to enter commands such as:
"mkdir build-dir"
"cmake.."
"mkdir [OPTIONS] build-dir [file source]
-what do I enter for [OPTIONS]?
-when entering mkdir, or other commands, I will get an error stating invalid syntax.
So basically, what is a basic outline of the process I can follow, for example:
1. open visual studio
2. open appropriate "protocol"/type of compiler (C++,java,python)
3. enter these commands - ""
4. Press run/make/debug,etc
I can follow the directions once Im at the point of reaching them, but to get to them, what do I do, in terms of what I just listed^
Thanks
I have downloaded visual studio, but after that I really dont know where to start. All the tutorials assume you know how to get to the point where they begin, which I dont.
One example is this program, called Kalibrate, which automatically calibrates your dongle ppm measurement.
1. I have the source code, and I have visual studio, as well as the commands - but where do I enter the commands, how do I know if I should use C++, python, etc.
2. Do I just paste the code into the compiler and press run? Here is the code provided on the github:
"kal uses the GNU Autoconf system and should be easily built on most *nix platforms. "
-what is the GNU autoconf system, and how do I use it?
jl@thinkfoo:~/src$ cd kal-v0.4.1
jl@thinkfoo:~/src/kal-v0.4.1$ ./bootstrap && CXXFLAGS='-W -Wall -O3' ./configure && make
[...]
jl@thinkfoo:~/src/kal-v0.4.1$ src/kal -h
kalibrate v0.4.1, Copyright (c) 2010, Joshua Lackey
Usage:
GSM Base Station Scan:
kal <-s band indicator> [options]
Clock Offset Calculation:
kal <-f frequency | -c channel> [options]
Where options are:
-s band to scan (GSM850, GSM900, EGSM, DCS, PCS)
-f frequency of nearby GSM base station
-c channel of nearby GSM base station
-b band indicator (GSM850, GSM900, EGSM, DCS, PCS)
-R side A (0) or B (1), defaults to B
-A antenna TX/RX (0) or RX2 (1), defaults to RX2
-g gain as % of range, defaults to 45%
-F FPGA master clock frequency, defaults to 52MHz
-v verbose
-D enable debug messages
-h help
jl@thinkfoo:~/src/kal-v0.4.1$ src/kal -s 850
kal: Scanning for GSM-850 base stations.
GSM-850:
chan: 128 (869.2MHz - 13Hz) power: 9400.80
chan: 131 (869.8MHz + 7Hz) power: 4081.75
chan: 139 (871.4MHz + 10Hz) power: 2936.20
chan: 145 (872.6MHz - 7Hz) power: 33605.48
jl@thinkfoo:~/src/kal-v0.4.1$ src/kal -c 145
kal: Calculating clock frequency offset.
Using GSM-850 channel 145 (872.6MHz)
average [min, max] (range, stddev)
- 1Hz [-8, 7] (14, 3.948722)
overruns: 0
not found: 0
3. Other ones tell you to enter commands such as:
"mkdir build-dir"
"cmake.."
"mkdir [OPTIONS] build-dir [file source]
-what do I enter for [OPTIONS]?
-when entering mkdir, or other commands, I will get an error stating invalid syntax.
So basically, what is a basic outline of the process I can follow, for example:
1. open visual studio
2. open appropriate "protocol"/type of compiler (C++,java,python)
3. enter these commands - ""
4. Press run/make/debug,etc
I can follow the directions once Im at the point of reaching them, but to get to them, what do I do, in terms of what I just listed^
Thanks