-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Compiling Error #2
Comments
Thanks for the submission. |
Yep, that solved it. Next issue though:
What I'm I doing wrong ? |
@jsa91 Still trying to figure out why this happens... |
While I was searching this issue, I realized that it might be about libusb or pipe-libusb sync. I got the same error and I ran the same command one more time. Here's the output:
After this, it worked fine. |
a7764da might solve the issue. |
This happens while running "make".
pi@raspberrypi:~/rtl_map/build $ cmake ../ -- Checking FFTW3... -- FFTW3 found! -- Checking RTL_SDR... -- RTL_SDR found! -- Configuring done -- Generating done -- Build files have been written to: /home/pi/rtl_map/build
pi@raspberrypi:~/rtl_map/build $ make [ 50%] Building C object CMakeFiles/rtl_map.dir/rtl_map.c.o /home/pi/rtl_map/rtl_map.c:53:15: error: initializer element is not constant _samp_rate = n_read * 4000, /*!< [ARG] Sample rate (optional) */ ^~~~~~ CMakeFiles/rtl_map.dir/build.make:62: recipe for target 'CMakeFiles/rtl_map.dir/rtl_map.c.o' failed make[2]: *** [CMakeFiles/rtl_map.dir/rtl_map.c.o] Error 1 CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/rtl_map.dir/all' failed make[1]: *** [CMakeFiles/rtl_map.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
Linux raspberrypi 4.14.90-v7+ #1183
The text was updated successfully, but these errors were encountered: