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

Compile error #23

Closed
ghost opened this issue Oct 20, 2019 · 2 comments
Closed

Compile error #23

ghost opened this issue Oct 20, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 20, 2019

In file included from include/Suscan/Analyzer.h:26,
from Suscan/Analyzer.cpp:23:
Suscan/Analyzer.cpp: In member function ‘void Suscan::Analyzer::setFrequency(double)’:
Suscan/Analyzer.cpp:120:59: error: too few arguments to function ‘int suscan_analyzer_set_freq(suscan_analyzer_t*, double, double)’
SU_ATTEMPT(suscan_analyzer_set_freq(this->instance, freq));
^
include/Suscan/Compat.h:29:9: note: in definition of macro ‘SU_ATTEMPT’
if (!(expr)) {
^~~~
In file included from /usr/local/include/suscan/analyzer/msg.h:31,
from include/Suscan/Message.h:27,
from include/Suscan/Analyzer.h:29,
from Suscan/Analyzer.cpp:23:
/usr/local/include/suscan/analyzer/analyzer.h:154:8: note: declared here
SUBOOL suscan_analyzer_set_freq(
^~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:1702: Analyzer.o] Error 1

@BatchDrake
Copy link
Owner

You seem to be compiling a pretty old version of SigDigger against a relatively recent version of suscan. Clone the latest SigDigger and SuWidgets from master and try again.

@ghost
Copy link
Author

ghost commented Oct 20, 2019

My bad, I guess I mixed up sources. Compiled, installed and running. Cheers!

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

1 participant