suscan icon indicating copy to clipboard operation
suscan copied to clipboard

When compiling suscan, it breaks with an error "...cli/cli.c:27:10: fatal error: suscan/suscan.h: No such file or directory"

Open daneelg opened this issue 3 months ago • 1 comments

When I tried compiling the SDRDigger project, I got to this step: make -j 4 -C suscan/build

which returned with the error: SIGDIGGER/blsd-dir/build-root/suscan/cli/cli.c:27:10: fatal error: suscan/suscan.h: No such file or directory

I modified the file suscan/cli/cli.c and changed #include <suscan/suscan.h> to #include <src/suscan.h> and it compiled OK.

daneelg avatar Nov 03 '25 03:11 daneelg

Hey, thanks for reporting! I am making some changes for an incoming release and I missed this one somehow before pushing the changes. I'll fix it ASAP.

Gonzalo José Carracedo Carballal

El lun, 3 nov 2025, 4:52, daneelg @.***> escribió:

daneelg created an issue (BatchDrake/suscan#103) https://github.com/BatchDrake/suscan/issues/103

When I tried compiling the SDRDigger project, I got to this step: make -j 4 -C suscan/build

which returned with the error: SIGDIGGER/blsd-dir/build-root/suscan/cli/cli.c:27:10: fatal error: suscan/suscan.h: No such file or directory

I modified the file suscan/cli/cli.c and changed #include <suscan/suscan.h> to #include <src/suscan.h> and it compiled OK.

— Reply to this email directly, view it on GitHub https://github.com/BatchDrake/suscan/issues/103, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVETYSTYYWGLVWPDHBHKL323GQPAVCNFSM6AAAAACK6DAURSVHI2DSMVQWIX3LMV43ASLTON2WKOZTGU4DANBUGYZTKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

BatchDrake avatar Nov 03 '25 06:11 BatchDrake

Hi, I have just modified cli.c to not depend neither on suscan/ nor src/ explicitly, can you trigger another build and tell me if it works?

Thanks

BatchDrake avatar Nov 05 '25 16:11 BatchDrake

It compiled everything OK now (using the blsd script).

daneelg avatar Nov 05 '25 16:11 daneelg

Cool, I'll close this issue then. Thanks!

BatchDrake avatar Nov 05 '25 16:11 BatchDrake