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

Missing header on instructions #108

Open
coloboxp opened this issue Sep 18, 2021 · 1 comment
Open

Missing header on instructions #108

coloboxp opened this issue Sep 18, 2021 · 1 comment

Comments

@coloboxp
Copy link

I was following this instructions to install linhpsdr, however at the moment of executing make -j4, I encountered an error:

gcc -g -Wno-deprecated-declarations -O3 -D MIDI    -D CWDAEMON   -D GIT_DATE='"2021-02-25"' -D GIT_VERSION='"Beta"' `pkg-config --cflags gtk+-3.0`   -c -o alsa_midi.o alsa_midi.c
cwdaemon.c:32:10: fatal error: libcw.h: No such file or directory
   32 | #include <libcw.h>
      |          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:113: cwdaemon.o] Error 1
make: *** Waiting for unfinished jobs....

So, long story short, you need that header file as well, you can obtain it by:

sudo apt install libcw6-dev

tested and running on 20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 UTC 2021 x86_64 x86_64 GNU/Linux

@m5evt
Copy link
Contributor

m5evt commented Sep 23, 2021

I don't know what radio you are using, or your intended use, but I will make the following comment.

If you wish to use the features of libcw (cwdaemon - see 4.1.1 of https://github.com/m5evt/linhpsdr/blob/master/documentation/linhpsdr_hl2.pdf) then you need to get a newer version of libcw than that in most repos. I forked and made changes https://github.com/m5evt/unixcw-3.5.1. But these are now upstream in 3.6.0 https://sourceforge.net/projects/unixcw/files/

If you aren't using protocol 1 of an HPSDR radio that supports cwx, the best advice is to comment out CWDAEMON in the makefile. This was commented out by default until recently and would probably be best to be commented out again.

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